Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4529368

RFE: Add a BigBinary class for arbitrary precision floating-point computation

XMLWordPrintable

    • generic
    • generic

      Java's float and double types provide basic IEEE 754 binary floating-point arithmetic. In many circumstances, such as writing the math libraries, it is useful to be able to perform calculations with increased precision and range. BigBinary would provide that capability for the float and double types. BigDecimal does not interopate as well since it uses base 10 instead of base 2. Additionally, BigDecimal does not include the IEEE 754 special values NaN and infinity.

      Name: jd38982 Date: 02/04/2002


      Java's float and double types provide basic IEEE 754 binary floating-point
      arithmetic. In many circumstances, such as writing the math libraries, it is
      useful to be able to perform calculations with increased precision and range.
      BigBinary would provide that capability for the float and double types.
      BigDecimal does not interopate as well since it uses base 10 instead of base 2.
      Additionally, BigDecimal does not include the IEEE 754 special values NaN and
      infinity.

      ======================================================================

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: