openlibm
openlibm copied to clipboard
High quality system independent, portable, open source libm implementation
- [ ] #222 - [x] https://github.com/JuliaMath/openlibm/pull/319#issuecomment-2592194108 > Do we want to sync `openlibm_fenv_arm.h` from FreeBSD too? > > Seems there are some bugs: > > https://github.com/JuliaMath/openlibm/blob/5a88ede059eab2c651a3c1589aabe85136ea9a48/include/openlibm_fenv_arm.h#L65-L67 > > ```c...
Observed non-standard behavior when testing tgamma(). Currently, the `tgamma()` function implementation has an inconsistency with error handling. [Reference Link](https://en.cppreference.com/w/c/numeric/math/tgamma) ``` Errors are reported as specified in math_errhandling. For IEEE-compatible type...
Moved from https://github.com/JuliaMath/openlibm/issues/278#issuecomment-2581246607 > There's the same warning on riscv64: > > ``` > In file included from /home/runner/work/openlibm/openlibm/include/openlibm_fenv.h:18, > from src/s_lrint.c:29: > In function ‘feupdateenv’, > inlined from ‘lrint’...
Issues like #278 would be prevented if code on CI was compiled with more aggressive flags, like `-Werror`