Raymond Toy pushed to branch issue-425-correctly-rounded-math-functions at cmucl / cmucl

Commits:

4 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -5,6 +5,8 @@ variables:
    5 5
       version: "$year-$month-x86"
    
    6 6
       tar_ext: "xz"
    
    7 7
       bootstrap: ""
    
    8
    +  # Value to use for build.sh -C option.  Allows choosing a different
    
    9
    +  # config, if needed.
    
    8 10
       build_config: ""
    
    9 11
     
    
    10 12
     # Default install configuration to download the cmucl tarballs to use
    

  • src/code/irrat.lisp
    ... ... @@ -121,7 +121,7 @@
    121 121
     (def-math-rtn ("__ieee754_pow" %pow) 2)
    
    122 122
     #-(or x86 sparc-v7 sparc-v8 sparc-v9)
    
    123 123
     (def-math-rtn "sqrt" 1)
    
    124
    -(def-math-rtn ("hypot" %hypot) 2)
    
    124
    +(def-math-rtn "hypot" 2)
    
    125 125
     
    
    126 126
     (def-math-rtn ("fdlibm_log1p" %log1p) 1)
    
    127 127
     (def-math-rtn ("fdlibm_expm1" %expm1) 1)
    

  • src/code/linux-os.lisp
    ... ... @@ -25,6 +25,8 @@
    25 25
     (register-lisp-feature :linux)
    
    26 26
     (register-lisp-feature :elf)
    
    27 27
     (register-lisp-runtime-feature :executable)
    
    28
    +;; Core-math is used for the special functions providing
    
    29
    +;; correctly-rounded numerical results.
    
    28 30
     (register-lisp-runtime-feature :core-math)
    
    29 31
     
    
    30 32
     (setq *software-type* "Linux")
    

  • src/lisp/GNUmakefile
    ... ... @@ -64,8 +64,6 @@ ifneq (${EXEC_FINAL_OBJ},)
    64 64
     	$(AR) d lisp.a exec-init.o
    
    65 65
     endif
    
    66 66
     
    
    67
    -#libcore-math.a : $(CORE64_OBJ)
    
    68
    -#	$(AR) crs libcore-math.a $^
    
    69 67
     version:
    
    70 68
     	echo 0 > version
    
    71 69