Tiger Prototype build back_log bug java.math.BigDecimal divide() scale not ok

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P2
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • x86
    • windows_2000

      Tiger Prototype build back_log bug
      java.math.BigDecimal : divide(bd02,mc) scale calculation not ok
      win 2000

      The java version and output is:
      ------------------------------
      java version "1.5.0-internal"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-internal-darcy_05_
      jun_2003_20_43)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b08, mixed mode)

      D:\shantaram\tiger\maths\bugs\bug6_v1>java TestDivide
      precision=4 roundingMode=UP
       quotient.doubleValue = 12300.0 result scale = -2
       expected doubleValue = 12300.0 expected scale = -1
       

      The test program is attached.

            Assignee:
            Joe Darcy
            Reporter:
            Shantaram Pande (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: