Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidStrictMathTest.java228 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.POSITIVE_INFINITY, in testHypotDD()
231 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, in testHypotDD()
234 Double.POSITIVE_INFINITY, StrictMath.hypot(-758.2587, in testHypotDD()
237 Double.POSITIVE_INFINITY, StrictMath.hypot(5687.21, in testHypotDD()
240 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.POSITIVE_INFINITY, in testHypotDD()
243 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, in testHypotDD()
245 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(Double.NaN, in testHypotDD()
247 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(-345.2680, in testHypotDD()
251 .hypot(12322.12, -2396393.2258)); in testHypotDD()
253 StrictMath.hypot(-138.16951162, 0.13817035864)); in testHypotDD()
[all …]
DOldAndroidMathTest.java272 Double.POSITIVE_INFINITY, Math.hypot(Double.POSITIVE_INFINITY, in testHypotDD()
275 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, in testHypotDD()
278 Double.POSITIVE_INFINITY, Math.hypot(-758.2587, in testHypotDD()
281 Double.POSITIVE_INFINITY, Math.hypot(5687.21, in testHypotDD()
284 Double.POSITIVE_INFINITY, Math.hypot(Double.POSITIVE_INFINITY, in testHypotDD()
287 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, in testHypotDD()
289 assertTrue("Should be NaN", Double.isNaN(Math.hypot(Double.NaN, in testHypotDD()
291 assertTrue("Should be NaN", Double.isNaN(Math.hypot(-345.2680, in testHypotDD()
295 .hypot(12322.12, -2396393.2258), 0D); in testHypotDD()
297 Math.hypot(-138.16951162, 0.13817035864), 0D); in testHypotDD()
[all …]
/libcore/luni/src/test/resources/
Dmath_java_only.csv2333 hypot,0x1.8017a82d3363ep-3,0x1.035c9512d358dp-3,-0x1.1b4ca1504820ep-3
2334 hypot,0x1.bd197423d6635p0,-0x1.3179605bcd7dcp0,-0x1.43ba11665365cp0
2335 hypot,0x1.8aeac7c229b6p0,0x1.4fe074e3fd676p-1,-0x1.656e15ef969b7p0
2336 hypot,0x1.3580d43a93011p0,0x1.db8918b2fdcd8p-1,0x1.8c46c14d5afd9p-1
2337 hypot,0x1.373c78d07e52ep2,0x1.3641d487af99ap2,0x1.8aae0a08413d2p-2
2338 hypot,0x1.ad5fee98eb29bp-1,-0x1.accbc0217cb2p-1,0x1.649a1fcc0c4cbp-5
2339 hypot,0x1.7f5068cf4051bp1,-0x1.51fcf9b757d42p-3,-0x1.7ebb48fe34bf4p1
2340 hypot,0x1.58bc792d25202p2,-0x1.583c47afb2afep2,0x1.29307fc5a7ce2p-2
2341 hypot,0x1.53d3ad09df1fp1,0x1.073cf82be91edp1,-0x1.add3e494d4037p0
2342 hypot,0x1.016262e6307c2p1,0x1.28b80cd44885ep0,-0x1.a4a5da3ce316cp0
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java454 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.POSITIVE_INFINITY, in test_hypot_DD()
457 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, in test_hypot_DD()
460 Double.POSITIVE_INFINITY, StrictMath.hypot(-758.2587, in test_hypot_DD()
463 Double.POSITIVE_INFINITY, StrictMath.hypot(5687.21, in test_hypot_DD()
466 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.POSITIVE_INFINITY, in test_hypot_DD()
469 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, in test_hypot_DD()
471 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(Double.NaN, in test_hypot_DD()
473 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(-345.2680, in test_hypot_DD()
477 .hypot(12322.12, -2396393.2258)); in test_hypot_DD()
479 StrictMath.hypot(-138.16951162, 0.13817035864)); in test_hypot_DD()
[all …]
DMathTest.java498 Double.POSITIVE_INFINITY, Math.hypot(Double.POSITIVE_INFINITY, in test_hypot_DD()
501 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, in test_hypot_DD()
504 Double.POSITIVE_INFINITY, Math.hypot(-758.2587, in test_hypot_DD()
507 Double.POSITIVE_INFINITY, Math.hypot(5687.21, in test_hypot_DD()
510 Double.POSITIVE_INFINITY, Math.hypot(Double.POSITIVE_INFINITY, in test_hypot_DD()
513 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, in test_hypot_DD()
515 assertTrue("Should be NaN", Double.isNaN(Math.hypot(Double.NaN, in test_hypot_DD()
517 assertTrue("Should be NaN", Double.isNaN(Math.hypot(-345.2680, in test_hypot_DD()
521 .hypot(12322.12, -2396393.2258), 0D); in test_hypot_DD()
523 Math.hypot(-138.16951162, 0.13817035864), 0D); in test_hypot_DD()
[all …]
/libcore/ojluni/src/main/native/
Djfdlibm.h60 #define hypot jhypot macro
Dfdlibm.h147 extern double hypot __P((double, double));
DStrictMath.c177 NATIVE_METHOD(StrictMath, hypot, "(DD)D"),
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java1423 public static native double hypot(double x, double y); in hypot() method in StrictMath
DMath.java1833 public static native double hypot(double x, double y); in hypot() method in Math
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java179 StrictMath.hypot(d, d); in timeHypot()
DMathBenchmark.java205 result = Math.hypot(d, d); in timeHypot()