Changeset 14451


Ignore:
Timestamp:
Nov 23, 2010, 11:11:22 AM (8 years ago)
Author:
gb
Message:

In the form that initializes DOUBLE-FLOAT-NAN, declare + to be
notinline, so that the arithmetic will happen with the FP invalid
exception disabled. (Doing the arithmetic at compile time should
fail, but we have had trouble detecting arithmetic exceptions
on DarwinPPC due to Mach lossage.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lib/numbers.lisp

    r14448 r14451  
    5050(defconstant double-float-nan
    5151  #.(let ((invalid (get-fpu-mode :invalid)))
     52      (declare (notinline +))
    5253      (unwind-protect
    5354           (progn
Note: See TracChangeset for help on using the changeset viewer.