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.
Closes#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.
Closes#35
Co-authored-by: C Jones <code@calebjones.net>
107: add an implemetation of asin r=japaric a=japaric
Fixes#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 #95closes#95
Thanks @vjackson725 for the original PR!
Co-authored-by: vjackson725 <vjackson725@users.noreply.github.com>
Fixes#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>
100: Implement expm1 r=japaric a=Veykril
~~Closes 13~~, closes#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 #90 lands then.
103: implement fma r=japaric a=erikdesjardins
closes#19
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>