- Jan 03, 2016
-
-
Raymond Toy authored
Handle search lists in pathname-match-p. Allow search lists in pathname-match-p. For each arg, we enumerate the possible values of the search list and try to find a match between the path and the wild path. If there's a match, return true. Tests added for some cases of pathname-match-p with search lists. Fix issue #16. See merge request !6
-
- Jan 01, 2016
-
-
Raymond Toy authored
We know the result of (expt 0 power) so return it immediately without first checking if the power exceeds the limit. Also took the opportunity to add a better message to the intexp-limit-error condition to make it more explicit what is being computed and why it's failing. Tests added too.
-
Raymond Toy authored
-
Raymond Toy authored
-
- Dec 31, 2015
-
-
Raymond Toy authored
Allow search lists in pathname-match-p. For each arg, we enumerate the possible values of the search list and try to find a match between the path and the wild path. If there's a match, return true. Tests added for some cases of pathname-match-p with search lists. Fix issue #16.
-
Raymond Toy authored
-
Raymond Toy authored
-
- Dec 30, 2015
-
-
Raymond Toy authored
WITH-FLOAT-TRAPS-ENABLED was incorrectly setting accrued exceptions. Fix issue #14. WITH-FLOAT-TRAPS-ENABLED was leaving the accrued (and current) exceptions unchanged, but it should have cleared out any values there that matched the exceptions to be enabled. Without this, the next x87 operation would signal an exception if an accrued exception matched an enabled exception. This was the cause of issue #14. (Note that for x87, the accrued exception is the same as current exception.) See merge request !5
-
Raymond Toy authored
Fix issue #14. WITH-FLOAT-TRAPS-ENABLED was leaving the accrued (and current) exceptions unchanged, but it should have cleared out any values there that matched the exceptions to be enabled. Without this, the next x87 operation would signal an exception if an accrued exception matched an enabled exception. This was the cause of issue #14. (Note that for x87, the accrued exception is the same as current exception.)
-
Raymond Toy authored
-
Raymond Toy authored
To aid in debugging floating point modes, add two new functions: o %SET-FLOATING-POINT-MODES is like SET-FLOATING-POINT-MODES but applies the result to a specified mode value, returning the new mode value (as an integer). This is useful for investigating different mode values without modifying the actual hardware mode. o %GET-FLOATING-POINT-MODES is like GET-FLOATING-POINT-MODES but uses an integer argument instead of the actual floating-point mode. Useful when used with %SET-FLOATING-POINT-MODE or on its own.
-
- Dec 28, 2015
-
-
Raymond Toy authored
Fix issue #12 by replacing the code with an explicit call to set the inexact exception when needed.
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
* Add some comments. * Change x86 (setf floating-point-modes) to accept (unsigned-byte 32). * Remove unneeded x86 conditionalization on the byte size.
-
- Dec 27, 2015
-
-
Raymond Toy authored
-
Raymond Toy authored
Printing of FP numbers can signal some traps like overflow, underflow, inexact, or denormalized-operand, so we need to disable these traps when printing out the error message for arithmetic errors.
-
- Dec 26, 2015
-
-
Raymond Toy authored
This makes it quite a bit easier to run the test suite instead of trying to remember exactly how to invoke it from the command line.
-
Raymond Toy authored
-
Raymond Toy authored
On sparc and ppc (setf vm:floating-point-modes) takes an (unsigned-byte 32) arg, so adjust the ldb byte appopriately. Clean up code by putting the docstring into the macro.
-
- Dec 25, 2015
-
-
Raymond Toy authored
Also replae WITH-INXACT-EXCEPTION-ENABLED with WITH-FLOAT-TRAPS-ENABLED. All tests still pass, as expected.
-
Raymond Toy authored
When enabling traps, need to take just the low 24 bits of the arg because (setf floating-point-modes) wants an (unsigned-byte 24) argument. The logorc2 makes the result negative when enabling traps.
-
Raymond Toy authored
WITH-FLOAT-TRAPS-ENABLED.
-
- Dec 24, 2015
-
-
Raymond Toy authored
Merge the body of both macros into one since they only differ in how the bits are merged with the actual mode bits.
-
Raymond Toy authored
This works like WITH-FLOAT-TRAPS-MASKED, except that the specified traps are enabled. Use this in fdlibm to enable the inexact trap.
-
Raymond Toy authored
Note that original code didn't actually signal inexact probably because the compiler constant-folded one - tiny to one.
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
- Dec 23, 2015
-
-
Raymond Toy authored
o Add tests for this o Use setexception for inexact in e_exp.c.
-
Raymond Toy authored
-
Raymond Toy authored
o Add tests for this o Use setexception for inexact in e_asin.c.
-
Raymond Toy authored
-
Raymond Toy authored
o Update fdlibm.h and setexception.c to support the inexact execption. o Use this in asinh. Tests pass.
-
Raymond Toy authored
-