forked from JuliaLang/julia
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename precision-related functions and add them to Float32 and Float64
Now get_precision is defined for all T <: FloatingPoint, and returns 24 for Float32 and 53 for Float64 (the effective number of bits in the mantissa, taking in account the implicit leading bit. get_bigfloat_precision and set_bigfloat_precision are used to get and set the defaults for all BigFloats, and the BigComplex case is analogous.
- Loading branch information
Showing
5 changed files
with
49 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters