Raymond Toy pushed to branch master at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/code/float.lisp
    ... ... @@ -1047,9 +1047,15 @@
    1047 1047
     		(number-dispatch ((x real))
    
    1048 1048
     		  (((foreach single-float double-float
    
    1049 1049
     			     #+long-float long-float
    
    1050
     			     #+double-double double-double-float
    
    1051 1050
     			     fixnum))
    
    1052 1051
     		   (coerce x ',type))
    
    1052
     		  #+double-double
    
    1053
     		  ((double-double-float)
    
    1054
     		   ;; Convert the double-double to a double before
    
    1055
     		   ;; coercing to the appropriate type.
    
    1056
     		   (coerce (+ (double-double-hi x)
    
    1057
     			      (double-double-lo x))
    
    1058
     			   ',type))
    
    1053 1059
     		  ((bignum)
    
    1054 1060
     		   (bignum-to-float x ',type))
    
    1055 1061
     		  ((ratio)