Get the precision (in bits) currently used for BigFloat arithmetic.


julia> get_bigfloat_precision()

This function get_bigfloat_precision() returns the precision (in bits) currently used for BigFloat arithmetic.

Example usage:

julia> get_bigfloat_precision()

This example shows that the current precision for BigFloat arithmetic is 53 bits.

Common mistake example:

julia> get_bigfloat_precision(10)
ERROR: MethodError: no method matching get_bigfloat_precision(::Int64)

In this example, the function get_bigfloat_precision() does not take any arguments. It is important to call the function without any arguments to retrieve the precision value.

See Also

cmp, float, get_bigfloat_precision, get_rounding, get_zero_subnormals, isapprox, maxintfloat, mod2pi, nextfloat, precision, prevfloat, rationalize, round, set_bigfloat_precision, set_rounding, set_zero_subnormals, significand, with_bigfloat_precision, with_rounding,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field

Checking you are not a robot: