/libcore/luni/src/test/java/libcore/libcore/util/ |
D | FP16Test.java | 218 assertEquals(POSITIVE_INFINITY, FP16.rint(POSITIVE_INFINITY)); in testRint() 219 assertEquals(NEGATIVE_INFINITY, FP16.rint(NEGATIVE_INFINITY)); in testRint() 220 assertEquals(POSITIVE_ZERO, FP16.rint(POSITIVE_ZERO)); in testRint() 221 assertEquals(NEGATIVE_ZERO, FP16.rint(NEGATIVE_ZERO)); in testRint() 222 assertEquals(NaN, FP16.rint(NaN)); in testRint() 223 assertEquals(LOWEST_VALUE, FP16.rint(LOWEST_VALUE)); in testRint() 224 assertEquals(POSITIVE_ZERO, FP16.rint(MIN_VALUE)); in testRint() 225 assertEquals(POSITIVE_ZERO, FP16.rint((short) 0x200)); in testRint() 226 assertEquals(POSITIVE_ZERO, FP16.rint((short) 0x3ff)); in testRint() 227 assertEquals(POSITIVE_ZERO, FP16.rint(toHalf(0.2f))); in testRint() [all …]
|
/libcore/luni/src/test/resources/ |
D | math_java_only.csv | 153 rint,-0x1.8ec3beb2d4185p1023,-0x1.8ec3beb2d4185p1023 154 rint,-0x1.a49ea827e7d05p1023,-0x1.a49ea827e7d05p1023 155 rint,-0x1.47afe754a89fep1021,-0x1.47afe754a89fep1021 156 rint,-0x1.ea33b08c7fbfbp1022,-0x1.ea33b08c7fbfbp1022 157 rint,0x1.40c8f2c416881p1023,0x1.40c8f2c416881p1023 158 rint,-0x1.d2762c5e7c22bp1022,-0x1.d2762c5e7c22bp1022 159 rint,0x1.0c0c8b67b7daep1021,0x1.0c0c8b67b7daep1021 160 rint,-0x1.800e50b80ea85p1023,-0x1.800e50b80ea85p1023 161 rint,0x1.ccf6eeb86909cp1020,0x1.ccf6eeb86909cp1020 162 rint,-0x1.6d6d5ccb7231fp1022,-0x1.6d6d5ccb7231fp1022 [all …]
|
/libcore/ojluni/src/main/native/ |
D | Math.c | 141 return rint(d); in Math_rint() 162 FAST_NATIVE_METHOD(Math, rint, "(D)D"),
|
D | fdlibm.h | 183 extern double rint __P((double));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidStrictMathTest.java | 436 3.0, StrictMath.rint(2.9), 0D); in testRintD() 438 .rint(Double.NaN))); in testRintD() 440 .rint(2.1), 0D); in testRintD() 442 .rint(2.5) == 2.0); in testRintD()
|
D | OldAndroidMathTest.java | 461 3.0, Math.rint(2.9), 0D); in testRintD() 463 .rint(Double.NaN))); in testRintD() 465 2.0, Math.rint(2.1), 0D); in testRintD() 467 .rint(2.5) == 2.0); in testRintD()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 437 public static double rint(double a) { in rint() method in StrictMath
|
D | Math.java | 465 public static native double rint(double a); in rint() method in Math
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | MathTest.java | 1398 3.0, Math.rint(2.9), 0D); in test_rintD() 1400 .rint(Double.NaN))); in test_rintD() 1402 2.0, Math.rint(2.1), 0D); in test_rintD() 1404 .rint(2.5) == 2.0); in test_rintD() 1406 Math.rint(+0.0d) == +0.0d); in test_rintD() 1408 Math.rint(-0.0d) == -0.0d); in test_rintD()
|
D | StrictMathTest.java | 964 3.0, StrictMath.rint(2.9), 0D); in test_rintD() 966 .rint(Double.NaN))); in test_rintD() 968 .rint(2.1), 0D); in test_rintD() 970 .rint(2.5) == 2.0); in test_rintD()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 293 StrictMath.rint(d); in timeRint()
|
D | MathBenchmark.java | 357 result = Math.rint(d); in timeRint()
|
/libcore/luni/src/main/java/libcore/util/ |
D | FP16.java | 336 public static short rint(short h) { in rint() method in FP16
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | SelectFunctionalityTest.java | 510 res = (int) Math.rint(resDouble); in func()
|
/libcore/mmodules/core_platform_api/api/legacy_platform/ |
D | current.txt | 675 method public static short rint(short);
|
/libcore/mmodules/core_platform_api/api/stable_platform/ |
D | current.txt | 675 method public static short rint(short);
|
/libcore/api/ |
D | module-lib-current.txt | 675 method public static short rint(short);
|
D | current.txt | 3340 method public static double rint(double); 3719 method public static double rint(double);
|