131: omit bounds check in release mode r=japaric a=japaric
this eliminates panicking branches in the optimized version of the functions. We keep the bounds
checks when running the test suite to check that we never do an out of bounds access.
This commit also adds a "must link" test that ensures that future changes in our implementation
won't add panicking branches.
closes#129
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
this eliminates panicking branches in the optimized version of the functions. We keep the bounds
checks when running the test suite to check that we never do an out of bounds access.
This commit also adds a "must link" test that ensures that future changes in our implementation
won't add panicking branches.
closes#129
122: Add sanity_check for atan2 r=japaric a=P1n3appl3
It's already been merged, but now I can say with certainty that this closes#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.
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>