[racket] Am I Missing Something? [HtDP 31.3.1]

From: Richard Cleis (rcleis at mac.com)
Date: Tue Jan 4 20:14:30 EST 2011

I wonder if Babbage had any idea how much trouble he was starting.

rac

On Jan 4, 2011, at 3:13 PM, Matthew Flatt wrote:

> At Tue, 4 Jan 2011 14:39:39 -0700, Matthew Flatt wrote:
>> Racket sets the x87 control word to use double precision instead of
>> extended precision. That setting apparently interferes with the pow()
>> C library function.
> 
> The following page suggests that the problem is relatively specific to pow():
> 
> http://www.vinc17.org/research/extended.en.html
> 
> (That page is cited in a context similar to ours at
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16122)
> 
> For now, anyway, I don't have a better solution than resetting the FP
> mode back to extended precision before calling pow() under Linux.
> 
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.