You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/specs/stdlib_str2num.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,10 +96,10 @@ The accuracy of the conversion is implementation dependent; it is recommended th
96
96
97
97
**The current implementation has been tested to provide for** :
98
98
99
-
`real32` : exact match
99
+
`sp` : exact match
100
100
101
-
`real64` : precision up-to epsilon(0.0_real64)
101
+
`dp` : precision up-to epsilon(0.0_dp)
102
102
103
-
`real128` : precision around 200*epsilon(0.0_real128)
103
+
`qp` : precision around 200*epsilon(0.0_qp)
104
104
105
105
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 commit comments