BigFloatEnv

When performing a floating point operation, the result is computed with infinite precision and then rounded based on the floating point environment. The environment’s status flags are also updated according to the operation’s result.

If no floating point environment is provided to BigFloat operations, the global floating point environment is used.

The global environment is initialized to the IEEE 754 128-bit floating point format:

The global floating point environment can only be temporarily modified when calling a function (using BigFloatEnv.setPrec), so a function can change the global floating point environment for its callees, but not for its caller.

Syntax

BigFloatEnv

Properties

Prototype Properties