projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sb-bsd-sockets: GET-ADDRESS-INFO foreign memory leak
[sbcl.git]
/
src
/
compiler
/
float-tran.lisp
diff --git
a/src/compiler/float-tran.lisp
b/src/compiler/float-tran.lisp
index
e0d6e93
..
bd7e427
100644
(file)
--- a/
src/compiler/float-tran.lisp
+++ b/
src/compiler/float-tran.lisp
@@
-948,11
+948,9
@@
(int-hi (if hi
(ceiling (type-bound-number hi))
'*))
(int-hi (if hi
(ceiling (type-bound-number hi))
'*))
- (f-lo (if lo
- (bound-func #'float lo)
+ (f-lo (or (bound-func #'float lo)
'*))
'*))
- (f-hi (if hi
- (bound-func #'float hi)
+ (f-hi (or (bound-func #'float hi)
'*)))
(specifier-type `(or (rational ,int-lo ,int-hi)
(single-float ,f-lo, f-hi)))))
'*)))
(specifier-type `(or (rational ,int-lo ,int-hi)
(single-float ,f-lo, f-hi)))))
@@
-982,11
+980,9
@@
(int-hi (if hi
(ceiling (type-bound-number hi))
'*))
(int-hi (if hi
(ceiling (type-bound-number hi))
'*))
- (f-lo (if lo
- (bound-func #'float lo)
+ (f-lo (or (bound-func #'float lo)
'*))
'*))
- (f-hi (if hi
- (bound-func #'float hi)
+ (f-hi (or (bound-func #'float hi)
'*)))
(specifier-type `(or (rational ,int-lo ,int-hi)
(single-float ,f-lo, f-hi)))))
'*)))
(specifier-type `(or (rational ,int-lo ,int-hi)
(single-float ,f-lo, f-hi)))))