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

Commits:

2 changed files:

Changes:

  • src/code/irrat.lisp
    ... ... @@ -237,7 +237,10 @@
    237 237
       (y1 double-float :out))
    
    238 238
     
    
    239 239
     (declaim (inline %%sincos))
    
    240
    -(alien:def-alien-routine ("lisp_sincos" %%sincos) c-call:void
    
    240
    +(alien:def-alien-routine (#-core-math "lisp_sincos"
    
    241
    +			  #+core-math "cr_sincos"
    
    242
    +			  %%sincos)
    
    243
    +  c-call:void
    
    241 244
       (x double-float)
    
    242 245
       (s double-float :out)
    
    243 246
       (c double-float :out))
    

  • src/lisp/Config.x86_common
    ... ... @@ -63,7 +63,8 @@ CORE64_OBJS=\
    63 63
     	$(CORE_MATH_64)/pow/pow.o \
    
    64 64
     	$(CORE_MATH_64)/hypot/hypot.o \
    
    65 65
     	$(CORE_MATH_64)/log1p/log1p.o \
    
    66
    -	$(CORE_MATH_64)/expm1/expm1.o
    
    66
    +	$(CORE_MATH_64)/expm1/expm1.o \
    
    67
    +	$(CORE_MATH_64)/sincos/sincos.o
    
    67 68
     endif
    
    68 69
     
    
    69 70
     ifeq ($(filter 2% 3%, $(shell $(CC) -dumpversion)),)