Searched refs:hypot (Results 1 - 12 of 12) sorted by relevance

/libcore/ojluni/src/main/native/
H A Djfdlibm.h60 #define hypot jhypot macro
H A DMath.c119 return hypot(x, y);
160 NATIVE_METHOD(Math, hypot, "!(DD)D"),
H A Dfdlibm.h147 extern double hypot __P((double, double));
H A DStrictMath.c177 NATIVE_METHOD(StrictMath, hypot, "(DD)D"),
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMathTest.java232 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 DOldAndroidStrictMathTest.java228 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 DStrictMathTest.java448 * 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 DMathTest.java493 * 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 DStrictMath.java58 * {@code hypot}, {@code expm1}, and {@code log1p}.
1336 public static native double hypot(double x, double y); method in class:StrictMath
H A DMath.java1567 public static native double hypot(double x, double y); method in class:Math
/libcore/benchmarks/src/benchmarks/regression/
H A DStrictMathBenchmark.java179 StrictMath.hypot(d, d);
H A DMathBenchmark.java205 result = Math.hypot(d, d);

Completed in 85 milliseconds