Skip to content

Commit c684154

Browse files
committed
Minor cleanup
1 parent a019ab0 commit c684154

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ CRlibm is missing a (guaranteed) correctly-rounded power function, i.e., `x^y`.
9090
As far as we are aware, the only alternative package to CRlibm is [MPFR](http://www.mpfr.org/), which provides correctly-rounded functions for
9191
floating-point numbers of **arbitrary precision**, including the power function. However, it can be slow.
9292

93-
MPFR is wrapped in base Julia in the `BigFloat` type, and can emulate double-precision floating point by setting the precision to 53 bits.
94-
95-
### Wrapping MPFR (`BigFloat`)
96-
97-
MPFR (`BigFloat`) functions are extended with the same syntax with explicit rounding modes:
93+
MPFR is wrapped in base Julia in the `BigFloat` type, and can emulate double-precision floating point by setting the precision to 53 bits. In particular, the functions provided by CRlibm are extended to `BigFloat` via MPFR, with the same syntax:
9894

9995
```julia
10096
julia> setprecision(64) # change `BigFloat` precision
@@ -108,7 +104,3 @@ julia> CRlibm.exp(BigFloat(0.51), RoundUp)
108104
```
109105

110106
The function `CRlibm.shadow_MPFR()` can be called to redefine the functions that take floating-point arguments to also use the MPFR versions; this is automatic if the `CRlibm` library is not available.
111-
112-
## Acknowledgements
113-
114-
Financial support is acknowledged from DGAPA-UNAM PAPIME grant PE-107114 and DGAPA-UNAM PAPIIT grant IN-117214.

0 commit comments

Comments
 (0)