extflonums
An extflonum is like a flonum, but with 80-bit precision and not a number in the sense of `number?': only operations such as `extfl+' work on extflonums, and only on platforms where extflonums can be implemented by hardware without interefering with flonums (i.e., on platforms where SSE instructions are used for double-precision floats). [Patch provided by Michael Filonenko and revised by Matthew.] The compiler tracks information about bindings that are known to hold extflonums, but the JIT does not yet exploit this information to unbox them (except as intermediate results). original commit: 17b8092641b245caf77bfb6ac29b525995a7bfea
This commit is contained in:
parent
f5fb6bf60e
commit
505e981046
|
@ -5,6 +5,7 @@
|
||||||
"private/manual-sprop.rkt"
|
"private/manual-sprop.rkt"
|
||||||
"private/on-demand.rkt"
|
"private/on-demand.rkt"
|
||||||
file/convertible
|
file/convertible
|
||||||
|
racket/extflonum
|
||||||
(for-syntax racket/base))
|
(for-syntax racket/base))
|
||||||
|
|
||||||
(provide define-code
|
(provide define-code
|
||||||
|
@ -262,7 +263,8 @@
|
||||||
(char? v)
|
(char? v)
|
||||||
(regexp? v)
|
(regexp? v)
|
||||||
(byte-regexp? v)
|
(byte-regexp? v)
|
||||||
(boolean? v)))
|
(boolean? v)
|
||||||
|
(extflonum? v)))
|
||||||
value-color]
|
value-color]
|
||||||
[(identifier? c)
|
[(identifier? c)
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Reference in New Issue
Block a user