
Raymond Toy pushed to branch issue-425-correctly-rounded-math-functions at cmucl / cmucl Commits: 1f94e40c by Raymond Toy at 2025-08-11T06:59:03-07:00 Document build_config variable - - - - - c9414bcb by Raymond Toy at 2025-08-11T06:59:28-07:00 Clean up implementation * Remove unneeded change in definition of %hypot in irrat.lisp. * Document what :core-math feature is for in linux-os.c. * Remove old commented stuff for creating libcore-math.a which we don't use. - - - - - 4 changed files: - .gitlab-ci.yml - src/code/irrat.lisp - src/code/linux-os.lisp - src/lisp/GNUmakefile Changes: ===================================== .gitlab-ci.yml ===================================== @@ -5,6 +5,8 @@ variables: version: "$year-$month-x86" tar_ext: "xz" bootstrap: "" + # Value to use for build.sh -C option. Allows choosing a different + # config, if needed. build_config: "" # Default install configuration to download the cmucl tarballs to use ===================================== src/code/irrat.lisp ===================================== @@ -121,7 +121,7 @@ (def-math-rtn ("__ieee754_pow" %pow) 2) #-(or x86 sparc-v7 sparc-v8 sparc-v9) (def-math-rtn "sqrt" 1) -(def-math-rtn ("hypot" %hypot) 2) +(def-math-rtn "hypot" 2) (def-math-rtn ("fdlibm_log1p" %log1p) 1) (def-math-rtn ("fdlibm_expm1" %expm1) 1) ===================================== src/code/linux-os.lisp ===================================== @@ -25,6 +25,8 @@ (register-lisp-feature :linux) (register-lisp-feature :elf) (register-lisp-runtime-feature :executable) +;; Core-math is used for the special functions providing +;; correctly-rounded numerical results. (register-lisp-runtime-feature :core-math) (setq *software-type* "Linux") ===================================== src/lisp/GNUmakefile ===================================== @@ -64,8 +64,6 @@ ifneq (${EXEC_FINAL_OBJ},) $(AR) d lisp.a exec-init.o endif -#libcore-math.a : $(CORE64_OBJ) -# $(AR) crs libcore-math.a $^ version: echo 0 > version View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/ed62e414bc79477722f81a2... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/ed62e414bc79477722f81a2... You're receiving this email because of your account on gitlab.common-lisp.net.