Home
last modified time | relevance | path

Searched refs:getExponent (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java139 public static int getExponent(double d){ in getExponent() method in FpUtils
140 return Math.getExponent(d); in getExponent()
148 public static int getExponent(float f){ in getExponent() method in FpUtils
149 return Math.getExponent(f); in getExponent()
342 int exponent = getExponent(d); in ilogb()
412 int exponent = getExponent(f); in ilogb()
DFormattedFloatingDecimal.java113 public char[] getExponent(){ in getExponent() method in FormattedFloatingDecimal
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java374 int exponent = Math.getExponent(a); in floorOrCeil()
1420 public static int getExponent(float f) { in getExponent() method in StrictMath
1421 return Math.getExponent(f); in getExponent()
1438 public static int getExponent(double d) { in getExponent() method in StrictMath
1439 return Math.getExponent(d); in getExponent()
DMath.java1462 int exp = getExponent(d); in ulp()
1513 int exp = getExponent(f); in ulp()
1837 public static int getExponent(float f) { in getExponent() method in Math
1861 public static int getExponent(double d) { in getExponent() method in Math
DDouble.java333 Math.getExponent(d)); in toHexString()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFpUtils.java36 public static int getExponent(double d) { in getExponent() method in FpUtils
41 public static int getExponent(float f) { in getExponent() method in FpUtils
DFormattedFloatingDecimal.java55 public char[] getExponent() { in getExponent() method in FormattedFloatingDecimal
/libcore/ojluni/src/main/java/java/security/spec/
DRSAOtherPrimeInfo.java108 public final BigInteger getExponent() { in getExponent() method in RSAOtherPrimeInfo
/libcore/ojluni/annotations/mmodule/java/lang/
DMath.annotated.java166 public static int getExponent(float f) { throw new RuntimeException("Stub!"); } in getExponent() method in Math
168 public static int getExponent(double d) { throw new RuntimeException("Stub!"); } in getExponent() method in Math
/libcore/luni/src/test/java/tests/security/spec/
DRSAOtherPrimeInfoTest.java138 assertEquals(2L, ropi.getExponent().longValue()); in testGetExponent()
DRSAMultiPrimePrivateCrtKeySpecTest.java697 opi[i].getExponent().equals(toBeChecked[i].getExponent()) && in checkOtherPrimeInfo()
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java167 StrictMath.getExponent(d); in timeGetExponentD()
173 StrictMath.getExponent(f); in timeGetExponentF()
DMathBenchmark.java189 result = Math.getExponent(d); in timeGetExponentD()
197 result = Math.getExponent(f); in timeGetExponentF()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java416 StrictMath.getExponent(number)); in test_getExponent_D()
420 StrictMath.getExponent((Double) null); in test_getExponent_D()
437 StrictMath.getExponent(number)); in test_getExponent_F()
440 StrictMath.getExponent((Float) null); in test_getExponent_F()
1013 assertEquals(234, StrictMath.getExponent(StrictMath.scalb(1.0, 234))); in test_scalb_DI()
1167 assertEquals(34, StrictMath.getExponent(StrictMath.scalb(1.0f, 34))); in test_scalb_FI()
DMathTest.java438 .getExponent(number)); in test_getExponent_D()
442 Math.getExponent((Double) null); in test_getExponent_D()
482 .getExponent(number)); in test_getExponent_F()
485 Math.getExponent((Float) null); in test_getExponent_F()
1449 assertEquals(234, Math.getExponent(Math.scalb(1.0, 234))); in test_scalb_DI()
1602 assertEquals(34, Math.getExponent(Math.scalb(1.0f, 34))); in test_scalb_FI()
DFloatTest.java1072 Float.MAX_EXPONENT == Math.getExponent(Float.MAX_VALUE)); in test_MAX_EXPONENT()
1083 Float.MIN_EXPONENT == Math.getExponent(Float.MIN_NORMAL)); in test_MIN_EXPONENT()
DDoubleTest.java1441 Double.MAX_EXPONENT == Math.getExponent(Double.MAX_VALUE)); in test_MAX_EXPONENT()
1452 Double.MIN_EXPONENT == Math.getExponent(Double.MIN_NORMAL)); in test_MIN_EXPONENT()
/libcore/luni/src/test/resources/
Dmath_java_only.csv63 getExponent,0x1.ff8p9,-0x1.8ec3beb2d4185p1023
64 getExponent,0x1.ff8p9,-0x1.a49ea827e7d05p1023
65 getExponent,0x1.fe8p9,-0x1.47afe754a89fep1021
66 getExponent,0x1.ffp9,-0x1.ea33b08c7fbfbp1022
67 getExponent,0x1.ff8p9,0x1.40c8f2c416881p1023
68 getExponent,0x1.ffp9,-0x1.d2762c5e7c22bp1022
69 getExponent,0x1.fe8p9,0x1.0c0c8b67b7daep1021
70 getExponent,0x1.ff8p9,-0x1.800e50b80ea85p1023
71 getExponent,0x1.fep9,0x1.ccf6eeb86909cp1020
72 getExponent,0x1.ffp9,-0x1.6d6d5ccb7231fp1022
[all …]
/libcore/ojluni/src/main/java/java/util/
DFormatter.java3370 ? new char[] {'+','0','0'} : fd.getExponent();
3431 exp = fd.getExponent();
3549 int exponent = Math.getExponent(d);
3560 exponent = Math.getExponent(d);