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: Taylor R Campbell
Subject: Re: [MIT-Scheme-devel] Ubuntu 11.04 and FE_DFL_ENV.
Date: Sun, 19 Jun 2011 17:09:11 +0000
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1

   Date: Sun, 19 Jun 2011 09:06:03 -0700
   From: Matt Birkholz <address@hidden>

                "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.

There is a reason to trap floating-point exceptions immediately on
boot in the microcode: it catches any potential mistakes in floating-
point arithmetic before the run-time system has set up the environment
appropriately.  So I'd like to leave that in, unless it turns out that
it causes any real problems.  (But trapping the denormalized exception
obviously does cause real problems, so we ought to mask it instead.)



reply via email to

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