commit f9afe6f169063ed90a1df8234cc9c6373aba45d3
parent 1dcc8f623dd9052c8ac23a39bc3052e74c251d48
Author: Carlos Une <une@fastmail.fm>
Date: Wed, 13 Dec 2023 05:56:36 -0300
strconv::stof32 fix doc
Signed-off-by: Carlos Une <une@fastmail.fm>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/strconv/stof.ha b/strconv/stof.ha
@@ -577,7 +577,7 @@ export fn stof64(s: str) (f64 | invalid | overflow) = {
// Converts a string to a f32. If the string is not syntactically well-formed
// floating-point number in base 10, [[invalid]] is returned. If the string
-// represents a floating-point number that is larger than the largest finite f64
+// represents a floating-point number that is larger than the largest finite f32
// number, [[overflow]] is returned. Zero is returned if the string represents a
// floating-point number that is smaller than the f32 number nearest to zero
// with respective sign.