[Git][cmucl/cmucl][issue-425-correctly-rounded-math-functions] Use fdlibm's pow function instead of core-math
Raymond Toy pushed to branch issue-425-correctly-rounded-math-functions at cmucl / cmucl Commits: 4b2d91e9 by Raymond Toy at 2026-01-31T08:46:03-08:00 Use fdlibm's pow function instead of core-math When cr_pow is used, the ansi-tests fail in test WRITE.1 among others. This test somehow produces a floating-point-invalid-operation somewhere. Until we can figure this out, just use fdlibm's pow for now. - - - - - 1 changed file: - src/lisp/irrat.c Changes: ===================================== src/lisp/irrat.c ===================================== @@ -202,11 +202,13 @@ lisp_log10(double x) double lisp_pow(double x, double y) { -#ifdef FEATURE_CORE_MATH - return cr_pow(x, y); -#else + /* + * cr_pow seems causes ansi-tests to fail in test WRITE.1 among + * others. Somewhere an invalid operation is occurring. Thus + * just use fdlibm for now until we can figure out what's causing + * the failure. + */ return __ieee754_pow(x, y); -#endif } double View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/4b2d91e974589be93517c0ee... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/4b2d91e974589be93517c0ee... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)