Skip to content

Commit

Permalink
Update doc/specs/stdlib_str2num.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremie Vandenplas <[email protected]>
  • Loading branch information
jalvesz and jvdp1 authored Dec 31, 2023
1 parent 50174a4 commit 1eb073f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/specs/stdlib_str2num.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ The accuracy of the conversion is implementation dependent; it is recommended th

**The current implementation has been tested to provide for** :

`real32` : exact match
`sp` : exact match

`real64` : precision up-to epsilon(0.0_real64)
`dp` : precision up-to epsilon(0.0_dp)

`real128` : precision around 200*epsilon(0.0_real128)
`qp` : precision around 200*epsilon(0.0_qp)

Where precision refers to the relative difference between `to_num` and `read`. On the other hand, `to_num` provides speed-ups ranging from 4x to >10x compared to the intrinsic `read`.

0 comments on commit 1eb073f

Please sign in to comment.