- Aug 02, 2014
-
-
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.
-
- Feb 11, 2014
-
-
Raymond Toy authored
-
- Feb 10, 2014
-
-
Raymond Toy authored
Add {{{:ELEMENT-TYPE}}} keyword option to {{{RUN-PROGRAM}}} * src/code/run-program.lisp: * Add :element-type option, and use it as needed when creating input or output streams. * tests/trac.lisp: * Add tests.
-
- Feb 07, 2014
-
-
Raymond Toy authored
to load lisp-unit. This also allows the regression tests to be self-contained so we don't have to have lisp-unit installed via quicklisp or some other means. Unlike asdf and defsystem, we do not provide a precompiled fasl. code/module.lisp: * Add defmodule forms for lisp-unit contrib/load-lisp-unit.lisp: * Module file to compile and load lisp-unit.
-
- Jan 03, 2014
-
-
Raymond Toy authored
For (atanh x), where x is a real number on the branch cuts for atanh, make the code return the correct value based on the definition of atanh. This is inconsistent with the description in the CLHS because the values on the branch cut are now continuous with different quadrants. The formula is clear, however, for the values on the branch cut. * src/code/irrat.lisp * src/code/irrat-dd.lisp * Use the correct branch cut values for atanh. * tests/trig.lisp * Update tests accordingly, with additional comments.
-
- Dec 24, 2013
-
-
Raymond Toy authored
src/code/irrat.lisp: src/code/irrat-dd.lisp: * Remove the special case that made atanh continuous with quadrant III for x < -1 on the branch cut. tests/trig.lisp: * Update tests for atanh * Rename rel-or-abs-error to close-to.
-
- Dec 23, 2013
-
-
Raymond Toy authored
o Derive the value of asin(2), lest we forget again why it is the way it is. o Use the formulas from the CLHS in the docstrings.
-
Raymond Toy authored
-
- Dec 21, 2013
-
-
Raymond Toy authored
code/irrat-dd.lisp o Make REDUCE-ARG return an extra result. Since the reduction returns 3 double's, return a double-double result and the third double result for extra accuracy o Update dd-%tan and dd-%%tan to take the extra arg. o Add new constant dd-pi/4-lo. o Increase accuracy of tan by using the relationship tan(pi/4-y)=(1-tan(y))/(1+tan(y)). tests/trig.lisp: o Update the allowed error threshold for two tests to reflect the increased accuracy.
-
Raymond Toy authored
separately.
-
Raymond Toy authored
-0w0).
-
- Dec 20, 2013
-
-
Raymond Toy authored
-
- Dec 18, 2013
-
-
Raymond Toy authored
-