common-lisp.net
/
projects/qitab/cl-protobufs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a99cf6b
)
Fix double creation for ccl when high bits are negative
author
Alejandro R Sedeño
<asedeno@google.com>
Fri, 15 Feb 2013 18:08:55 +0000 (13:08 -0500)
committer
Alejandro R Sedeño
<asedeno@google.com>
Fri, 15 Feb 2013 18:08:55 +0000 (13:08 -0500)
utilities.lisp
patch
|
blob
|
blame
|
history
diff --git
a/utilities.lisp
b/utilities.lisp
index
06603ba
..
91757e5
100644
(file)
--- a/
utilities.lisp
+++ b/
utilities.lisp
@@
-634,7
+634,7
@@
(ldb (byte 16 0) high)
(ldb (byte 16 16) low)
(ldb (byte 16 0) low))
- #+ccl (ccl::double-float-from-bits high low)
+ #+ccl (ccl::double-float-from-bits (ilogand high #xffffffff) low)
#+cmu (kernel:make-double-float high low)
#+sbcl (sb-kernel:make-double-float high low)
#+lispworks (lispworks-float:make-double-float high low))