openlibm
openlibm copied to clipboard
High quality system independent, portable, open source libm implementation
Trying to build this for aarch64, and even tried to remove the constant to fix this, but I think I'll open an issue on this. I hope this is just...
i586-pc-msdosdjgpp-gcc -nostdinc -fno-gnu89-inline -fno-builtin -O3 -fPIC -march=i586 -std=gnu99 -Wall -I.. -I../include -I../src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -I../ld80 -c s_cos.S -fPIC ignored (not supported for DJGPP) s_cos.S: Assembler messages: s_cos.S:10: Error: invalid...
I want to build an library for Visual Studio. But the MSVC not support _Complex keywords. openlibm_complex.h will be reported some errors. https://learn.microsoft.com/en-us/cpp/c-runtime-library/complex-math-support?view=msvc-170 Is there any way to make it...
I have some basic c code to run the naive bayes function, and I'm using libopenlibm for `logf` and `powf`. Building libopenlibm with gnu make and running the executable natively...
- Removing SHARED allows openlibm to be built statically depending on the value of BUILD_SHARED_LIBS - Using CMAKE_CURRENT_SOURCE_DIR allows openlibm to be built via FetchContent - I added the riscv64...
The CMake build option does not seem to have support for installing the built library, nor does it produce both static and shared libraries. Additionally, it also does not create...
I have no idea why previous versions compile on GitHub actions, but they don't on my loongarch64 machine, and there was also someone reported on aarch64 architecture #278 . Initializer...
In OpenLibm 0.8.3, the long double expm1l function returns NaN for x=0x2.c5c85fdf170c604cp+12l instead of 0xf.ffffcfce79e56d5p+16380l.
The feholdexcept() function must store the current floating point environment in *__envp. Related to #321
https://github.com/inkydragon/openlibm-test/actions/runs/15158416558/job/42618628565#step:7:7 - [ ] Missing symbol `nearbyintl` https://github.com/JuliaMath/openlibm/blob/3cfad148058a1dda6346821c9ca6b4c10d726543/src/s_nearbyint.c#L55-L56 FreeBSD: https://github.com/freebsd/freebsd-src/blame/59ee9260e6bbcc3b5654126eed6e9490315c81f1/lib/msun/src/s_nearbyint.c#L56-L58 - [ ] `float_t`, `double_t` undeclared - [ ] `INT_MAX` undeclared math functions, ignore non-C99 functions: - [ ] `acosh`...