mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-devel] Ubuntu 11.04 and FE_DFL_ENV.


From: Matt Birkholz
Subject: Re: [MIT-Scheme-devel] Ubuntu 11.04 and FE_DFL_ENV.
Date: Sun, 19 Jun 2011 09:06:03 -0700

> From: Taylor R Campbell <address@hidden>
> Date: Sun, 19 Jun 2011 02:13:56 +0000
> 
> [...]
> 
>    It would be more cool if floenv.scm set up the machine with a default
>    environment, via libc.  It would be more "portable" (modulo
>    portabilitatedness of fenv.h), no?
> 
> I don't understand.  Can you elaborate?  We already use libc to
> control the floating-point environment if we can, and only fall back
> to machine-specific code if we can't.

Yes, sorry.  "More cool" was calling flo:set-environment! (libc) in
savres.scm and make.scm, and removing the (non-libc) fpu inits.  Less
cool was "just mask DENORM".  The former seems more portabicklish,
assuming fenv.h is not a stranger to most.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]