122: Add sanity_check for atan2 r=japaric a=P1n3appl3
It's already been merged, but now I can say with certainty that this closesrust-lang/libm#9
Co-authored-by: Joseph Ryan <josephryan3.14@gmail.com>
112: [WIP]: implement atan2 r=japaric a=P1n3appl3
This depends on `atan()`. There was a pr for that but it seems to have been closed without adding it?
Co-authored-by: Joseph Ryan <josephryan3.14@gmail.com>
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
120: test edge cases r=japaric a=japaric
the test generator is not good at generating test cases that contain values like inf, zero and nan.
This commit adds test cases that contain those values.
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
110: Implement tan r=japaric a=porglezomp
Also includes implementing the private `k_tan` function.
Closesrust-lang/libm#36
Co-authored-by: C Jones <code@calebjones.net>
109: Implement sinh r=japaric a=porglezomp
This also adds `expo2` for the `__expo2` function, and `combine_words` to replace
the `INSERT_WORDS` macro.
Closesrust-lang/libm#35
Co-authored-by: C Jones <code@calebjones.net>
107: add an implemetation of asin r=japaric a=japaric
Fixesrust-lang/libm#7
Additonally adds inline functions for macros dealing with low and high words of f64s to the root module.
Also, the muslc code used a hexdecimal float. This shouldn't be needed because Rust implements
floating point parsing well.
---
rebased version of rust-lang/libm#95closesrust-lang/libm#95
Thanks @vjackson725 for the original PR!
Co-authored-by: vjackson725 <vjackson725@users.noreply.github.com>
Fixesrust-lang/libm#7
Additonally adds inline functions for macros dealing with low and high words of f64s to the root module.
Also, the muslc code used a hexdecimal float. This shouldn't be needed because Rust implements
floating point parsing well.
104: add more #[inline] r=japaric a=erikdesjardins
Some of these are pretty big so they may not get inlined in practice, but we might as well make them consistent with the rest.
Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>