On 04/24/2013 12:37 PM, Zhen Shen wrote:
Oh, and speaking of "exact" arithmetic, I thought that was impossible cause digital computers cant store reals?
Computers can work with the computable reals if you like.
Now, doing (declare (flonum)) at the top level, does this stop gambit from boxing flonums across function calls?
No. Gambit keeps flonums unboxed inside a basic block, whenever there's a jump (or the possibility of a jump), Gambit boxes up all the still-needed flonums.
Brad