Big Float(Int 32, Big Integer, Int 32) Constructor
Constructs a new arbitrary precision floating-point number from the specified sign, mantissa, and exponent.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public BigFloat(
int sign,
BigInteger mantissa,
int exponent
)
Parameters
- sign Int32
- An integer that specifies the sign of the number.
- mantissa BigInteger
- A BigInteger value that specifies the mantissa.
- exponent Int32
- An integer that specifies the exponent.
Remarks
The decimal point is placed in front of the first digit of the mantissa. This produces a number between 1/2 (inclusive) and 1 (exclusive). The actual value is the sign times this number times 2 to the power exponent.