This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: java.math.BigDecimal


This function was missing.

2003-04-05  Jerry Quinn  <jlquinn at optonline dot net>

        * libjava/java/math/BigDecimal.java (unscaledValue): New.

*** BigDecimal.java.~1.6.34.2.~	Sun Feb 23 22:23:48 2003
--- BigDecimal.java	Sat Apr  5 14:44:48 2003
***************
*** 431,436 ****
--- 431,441 ----
      return scale;
    }
    
+   public BigInteger unscaledValue()
+   {
+     return intVal;
+   }
+ 
    public BigDecimal abs () 
    {
      return new BigDecimal (intVal.abs (), scale);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]