src/share/classes/sun/misc/FloatingDecimal.java

Print this page

        

*** 23,33 **** * questions. */ package sun.misc; - import sun.misc.FpUtils; import sun.misc.DoubleConsts; import sun.misc.FloatConsts; import java.util.regex.*; public class FloatingDecimal{ --- 23,32 ----
*** 2295,2305 **** ((!leastZero) && round )) { incremented = true; significand++; } ! FloatingDecimal fd = new FloatingDecimal(FpUtils.rawCopySign( Double.longBitsToDouble(significand), sign)); /* * Set roundingDir variable field of fd properly so --- 2294,2304 ---- ((!leastZero) && round )) { incremented = true; significand++; } ! FloatingDecimal fd = new FloatingDecimal(Math.copySign( Double.longBitsToDouble(significand), sign)); /* * Set roundingDir variable field of fd properly so