Raymond Toy pushed to branch issue-484-use-openlibm at cmucl / cmucl Commits: 32e491a1 by Raymond Toy at 2026-03-01T17:40:20-08:00 Fix build problems With core-math enabled, we need math.h. Without it openlibm_math.h is enough because it will include math.h. Remove the openlibm extern declarations we added. They were wrong and aren't needed since we don't use those names anyway. - - - - - 1 changed file: - src/lisp/irrat.c Changes: ===================================== src/lisp/irrat.c ===================================== @@ -9,8 +9,8 @@ #include "internals.h" #include "fdlibm.h" -#include "openlibm_math.h" #ifdef FEATURE_CORE_MATH +#include <math.h> extern double cr_sin(double); extern double cr_cos(double); extern double cr_tan(double); @@ -55,18 +55,7 @@ extern float cr_log1pf(float); extern float cr_expm1f(float); extern void cr_sincosf(float, float *, float *); #else -extern float __ieee754_atan2f(float y, float x); -extern float __ieee754_asinf(float x); -extern float __ieee754_acosf(float x); -extern float __ieee754_acoshf(float x); -extern float __ieee754_atanhf(float x); -extern float __ieee754_sinhf(float x); -extern float __ieee754_coshf(float x); -extern float __ieee754_tanhf(float x); -extern float __ieee754_expf(float x); -extern float __ieee754_log10f(float x); -extern float __ieee754_hypotf(float x, float y); -extern float __ieee754_expf(float x); +#include "openlibm_math.h" #endif View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/32e491a1dcd862a1610ff850... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/32e491a1dcd862a1610ff850... You're receiving this email because of your account on gitlab.common-lisp.net.