mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 11:48:07 +00:00
100: Implement expm1 r=japaric a=Veykril ~~Closes 13~~, closes rust-lang/libm#18 and ~~closes 14~~. ~~I wasn't sure where to put `__expo2(x: f64) -> f64` so I left it in `src/math/cosh.rs` for now.~~ Moved the function into it's own module. Edit: Didn't see that `exp` was already done in a pull request, I'll take it out once rust-lang/libm#90 lands then. 103: implement fma r=japaric a=erikdesjardins closes rust-lang/libm#19 Co-authored-by: Lukas Wirth <lukastw97@gmail.com> Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
test-generator
This is a tool to generate test cases for the libm crate.
The generator randomly creates inputs for each math function, then proceeds to compute the
expected output for the given function by running the MUSL C implementation of the function and
finally it packs the test cases as a Cargo test file. For this reason, this generator must
always be compiled for the x86_64-unknown-linux-musl target.