Home
last modified time | relevance | path

Searched refs:copySign (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/resources/
Dmath_java_only.csv2133 copySign,-0x1.f0df8a466700bp1,-0x1.f0df8a466700bp1,-0x1.6e938e3732539p-1
2134 copySign,-0x1.58e4f34672f61p4,0x1.58e4f34672f61p4,-0x1.27d6a2e67009cp-1
2135 copySign,-0x1.f4b9bf237c55fp0,-0x1.f4b9bf237c55fp0,-0x1.37c0ebff02017p0
2136 copySign,-0x1.59f3d2a9fe64ap2,-0x1.59f3d2a9fe64ap2,-0x1.2669d7ca6a8d6p0
2137 copySign,-0x1.c46d4baa04314p-2,-0x1.c46d4baa04314p-2,-0x1.5d0597ad91f24p-2
2138 copySign,0x1.27953254ab2d4p0,-0x1.27953254ab2d4p0,0x1.cf0f007876816p-1
2139 copySign,-0x1.ee50997f5ec0cp-2,0x1.ee50997f5ec0cp-2,-0x1.1fe2c0d6e4b9bp-1
2140 copySign,0x1.3318225589ce5p1,0x1.3318225589ce5p1,0x1.8013386023341p1
2141 copySign,0x1.836934e49ccf1p-1,-0x1.836934e49ccf1p-1,0x1.23098c339673cp1
2142 copySign,-0x1.a76ccea1e588ap0,-0x1.a76ccea1e588ap0,-0x1.1bf459b597376p-1
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java194 .copySign(magnitude, Double.NaN))); in test_copySign_DD()
196 .copySign(Double.NaN, magnitude))); in test_copySign_DD()
201 .copySign(magnitude, sign)); in test_copySign_DD()
218 .copySign(Double.NaN, Double.NaN))); in test_copySign_DD()
221 StrictMath.copySign((Double) null, 2.3); in test_copySign_DD()
227 StrictMath.copySign(2.3, (Double) null); in test_copySign_DD()
233 StrictMath.copySign((Double) null, (Double) null); in test_copySign_DD()
240 assertEquals(1.0, StrictMath.copySign(1.0, d), 0d); in test_copySign_DD()
258 absMagnitudeBits, Float.floatToIntBits(StrictMath.copySign( in test_copySign_FF()
261 .copySign(Float.NaN, magnitude))); in test_copySign_FF()
[all …]
DMathTest.java177 absMagnitudeBits, Double.doubleToLongBits(Math.copySign( in test_copySign_DD()
179 assertTrue("The result should be NaN.", Double.isNaN(Math.copySign( in test_copySign_DD()
184 final long resultBits = Double.doubleToLongBits(Math.copySign( in test_copySign_DD()
201 assertTrue("The result should be NaN.", Double.isNaN(Math.copySign( in test_copySign_DD()
205 Math.copySign((Double) null, 2.3); in test_copySign_DD()
211 Math.copySign(2.3, (Double) null); in test_copySign_DD()
217 Math.copySign((Double) null, (Double) null); in test_copySign_DD()
249 absMagnitudeBits, Float.floatToIntBits(Math.copySign( in test_copySign_FF()
251 assertTrue("The result should be NaN.", Float.isNaN(Math.copySign( in test_copySign_FF()
256 final int resultBits = Float.floatToIntBits(Math.copySign( in test_copySign_FF()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DMathBenchmark.java121 result = Math.copySign(d, d); in timeCopySignD()
129 result = Math.copySign(f, f); in timeCopySignF()
137 result = StrictMath.copySign(d, d); in timeCopySignD_strict()
145 result = StrictMath.copySign(f, f); in timeCopySignF_strict()
DStrictMathBenchmark.java95 StrictMath.copySign(d, d); in timeCopySignD()
101 StrictMath.copySign(f, f); in timeCopySignF()
/libcore/luni/src/main/java/java/lang/
DStrictMath.java927 public static double copySign(double magnitude, double sign) { in copySign() method in StrictMath
944 public static float copySign(float magnitude, float sign) { in copySign() method in StrictMath
DMath.java1008 public static double copySign(double magnitude, double sign) { in copySign() method in Math
1021 public static float copySign(float magnitude, float sign) { in copySign() method in Math