/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ |
D | ddAbs.decTest | 29 ddabs001 abs '1' -> '1' 30 ddabs002 abs '-1' -> '1' 31 ddabs003 abs '1.00' -> '1.00' 32 ddabs004 abs '-1.00' -> '1.00' 33 ddabs005 abs '0' -> '0' 34 ddabs006 abs '0.00' -> '0.00' 35 ddabs007 abs '00.0' -> '0.0' 36 ddabs008 abs '00.00' -> '0.00' 37 ddabs009 abs '00' -> '0' 39 ddabs010 abs '-2' -> '2' [all …]
|
D | dqAbs.decTest | 29 dqabs001 abs '1' -> '1' 30 dqabs002 abs '-1' -> '1' 31 dqabs003 abs '1.00' -> '1.00' 32 dqabs004 abs '-1.00' -> '1.00' 33 dqabs005 abs '0' -> '0' 34 dqabs006 abs '0.00' -> '0.00' 35 dqabs007 abs '00.0' -> '0.0' 36 dqabs008 abs '00.00' -> '0.00' 37 dqabs009 abs '00' -> '0' 39 dqabs010 abs '-2' -> '2' [all …]
|
D | abs.decTest | 2 -- abs.decTest -- decimal absolute value -- 32 absx001 abs '1' -> '1' 33 absx002 abs '-1' -> '1' 34 absx003 abs '1.00' -> '1.00' 35 absx004 abs '-1.00' -> '1.00' 36 absx005 abs '0' -> '0' 37 absx006 abs '0.00' -> '0.00' 38 absx007 abs '00.0' -> '0.0' 39 absx008 abs '00.00' -> '0.00' 40 absx009 abs '00' -> '0' [all …]
|
D | testall.decTest | 25 dectest: abs
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_cmath.py | 101 absolute_error = abs(b-a) 109 if absolute_error <= max(abs_err, rel_err * abs(a)): 327 actual = complex(abs(actual.real), actual.imag) 328 expected = complex(abs(expected.real), expected.imag) 330 actual = complex(actual.real, abs(actual.imag)) 331 expected = complex(expected.real, abs(expected.imag)) 356 if abs(a[0] - b[0]) > eps or abs(a[1] - b[1]) > eps: 410 self.assertEqual(abs(z), 0.0) 414 self.assertEqual(abs(z), INF) 417 self.assertEqual(abs(complex(NAN, -INF)), INF) [all …]
|
D | test_long_future.py | 27 a, b = abs(a), abs(b) 103 if skip_small and max(abs(a), abs(b)) < 2**DBL_MANT_DIG:
|
D | test_timeout.py | 125 _delta = abs(_t1 - _t2) 142 _delta = abs(_t1 - _t2) 159 _delta = abs(_t1 - _t2) 176 _delta = abs(_t1 - _t2)
|
D | double_const.py | 23 diff = abs(x - x2)
|
D | test_ossaudiodev.py | 79 self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time) 86 percent_diff = (abs(elapsed_time - expected_time) / expected_time) * 100
|
D | test_builtin.py | 79 self.assertEqual(abs(0), 0) 80 self.assertEqual(abs(1234), 1234) 81 self.assertEqual(abs(-1234), 1234) 82 self.assertTrue(abs(-sys.maxint-1) > 0) 84 self.assertEqual(abs(0.0), 0.0) 85 self.assertEqual(abs(3.14), 3.14) 86 self.assertEqual(abs(-3.14), 3.14) 88 self.assertEqual(abs(0L), 0L) 89 self.assertEqual(abs(1234L), 1234L) 90 self.assertEqual(abs(-1234L), 1234L) [all …]
|
D | test_complex.py | 31 if abs(x) > abs(y): 34 return abs(x) < eps 36 return abs(y) < eps 38 self.assertTrue(abs((x-y)/y) < eps) 448 self.assertAlmostEqual((num.real**2 + num.imag**2) ** 0.5, abs(num))
|
D | test_math.py | 58 if abs(ulps_error) <= ulps: 76 permitted_error = max(abs_err, rel_err * abs(expected)) 77 if abs(error) < permitted_error: 134 if abs(value-expected) > eps: 325 self.assertEqual(abs(math.copysign(2., NAN)), 2.) 444 if abs(mant-emant) > eps or exp != eexp: 496 tail = max(len(bin(abs(tmant)))-2 - mant_dig, etiny - texp) 630 if abs(v1-e1) > eps or abs(v2-e2):
|
D | test_bool.py | 65 self.assertEqual(abs(False), 0) 66 self.assertIsNot(abs(False), False) 70 self.assertEqual(abs(True), 1) 71 self.assertIsNot(abs(True), True)
|
D | sortperf.py | 126 L = map(abs, [-0.5] * n)
|
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/ |
D | Xabs.c | 21 abs(int j) in abs() function
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
D | Complex.py | 171 abs = radius = __abs__ variable in Complex 218 r = pow(self.abs(), n) 241 ok = abs(result - value) <= fuzz 243 print '!!\t!!\t!! should be', value, 'diff', abs(result - value)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | filecmp.py | 267 def _cmp(a, b, sh, abs=abs, cmp=cmp): argument 269 return not abs(cmp(a, b, sh))
|
D | ntpath.py | 487 abs = abspath(normpath(path)) 488 prefix, rest = splitunc(abs) 491 prefix, rest = splitdrive(abs)
|
D | fractions.py | 256 if abs(bound2 - self) <= abs(bound1-self): 499 return Fraction(abs(a._numerator), a._denominator)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | client.py | 108 aid = abs(id) 116 arid = abs(rid)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
D | ntpath.py | 492 abs = abspath(normpath(path)) 493 prefix, rest = splitunc(abs) 496 prefix, rest = splitdrive(abs)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
D | ntpath.py | 522 abs = abspath(normpath(path)) 523 prefix, rest = splitunc(abs) 526 prefix, rest = splitdrive(abs)
|
/device/google/dragon/audio/hal/dsp/tests/ |
D | plot_fftl.m | 26 semilogx(NQ*(1:K)/K, 20*log10(abs(fr)));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | imageop.c | 139 nlen = (abs(newx2-newx1)+1)*(abs(newy2-newy1)+1)*size; in imageop_crop() 140 …if ( !check_multiply_size(nlen, abs(newx2-newx1)+1, "abs(newx2-newx1)+1", abs(newy2-newy1)+1, "abs… in imageop_crop()
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | stdlib.h | 312 int abs(int j);
|