Skip to content

Commit 6317da8

Browse files
authored
Merge pull request #11566 from tiehuis/master
add new float-parser based on eisel-lemire algorithm
2 parents d487894 + 2947a2f commit 6317da8

File tree

16 files changed

+2505
-746
lines changed

16 files changed

+2505
-746
lines changed

lib/std/fmt.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,12 +1837,11 @@ test "parseUnsigned" {
18371837
}
18381838

18391839
pub const parseFloat = @import("fmt/parse_float.zig").parseFloat;
1840+
pub const parseHexFloat = @compileError("deprecated; use `parseFloat`");
18401841
pub const ParseFloatError = @import("fmt/parse_float.zig").ParseFloatError;
1841-
pub const parseHexFloat = @import("fmt/parse_hex_float.zig").parseHexFloat;
18421842

18431843
test {
18441844
_ = parseFloat;
1845-
_ = parseHexFloat;
18461845
}
18471846

18481847
pub fn charToDigit(c: u8, radix: u8) (error{InvalidCharacter}!u8) {

0 commit comments

Comments
 (0)