Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
2482e5f0
by Raymond Toy at 2016-09-03T10:55:25-07:00
-
6c86016d
by Raymond Toy at 2016-09-03T10:59:29-07:00
-
a8934d15
by Raymond Toy at 2016-09-03T18:01:25+00:00
1 changed file:
Changes:
... | ... | @@ -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)
|