Class BigReal

    • Field Detail

      • ZERO

        public static final BigReal ZERO
        A big real representing 0.
      • ONE

        public static final BigReal ONE
        A big real representing 1.
    • Constructor Detail

      • BigReal

        public BigReal​(BigDecimal val)
        Build an instance from a BigDecimal.
        Parameters:
        val - value of the instance
      • BigReal

        public BigReal​(BigInteger val)
        Build an instance from a BigInteger.
        Parameters:
        val - value of the instance
      • BigReal

        public BigReal​(BigInteger unscaledVal,
                       int scale)
        Build an instance from an unscaled BigInteger.
        Parameters:
        unscaledVal - unscaled value
        scale - scale to use
      • BigReal

        public BigReal​(BigInteger unscaledVal,
                       int scale,
                       MathContext mc)
        Build an instance from an unscaled BigInteger.
        Parameters:
        unscaledVal - unscaled value
        scale - scale to use
        mc - to used
      • BigReal

        public BigReal​(BigInteger val,
                       MathContext mc)
        Build an instance from a BigInteger.
        Parameters:
        val - value of the instance
        mc - context to use
      • BigReal

        public BigReal​(char[] in)
        Build an instance from a characters representation.
        Parameters:
        in - character representation of the value
      • BigReal

        public BigReal​(char[] in,
                       int offset,
                       int len)
        Build an instance from a characters representation.
        Parameters:
        in - character representation of the value
        offset - offset of the first character to analyze
        len - length of the array slice to analyze
      • BigReal

        public BigReal​(char[] in,
                       int offset,
                       int len,
                       MathContext mc)
        Build an instance from a characters representation.
        Parameters:
        in - character representation of the value
        offset - offset of the first character to analyze
        len - length of the array slice to analyze
        mc - context to use
      • BigReal

        public BigReal​(char[] in,
                       MathContext mc)
        Build an instance from a characters representation.
        Parameters:
        in - character representation of the value
        mc - context to use
      • BigReal

        public BigReal​(double val)
        Build an instance from a double.
        Parameters:
        val - value of the instance
      • BigReal

        public BigReal​(double val,
                       MathContext mc)
        Build an instance from a double.
        Parameters:
        val - value of the instance
        mc - context to use
      • BigReal

        public BigReal​(int val)
        Build an instance from an int.
        Parameters:
        val - value of the instance
      • BigReal

        public BigReal​(int val,
                       MathContext mc)
        Build an instance from an int.
        Parameters:
        val - value of the instance
        mc - context to use
      • BigReal

        public BigReal​(long val)
        Build an instance from a long.
        Parameters:
        val - value of the instance
      • BigReal

        public BigReal​(long val,
                       MathContext mc)
        Build an instance from a long.
        Parameters:
        val - value of the instance
        mc - context to use
      • BigReal

        public BigReal​(String val)
        Build an instance from a String representation.
        Parameters:
        val - character representation of the value
      • BigReal

        public BigReal​(String val,
                       MathContext mc)
        Build an instance from a String representation.
        Parameters:
        val - character representation of the value
        mc - context to use