Home
last modified time | relevance | path

Searched refs:ulp (Results 1 – 18 of 18) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DStrictMathTest.java956 assertEquals(Double.MAX_VALUE, halfMax - StrictMath.ulp(halfMax) in test_scalb_DI()
960 .ulp(1.0), Double.MAX_EXPONENT + 1)); in test_scalb_DI()
962 1.0 - StrictMath.ulp(1.0), Double.MAX_EXPONENT + 2)); in test_scalb_DI()
966 assertEquals(-Double.MAX_VALUE, halfMax + StrictMath.ulp(halfMax) in test_scalb_DI()
1110 assertEquals(Float.MAX_VALUE, halfMax - StrictMath.ulp(halfMax) in test_scalb_FI()
1114 .ulp(1.0f), Float.MAX_EXPONENT + 1)); in test_scalb_FI()
1116 1.0f - StrictMath.ulp(1.0f), Float.MAX_EXPONENT + 2)); in test_scalb_FI()
1120 assertEquals(-Float.MAX_VALUE, halfMax + StrictMath.ulp(halfMax) in test_scalb_FI()
1425 .isNaN(StrictMath.ulp(Double.NaN))); in test_ulp_D()
1427 StrictMath.ulp(Double.POSITIVE_INFINITY), 0D); in test_ulp_D()
[all …]
DMathTest.java1370 assertEquals(Double.MAX_VALUE, halfMax - Math.ulp(halfMax) + halfMax); in test_scalb_DI()
1372 assertEquals(1.7976931348623155E308, Math.scalb(1.0 - Math.ulp(1.0), in test_scalb_DI()
1374 assertEquals(Double.POSITIVE_INFINITY, Math.scalb(1.0 - Math.ulp(1.0), in test_scalb_DI()
1379 assertEquals(-Double.MAX_VALUE, halfMax + Math.ulp(halfMax) + halfMax); in test_scalb_DI()
1523 assertEquals(Float.MAX_VALUE, halfMax - Math.ulp(halfMax) + halfMax); in test_scalb_FI()
1525 assertEquals(3.4028233E38f, Math.scalb(1.0f - Math.ulp(1.0f), in test_scalb_FI()
1527 assertEquals(Float.POSITIVE_INFINITY, Math.scalb(1.0f - Math.ulp(1.0f), in test_scalb_FI()
1532 assertEquals(-Float.MAX_VALUE, halfMax + Math.ulp(halfMax) + halfMax); in test_scalb_FI()
1826 assertTrue("Should return NaN", Double.isNaN(Math.ulp(Double.NaN))); in test_ulp_D()
1828 .ulp(Double.POSITIVE_INFINITY), 0D); in test_ulp_D()
[all …]
/external/v8/test/mjsunit/
Dmath-round.js134 var ulp = Math.pow(2, -1022 - 52); variable
135 var max_denormal = (Math.pow(2, 52) - 1) * ulp;
146 testRound(0, ulp);
160 testRound(-0, -ulp);
/external/ipsec-tools/src/racoon/
Dpolicy.h112 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _priority, _created, idx) \ argument
118 (idx)->ul_proto = (ulp); \
125 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _created, idx) \ argument
131 (idx)->ul_proto = (ulp); \
/external/ipsec-tools/src/libipsec/
Dpfkey_dump.c695 str_prefport(family, pref, port, ulp) in str_prefport() argument
696 u_int family, pref, port, ulp; in str_prefport()
719 if (ulp == IPPROTO_ICMPV6)
734 str_upperspec(ulp, p1, p2) in str_upperspec() argument
735 u_int ulp, p1, p2; in str_upperspec()
737 if (ulp == IPSEC_ULPROTO_ANY)
739 else if (ulp == IPPROTO_ICMPV6) {
746 switch (ulp) {
751 ent = getprotobynumber((int)ulp);
755 printf("%u", ulp);
/external/fdlibm/
Dchanges64 2. k_tan.c error was > 1 ulp target for FDLIBM
65 5.2: Worst error at least 1.45 ulp at
67 5.3: Worst error 0.96 ulp
Dreadme25 2. k_tan.c error was > 1 ulp target for FDLIBM
26 5.2: Worst error at least 1.45 ulp at
28 5.3: Worst error 0.96 ulp
44 assumptions below), reference quality (below one ulp for
/external/kernel-headers/original/linux/
Dif_hippi.h82 __u8 ulp; /* must contain 4 */
/external/chromium/base/third_party/dmg_fp/
Ddtoa.cc1153 ulp
2383 dval(rv) += 2.*ulp(rv);
2400 dval(rv) -= ulp(rv);
2405 dval(rv) += ulp(rv);
3037 dval(&rv) += adj.d*ulp(dval(&rv));
3043 dval(&rv) += adj.d*ulp(&rv);
3066 adj.d *= ulp(dval(&rv));
3076 adj.d *= ulp(&rv);
3198 dval(&rv) += ulp(&rv);
3201 dval(&rv) -= ulp(&rv);
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java394 assertTrue(Math.abs(dmLog2 - trueLog2) <= Math.ulp(trueLog2));
461 assertEquals(actual, result, Math.ulp(actual));
/external/webkit/Source/JavaScriptCore/wtf/
Ddtoa.cpp616 static double ulp(U *x) in ulp() function
1091 dval(&rv) += ulp(&rv); in strtod()
1093 dval(&rv) -= ulp(&rv); in strtod()
1129 adj.d = aadj1 * ulp(&rv); in strtod()
1151 adj.d = aadj1 * ulp(&rv); in strtod()
/external/proguard/src/proguard/gui/
Ddefault.pro83 public static double ulp(double);
84 public static float ulp(float);
Dboilerplate.pro144 public static double ulp(double);
145 public static float ulp(float);
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalArithmeticTest.java1589 BigDecimal result = aNumber.ulp(); in testUlpPos()
1603 BigDecimal result = aNumber.ulp(); in testUlpNeg()
1617 BigDecimal result = aNumber.ulp(); in testUlpZero()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2008-08-1017709 (KJS::ulp):
18633 (Bigint::ulp):
DChangeLog-2011-02-1615346 (WTF::ulp):
DChangeLog-2009-06-169228 (WTF::ulp):
/external/webkit/PerformanceTests/Parser/resources/
Dfinal-url-en21214 http://www.ahrq.gov/news/ulp/indinsurancetele/indinsurtran1.htm
21215 http://www.ahrq.gov/news/ulp/safety/ulpsfty4.htm