src/share/classes/sun/misc/FloatingDecimal.java
Print this page
@@ -23,11 +23,10 @@
* questions.
*/
package sun.misc;
-import sun.misc.FpUtils;
import sun.misc.DoubleConsts;
import sun.misc.FloatConsts;
import java.util.regex.*;
public class FloatingDecimal{
@@ -2295,11 +2294,11 @@
((!leastZero) && round )) {
incremented = true;
significand++;
}
- FloatingDecimal fd = new FloatingDecimal(FpUtils.rawCopySign(
+ FloatingDecimal fd = new FloatingDecimal(Math.copySign(
Double.longBitsToDouble(significand),
sign));
/*
* Set roundingDir variable field of fd properly so