aldanor / fast-float-rust

Super-fast float parser in Rust (now part of Rust core)
https://docs.rs/fast-float
Apache License 2.0
275 stars 20 forks source link

Fixes #28. #29

Closed Alexhuszagh closed 3 years ago

Alexhuszagh commented 3 years ago

Another fix would be to use wrapping_add, which has worse codegen but can guarantee it is not UB:

https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_add