libm
libm copied to clipboard
A port of MUSL's libm to Rust.
Parsing errors are now bubbled up part of the way, but that needs some more work. Rounding should be correct, and the `Status` returned by `parse_any` should have the correct...
Seems like https://git.musl-libc.org/git/musl is down (504 Bad Gateway), meaning building this project from git no longer works. I'm not sure how to contact the musl project, so I'm opening an...
## 🤖 New release * `libm`: 0.2.11 -> 0.2.12 (✓ API compatible changes) Changelog ## [0.2.12](https://github.com/rust-lang/libm/compare/libm-v0.2.11...libm-v0.2.12) - 2025-02-24 ### Other - Gate another assertion behind `compiler-builtins` - Configure out remaining...
Currently hex float parsing use `u128` as storage for all float types, but `f16`, `f32` and `f64` are fit in `u64`, use `u64` as storage give 25%~35% performance increase in...
Don't look too close, this is intentionally terrible code (line for line) ci: allow-regressions
ci: allow-regressions
I am not entirely sure how we should or shouldn't be handling and testing fenv. It would be nice to comply with what the C specification says, but on the...
Cc https://github.com/rust-lang/libm/issues/248