- Sep 26, 2014
-
-
Raymond Toy authored
-
- Aug 29, 2014
-
-
Raymond Toy authored
an arrest-reason, destroy-process doesn't take effect. Destroy-process sets process-state to :active to try to ensure it gets the interrupt, but it also needs to clear process-%arrest-reasons and push something on process-%run-reasons. Patch from Paul Foley.
-
- Aug 26, 2014
-
-
Raymond Toy authored
These numbers are called signaling, not trapping NaN in almost all usages. * code/exports.lisp: * Export FLOAT-SIGNALING-NAN-P. * code/float.lisp: * Implement FLOAT-SIGNALING-NAN-P. * Make FLOAT-TRAPPING-NAN-P an inline call to the FLOAT-SIGNALING-NAN-P and add a docstring to say it is deprecated. * code/print.lisp: * Print "Signaling" instead of "Trapping". * i18n/locale/cmucl.pot: * Regenerated due to the changes in docstrings.
-
- Aug 23, 2014
-
-
Raymond Toy authored
-
- Aug 22, 2014
-
-
Raymond Toy authored
doesn't use x87.
-
Raymond Toy authored
On 32-bit linux, we can still get FP exceptions using x87 because 32-bit linux can still use x87 instructions for arithmetic. Because of this, we need to re-enable the support x87 floating-point modes, including getting and setting the modes and also extracting the modes from a sigcontext. * src/code/float-trap.lisp: * Put back support for getting and setting the x87 FP modes. * src/compiler/x86/float.lisp: * Add comment on the layout of the status and control words for x87. * src/lisp/Linux-os.c: * Put back support for getting the x87 (and sse2) FP modes. Needed in the sigfpe-handler in float-trap.lisp. Some of this needs to be cleaned up because we always require sse2 now.
-
- Aug 10, 2014
-
-
Raymond Toy authored
* code/format.lisp: * Add support for Gray streams for tabulation, calling STREAM-ADVANCE-TO-COLUMN as needed. * tests/gray-stream.lisp: * Add tests for absolute and relative tabulation. These are simple and just compare that lisp streams and Gray streams produce the same output. * general-info/release-20f.txt: * Update.
-
- Aug 09, 2014
-
-
Raymond Toy authored
* code/reader.lisp: * The READER-ERROR condition tries to be helpful and print out the position of where the error occurred using FILE-POSITION. But FILE-POSITION flames out when the stream is closed, so check for a closed stream before calling FILE-POSITION * tests/trac.lisp: * Add test from the bug report. * general-info/release-20f.txt: * Update.
-
Raymond Toy authored
Implements STREAM-FILE-POSiTION and (SETF STREAM-FILE-POSITION). * code/stream.lisp: * Add support for Gray streams in FILE-POSITION. * pcl/gray-streams.lisp: * Define STREAM-FILE-POSITION and (SETF STREAM-FILE-POSITION). * Add methods on FUNDAMENTAL-STREAM, CHARACTER-INPUT-STREAM, and CHARACTER-OUTPUT-STREAM. * code/exports.lisp: * Export STREAM-FILE-POSITION.
-
- Aug 02, 2014
-
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
- Aug 01, 2014
-
-
Raymond Toy authored
This appears to be a very old bug where clear-output didn't clear the output for fd-streams.
-
Raymond Toy authored
See ticket #101. This fixes item 1 of that bug report.
-
- Jul 31, 2014
-
-
Raymond Toy authored
This is the patch from the ticket except that the boot file name has been changed to conform to the usual naming rules. To test it, try (c::info :source-location :class 'error). This should return something like #S(C::FILE-SOURCE-LOCATION :FORM-NUMBERS 52 :PATHNAME "target:code/error.lisp") Notes: * compiler/globaldb.lisp: New info-type source-location/class. As class names can theoretically also be variable names it seemed reasonable to introduce this instead of using the existing source-location/defvar. * code/error.lisp (%compiler-define-condition): Take source-location as argument and store it in the infodb. (define-condition): Pass source-location along. * bootfiles/20e/boot-2014-06-1.lisp: New bootfile needed because error.lisp is compiled before globaldb.lisp.
-
Raymond Toy authored
duplicated in irrat.lisp.
-
Raymond Toy authored
-
Raymond Toy authored
now in C.
-
- Jul 26, 2014
-
-
Raymond Toy authored
* code/exports.lisp: * Export %ieee754-rem-pi/2 and %sincos. * code/irrat.lisp: * Remove some conditionalization that is always true now. * compiler/float-tran.lisp: * %sincos is exported so we don't need the package qualifier.
-
Raymond Toy authored
Update def-math-rtn to allow specifying the C function name and the lisp function name so we can use def-math-rtn with the new trig functions.
-
Raymond Toy authored
-
- Jul 22, 2014
-
-
Raymond Toy authored
-
Raymond Toy authored
to C. Also add interface to sincos function in C. This needs more testing and currently some tests fail.
-
- Jul 02, 2014
-
-
Raymond Toy authored
It's an int, not a double.
-
- Jun 24, 2014
-
-
Raymond Toy authored
* lisp/gencgc.c * Set number of generations to GC to 3 instead of NUM_GENERATIONS - 1. * Add simple interface to allow user to set the number of generations and return the old value. * code/gc.lisp: * Add Lisp interface to set the number of generations to GC.
-
- Jun 01, 2014
-
-
Raymond Toy authored
Change the warning to a style-warning and update the message to be more precious.
-
- May 13, 2014
-
-
Raymond Toy authored
* src/code/print.lisp: * Type declaration in {{{SUB-OUTPUT-INTEGER}}} was incorrect because we want to be able to print {{{(- most-negative-fixnum)}}}. * tests/printer.lisp: * Add test for this.
-
- May 10, 2014
-
-
Raymond Toy authored
because we don't need to renormalize the values. Also gets rid of some compiler warnings about constant folding.
-
- May 08, 2014
-
-
Raymond Toy authored
Only ppc, sparc, and x86 are tested, but I changed the rest anyway.
-
- Apr 29, 2014
-
-
Raymond Toy authored
setting the floating-point mode bits.
-
- Mar 30, 2014
-
-
Raymond Toy authored
-
- Mar 08, 2014
-
-
Raymond Toy authored
returned something like #c(-715 pi) and -715. * src/code/irrat-dd.lisp: * Handle -0w0 and 0w0 specially in dd-%log. * tests/trac.lisp: * Add a test for this in trac.lisp.
-
Raymond Toy authored
double-double-float-negative-infinity.
-
- Mar 01, 2014
-
-
Raymond Toy authored
* Round the number to least-positive-foo-float when possible, but still throw an error if it's too small but not zero. * Update comments to mention CLHS 2.3.1.1.
-
Raymond Toy authored
* Add least-positive-normalized-double-double-float, least-negative-normalized-double-double-float, least-positive-double-double-float, least-negative-double-double-float, most-positive-double-double-float, most-negative-double-double-float to the extensions package.
-
Raymond Toy authored
* src/code/reader.lisp: * Try to round really small numbers * Add somewhat more informative message when the number is not representable. * src/i18n/local/cmucl.pot: * Update * tests/trac.lisp: * Add test for ticket 93 * Add a few comments for test trac.87.
-