Home
last modified time | relevance | path

Searched refs:dval (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/native/
DObjectOutputStream.c134 jdouble dval; in Java_java_io_ObjectOutputStream_doublesToBytes() local
164 dval = doubles[srcpos]; in Java_java_io_ObjectOutputStream_doublesToBytes()
165 if (JVM_IsNaN((double) dval)) { /* collapse NaNs */ in Java_java_io_ObjectOutputStream_doublesToBytes()
169 jdouble_to_jlong_bits(&dval); in Java_java_io_ObjectOutputStream_doublesToBytes()
170 u.d = (double) dval; in Java_java_io_ObjectOutputStream_doublesToBytes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DMathTest.java1147 double dval = values[x]; in test_powDD() local
1148 double nagateDval = negateDouble(dval); in test_powDD()
1155 assertEquals("Result should be Math.pow(" + dval in test_powDD()
1156 + ",-0.0)=+1.0", 1.0, Math.pow(dval, NZERO)); in test_powDD()
1159 assertEquals("Result should be Math.pow(" + dval in test_powDD()
1160 + ",+0.0)=+1.0", 1.0, Math.pow(dval, +0.0)); in test_powDD()
1166 assertEquals("Result should be Math.pow(" + dval + "," + 1.0 + ")=" in test_powDD()
1167 + dval, dval, Math.pow(dval, 1.0)); in test_powDD()
1172 assertEquals("Result should be Math.pow(" + dval + "," + Double.NaN in test_powDD()
1173 + ")=" + Double.NaN, Double.NaN, Math.pow(dval, Double.NaN)); in test_powDD()
[all …]
/libcore/ojluni/src/main/java/sun/misc/
DFormattedFloatingDecimal.java216 doubleToBigInt( double dval ){ in doubleToBigInt() argument
217 long lbits = Double.doubleToLongBits( dval ) & ~signMask; in doubleToBigInt()
250 private static double ulp( double dval, boolean subtracting ){ in ulp() argument
251 long lbits = Double.doubleToLongBits( dval ) & ~signMask; in ulp()
281 stickyRound( double dval ){ in stickyRound() argument
282 long lbits = Double.doubleToLongBits( dval ); in stickyRound()
287 return (float) dval; in stickyRound()
/libcore/ojluni/src/main/java/java/lang/
DFloatingDecimal.java199 doubleToBigInt( double dval ){ in doubleToBigInt() argument
200 long lbits = Double.doubleToLongBits( dval ) & ~signMask; in doubleToBigInt()
233 private static double ulp( double dval, boolean subtracting ){ in ulp() argument
234 long lbits = Double.doubleToLongBits( dval ) & ~signMask; in ulp()
264 stickyRound( double dval ){ in stickyRound() argument
265 long lbits = Double.doubleToLongBits( dval ); in stickyRound()
270 return (float) dval; in stickyRound()
/libcore/luni/src/main/native/
Dcbigint.h57 double dval; member