File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,17 @@ Infinity and NaN values can be parsed, along with scientific notation.
66
66
Both little-endian and big-endian platforms are equally supported, with extra optimizations enabled
67
67
on little-endian architectures.
68
68
69
+ ## Testing
70
+
71
+ There are a few ways this crate is tested:
72
+
73
+ - A suite of explicit tests (taken from the original library) covering lots of edge cases.
74
+ - A file-based test suite (taken from the original library; credits to Nigel Tao), ~ 5M tests.
75
+ - All 4B float32 numbers are exhaustively roundtripped via ryu formatter.
76
+ - Roundtripping a large quantity of random float64 numbers via ryu formatter.
77
+ - Roundtripping float64 numbers and fuzzing random input strings via cargo-fuzz.
78
+ - All explicit test suites run on CI; roundtripping and fuzzing are run manually.
79
+
69
80
## Performance
70
81
71
82
The presented parser seems to beat all of the existing C/C++/Rust float parsers known to us at the
You can’t perform that action at this time.
0 commit comments