allow coercion of large fixnums to floats outside x86
authorNikodemus Siivola <nikodemus@random-state.net>
Sun, 23 Oct 2011 13:04:36 +0000 (16:04 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Mon, 5 Dec 2011 11:05:04 +0000 (13:05 +0200)
commitb198954cf7fd7750bfbba91b94b660f2ad891101
treea1bf3d0c93497d27df16f6c0d695d98d98057ce9
parent2612849876e000af9b3c1f52cddb04cef0841f37
allow coercion of large fixnums to floats outside x86

 The reason we need guard against this on x86 is due to the FPU there always
 using double-precision internally, which can lead to us deriving an
 inconsistent type unless the fixnum is exactly represented by a single-float.

 However, no such danger exists outside x86.

 (Test-suite already contains tests for this.)
NEWS
src/compiler/float-tran.lisp
src/compiler/srctran.lisp
tests/compiler.pure.lisp