/external/python/cpython2/Lib/test/ |
D | test_math.py | 15 NINF = float('-inf') variable 152 self.assertRaises(ValueError, math.acos, NINF) 162 self.assertRaises(ValueError, math.acosh, NINF) 171 self.assertRaises(ValueError, math.asin, NINF) 180 self.assertEqual(math.asinh(NINF), NINF) 189 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2) 200 self.assertRaises(ValueError, math.atanh, NINF) 212 self.ftest('atan2(0., -inf)', math.atan2(0., NINF), math.pi) 220 self.ftest('atan2(-0., -inf)', math.atan2(-0., NINF), -math.pi) 228 self.ftest('atan2(inf, -inf)', math.atan2(INF, NINF), math.pi*3/4) [all …]
|
D | ieee754.txt | 26 >>> NINF = float('-inf') 31 >>> NINF 38 >>> isinf(INF), isinf(NINF), isnan(NAN) 40 >>> INF == -NINF 133 >>> sin(NINF) 143 >>> cos(NINF) 153 >>> tan(NINF) 171 >>> asin(INF), asin(NINF) 175 >>> acos(INF), acos(NINF) 179 >>> equal(atan(INF), PI/2), equal(atan(NINF), -PI/2)
|
/external/python/cpython3/Lib/test/ |
D | test_math.py | 20 NINF = float('-inf') variable 264 self.assertRaises(ValueError, math.acos, NINF) 276 self.assertRaises(ValueError, math.acosh, NINF) 285 self.assertRaises(ValueError, math.asin, NINF) 296 self.assertEqual(math.asinh(NINF), NINF) 305 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2) 316 self.assertRaises(ValueError, math.atanh, NINF) 328 self.ftest('atan2(0., -inf)', math.atan2(0., NINF), math.pi) 336 self.ftest('atan2(-0., -inf)', math.atan2(-0., NINF), -math.pi) 344 self.ftest('atan2(inf, -inf)', math.atan2(INF, NINF), math.pi*3/4) [all …]
|
D | ieee754.txt | 26 >>> NINF = float('-inf') 31 >>> NINF 38 >>> isinf(INF), isinf(NINF), isnan(NAN) 40 >>> INF == -NINF 133 >>> sin(NINF) 143 >>> cos(NINF) 153 >>> tan(NINF) 171 >>> asin(INF), asin(NINF) 175 >>> acos(INF), acos(NINF) 179 >>> equal(atan(INF), PI/2), equal(atan(NINF), -PI/2)
|
/external/fonttools/Tests/misc/ |
D | py23_test.py | 256 NINF = float('-inf') variable 326 self.assertIsClose(NINF, NINF) 327 self.assertIsClose(NINF, NINF, abs_tol=0.0) 337 (INF, NINF),
|
/external/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/ |
D | cos.ll | 28 ; CHECK-NEXT: [[NINF:%.*]] = call half @llvm.amdgcn.cos.f16(half 0xHFC00) 29 ; CHECK-NEXT: store volatile half [[NINF]], half* [[P]], align 2 91 ; CHECK-NEXT: [[NINF:%.*]] = call float @llvm.amdgcn.cos.f32(float 0xFFF0000000000000) 92 ; CHECK-NEXT: store volatile float [[NINF]], float* [[P]], align 4 154 ; CHECK-NEXT: [[NINF:%.*]] = call double @llvm.amdgcn.cos.f64(double 0xFFF0000000000000) 155 ; CHECK-NEXT: store volatile double [[NINF]], double* [[P]], align 8
|
D | sin.ll | 28 ; CHECK-NEXT: [[NINF:%.*]] = call half @llvm.amdgcn.sin.f16(half 0xHFC00) 29 ; CHECK-NEXT: store volatile half [[NINF]], half* [[P]], align 2 91 ; CHECK-NEXT: [[NINF:%.*]] = call float @llvm.amdgcn.sin.f32(float 0xFFF0000000000000) 92 ; CHECK-NEXT: store volatile float [[NINF]], float* [[P]], align 4 154 ; CHECK-NEXT: [[NINF:%.*]] = call double @llvm.amdgcn.sin.f64(double 0xFFF0000000000000) 155 ; CHECK-NEXT: store volatile double [[NINF]], double* [[P]], align 8
|
/external/llvm-project/libclc/generic/lib/math/ |
D | math.h | 32 #define NINF 0x004 macro
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | unary_ops_test.py | 268 [[np.NINF, -2, -1, 0, 0.5, 1, 2, np.inf, np.nan]], dtype=dtype), 860 [[np.NINF, -2, -1, 0, 0.5, 1, 2, np.inf, np.nan]], dtype=dtype), 865 [[np.NINF, -2, -1, 0, 0.5, 1, 2, np.inf, np.nan]], dtype=dtype),
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_grad_test.py | 471 x_vals = [0, 1.0, np.nan, np.inf, np.NINF]
|
D | math_ops_test.py | 615 values = [0, 1, np.nan, np.inf, np.NINF]
|
/external/libxml2/ |
D | ChangeLog | 15927 * include/libxml/xpath.h: exported xmlXPath{NAN,PINF,NINF}
|