/libcore/ojluni/src/main/native/ |
H A D | jfdlibm.h | 60 #define hypot jhypot macro
|
H A D | Math.c | 119 return hypot(x, y); 160 NATIVE_METHOD(Math, hypot, "!(DD)D"),
|
H A D | fdlibm.h | 147 extern double hypot __P((double, double));
|
H A D | StrictMath.c | 177 NATIVE_METHOD(StrictMath, hypot, "(DD)D"),
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldAndroidMathTest.java | 232 Double.POSITIVE_INFINITY, Math.hypot(Double.POSITIVE_INFINITY, 235 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, 238 Double.POSITIVE_INFINITY, Math.hypot(-758.2587, 241 Double.POSITIVE_INFINITY, Math.hypot(5687.21, 244 Double.POSITIVE_INFINITY, Math.hypot(Double.POSITIVE_INFINITY, 247 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, 249 assertTrue("Should be NaN", Double.isNaN(Math.hypot(Double.NaN, 251 assertTrue("Should be NaN", Double.isNaN(Math.hypot(-345.2680, 255 .hypot(12322.12, -2396393.2258), 0D); 257 Math.hypot( [all...] |
H A D | OldAndroidStrictMathTest.java | 228 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.POSITIVE_INFINITY, 231 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, 234 Double.POSITIVE_INFINITY, StrictMath.hypot(-758.2587, 237 Double.POSITIVE_INFINITY, StrictMath.hypot(5687.21, 240 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.POSITIVE_INFINITY, 243 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, 245 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(Double.NaN, 247 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(-345.2680, 251 .hypot(12322.12, -2396393.2258)); 253 StrictMath.hypot( [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | StrictMathTest.java | 448 * java.lang.StrictMath#hypot(double, double) 454 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.POSITIVE_INFINITY, 457 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, 460 Double.POSITIVE_INFINITY, StrictMath.hypot(-758.2587, 463 Double.POSITIVE_INFINITY, StrictMath.hypot(5687.21, 466 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.POSITIVE_INFINITY, 469 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, 471 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(Double.NaN, 473 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(-345.2680, 477 .hypot(12322.1 [all...] |
H A D | MathTest.java | 493 * java.lang.Math#hypot(double, double) 498 Double.POSITIVE_INFINITY, Math.hypot(Double.POSITIVE_INFINITY, 501 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, 504 Double.POSITIVE_INFINITY, Math.hypot(-758.2587, 507 Double.POSITIVE_INFINITY, Math.hypot(5687.21, 510 Double.POSITIVE_INFINITY, Math.hypot(Double.POSITIVE_INFINITY, 513 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, 515 assertTrue("Should be NaN", Double.isNaN(Math.hypot(Double.NaN, 517 assertTrue("Should be NaN", Double.isNaN(Math.hypot(-345.2680, 521 .hypot(12322.1 [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | StrictMath.java | 58 * {@code hypot}, {@code expm1}, and {@code log1p}. 1336 public static native double hypot(double x, double y); method in class:StrictMath
|
H A D | Math.java | 1567 public static native double hypot(double x, double y); method in class:Math
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | StrictMathBenchmark.java | 179 StrictMath.hypot(d, d);
|
H A D | MathBenchmark.java | 205 result = Math.hypot(d, d);
|