Registry / other / fdlibm

fdlibm

JSON →
library5.3vcpkgunverified

FDLIBM (Freely Distributable LIBM) is a C math library for machines that support IEEE 754 floating-point arithmetic

vcpkg install fdlibm
INSTALL
IMPORT
SIG · FDLIBM
F
fdlibm
othercppv5.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fdlibm.h
#include <fdlibm.h>

Compute sine using FDLIBM

#include <fdlibm.h> #include <stdio.h> int main() { double x = 2.0; double y = fdlibm::sin(x); printf("sin(%f) = %f\n", x, y); return 0; }
Debug
Known issues
gotchaFDLIBM is a C library; C++ users may need to wrap includes in extern "C"
fix
Use extern "C" { #include <fdlibm.h> } or include the header in a C++-compatible way
affects: *
Upgrade
Version history
5.3latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

fdlibm — pip install fdlibm · libregistry