openlibm
openlibm copied to clipboard
High quality system independent, portable, open source libm implementation
I first tested with gcc, and all tests pass. Then I applied the following patch: ``` --- a/Make.inc +++ b/Make.inc @@ -43,7 +43,7 @@ CFLAGS_add += -fno-builtin -fno-strict-aliasing endif ifeq...
OS: Android 5.0 Architecture: armv7-a (32 bit) Compiler: clang 4.0 Natively building openlibm on Android produces the following error: ``` ➜ openlibm git:(master) make USECLANG=1 clang -fno-builtin -mhard-float -O3 -fPIC...
The trig-reduction implementations assume that the rounding mode is round-to-nearest, and do not function correctly if it isn't. Example: sinf(-0x1.4665d2p+27). The mathematically precise result is approximately -0x1.927bcc77af475p-25, but in round-toward-zero...
Do NOT merge with squash commits! - `make coverage` will run glibc and musl test, and then gen report. - Currently, it passes all musl tests under linux CI. Other...
Maybe we can use tests from musl libc: https://wiki.musl-libc.org/libc-test.html which is [MIT license](http://nsz.repo.hu/git/?p=libc-test;a=blob;f=COPYRIGHT;h=67acf495aa00c48cf1b9334b12a94a83a28b6b8a;hb=HEAD). - [x] Setup coverage ci #295 - [x] Test with qemu: cover arm, aarch64, ppc64le, mips, riscv64,...
The following test program computes cosh of 1, 1/2, 1/4, ..., 1/2^-128. ```c #include #include int main(int argc, char **argv) { long double d = 1.0; for (int i =...
The following test program uses all three of `remquof`, `remquo` and `remquol` to compute the remainder of −3 mod +3. The remainder should be zero, and the quotient should be...
I see very poor results on a modern ARM server. Some openlibm implementations are up to 48.68x slower than their libm counterparts. This was a checkout of the main branch...
-If I want to, can I create a new Java OpenJDK maths class, with a class signature the same as java.lang.StrictMath, and build an openjdk language useable calculator class parallel...
@simonbyrne Is it possible to add support for PowerPC BE, in particular `ppc32`? Primarily interested in macOS PPC, but also considering FreeBSD. UPD. It seems that BE should be supported,...