Returns the difference of two BigFloat values.
You can also use the - operator on BigFloat values.
BigFloat.sub(a, b, env?)
a
The minuend BigFloat.
b
The subtrahend BigFloat.
env optional
The floating point environment. If not specified, the current global environment is used. See BigFloatEnv.
A new BigFloat.
123.456l - 0.6l
122.856
BigFloat.sub(123.456l, 0.6l)
122.856
BigFloat.sub(123.456l, 0.6l, new BigFloatEnv(16))
122.85546875