1. 02 Oct, 2014 3 commits
    • Raymond Toy's avatar
      Editorial fixes. · 227e5085
      Raymond Toy authored
       * Remove [In progress]
       * Rephrase some items.
       * Fix typos.
      227e5085
    • Raymond Toy's avatar
      Fix regression in %ENUMERATE-DIRECTORIES. · 8329e1d5
      Raymond Toy authored
      Previously (18a at least), %ENUMERATE-DIRECTORIES would return a path
      even if a directory element did not exist.  This behavior is restored.
      
      See email from cmucl-help, Sep 26, 2014.
      
       * src/code/filesys.lisp:
         * Fix regression.in %ENUMERATE-DIRECTORIES.  Even if the directory
           does not exist, we continue recursing instead of stopping.
       * src/general-info/release-20f.txt:
         * Update
       * tests/filesys.lisp:
         * New file adding tests for UNIX-NAMESTRING.
      8329e1d5
    • Raymond Toy's avatar
      Fix regression in %ENUMERATE-DIRECTORIES. · 2f316750
      Raymond Toy authored
      Previously (18a at least), %ENUMERATE-DIRECTORIES would return a path
      even if a directory element did not exist.  This behavior is restored.
      
      See email from cmucl-help, Sep 26, 2014.
      
       * src/code/filesys.lisp:
         * Fix regression.in %ENUMERATE-DIRECTORIES.  Even if the directory
           does not exist, we continue recursing instead of stopping.
       * src/general-info/release-20f.txt:
         * Update
       * tests/filesys.lisp:
         * New file adding tests for UNIX-NAMESTRING.
      2f316750
  2. 27 Sep, 2014 2 commits
    • Raymond Toy's avatar
      Fix incorrect value from INTEGER-DECODE-FLOAT for denormals. · ab0a979d
      Raymond Toy authored
      This is a long standing bug where INTEGER-DECODE-FLOAT returned
      incorrect values for denormal double-float numbers.  The lower 32 bits
      of the double were not shifted enough when creating the integer
      result.
      
      As a side-effect, DECODE-FLOAT decodes denormal double-float's
      correctly and SCALE-FLOAT scales denormals correctly too.
      
       * src/code/float.lisp:
         * Shift the lower 32-bit of the fraction one more time to adjust
           for the fact that the upper 20 bits were shifted an extra time.
       * tests/float.lisp:
         * Add several tests for INTEGER-DECODE-FLOAT, SCALE-FLOAT, and
           DECODE-FLOAT.
       * src/general-info/release-20f.txt:
         * Add this bug fix to the notes.
      
      Conflicts:
      	tests/float.lisp
      ab0a979d
    • Raymond Toy's avatar
      Fix incorrect value from INTEGER-DECODE-FLOAT for denormals. · 315ea234
      Raymond Toy authored
      This is a long standing bug where INTEGER-DECODE-FLOAT returned
      incorrect values for denormal double-float numbers.  The lower 32 bits
      of the double were not shifted enough when creating the integer
      result.
      
      As a side-effect, DECODE-FLOAT decodes denormal double-float's
      correctly and SCALE-FLOAT scales denormals correctly too.
      
       * src/code/float.lisp:
         * Shift the lower 32-bit of the fraction one more time to adjust
           for the fact that the upper 20 bits were shifted an extra time.
       * tests/float.lisp:
         * Add several tests for INTEGER-DECODE-FLOAT, SCALE-FLOAT, and
           DECODE-FLOAT.
       * src/general-info/release-20f.txt:
         * Add this bug fix to the notes.
      315ea234
  3. 05 Sep, 2014 1 commit
  4. 01 Sep, 2014 1 commit
  5. 26 Aug, 2014 1 commit
    • Raymond Toy's avatar
      Deprecate FLOAT-TRAPPING-NAN-P in favor of FLOAT-SIGNALING-NAN-P. · 9b6ad201
      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.
      9b6ad201
  6. 16 Aug, 2014 1 commit
    • Raymond Toy's avatar
      Make cosh signal overflow when it should overflow. · 80df05a1
      Raymond Toy authored
       * lisp/e_cosh.c:
         * The compiler replaced the code huge*huge with infinity instead of
           doing the operation.  Change it so it does fabs(x)*huge, which
           forces the compiler to do the multiplication.
         * Change huge from 1e300 to 1e307 so that fabs(x)*huge will
           actually overflow when |x| > overflowthreshold.
       * tests/trig.lisp:
         * Add tests for sinh and cosh signaling overflow appropriately.
       * general-info/release-20f.txt:
         * Update.
      80df05a1
  7. 15 Aug, 2014 1 commit
    • Raymond Toy's avatar
      Fix ticket:106 by returning the correctly rounded value. · 375ce218
      Raymond Toy authored
       * src/lisp/e_exp.c:
         * Add special case to return the correctly rounded value of exp(1).
       * tests/trac.lisp:
         * Add test that the correct value is returned.
         * Add test that exp(x) is still monotonic around x = 1.
       * src/general-info/release-20f.txt:
         * Update.
      375ce218
  8. 10 Aug, 2014 1 commit
    • Raymond Toy's avatar
      Fix ticket:101, implementing STREAM-ADVANCE-TO-COLUMN for FORMAT ~T. · e585e8d6
      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.
      e585e8d6
  9. 09 Aug, 2014 2 commits
  10. 03 Aug, 2014 1 commit
  11. 17 Jun, 2014 1 commit
  12. 07 May, 2014 1 commit
  13. 29 Mar, 2014 2 commits
  14. 02 Mar, 2014 1 commit
  15. 10 Feb, 2014 1 commit
  16. 09 Feb, 2014 1 commit
  17. 07 Feb, 2014 1 commit
  18. 04 Feb, 2014 1 commit
  19. 07 Jan, 2014 1 commit
  20. 03 Jan, 2014 1 commit
  21. 07 Dec, 2013 1 commit
  22. 24 Oct, 2013 1 commit
  23. 22 Oct, 2013 1 commit
  24. 29 Sep, 2013 1 commit
    • Raymond Toy's avatar
      Print integers with lowercase when *print-case* is :downcase. · a7ace141
      Raymond Toy authored
      Could optimize SUB-OUTPUT-INTEGER and DIGIT-TO-CHAR if needed, but I'm
      assuming printing of fixnums and bignums is not limited by the
      conversion of each digit to a character.
      
       * src/code/print.lisp:
         * Print integers in lowercase if *print-case* is :downcase
         * Update a docstring.
      
       * src/i18n/locale/cmucl.pot:
         * Update
      
       * src/general-info/release-20f.txt:
         * New file with updated info.
      a7ace141