Skip to content
Snippets Groups Projects
  1. Oct 01, 2014
  2. Sep 28, 2014
  3. Sep 27, 2014
    • 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
  4. Sep 26, 2014
  5. Sep 25, 2014
  6. Sep 21, 2014
    • Raymond Toy's avatar
      Add deftransform to convert (log x 2) and (log x 10) to log2 and · db25e3e0
      Raymond Toy authored
      %log10. This better than using the definition (/ (log x) (log base)).
      This also allows exact answer for 2^n and 10^n for appropriate n.
      
      
       * src/compiler/float-tran.lisp:
         * Add deftransforms to convert (log x 2) and (log x 10) to
           kernel::log2 and kernel:%log10 
       * tests/float-tran.lisp:
         * Add tests to check the transforms are done, or not done, as
           appropriate.
      db25e3e0
  7. Sep 20, 2014
  8. Sep 12, 2014
  9. Sep 05, 2014
  10. Sep 01, 2014
  11. Aug 29, 2014
  12. Aug 28, 2014
  13. Aug 27, 2014
  14. Aug 26, 2014
Loading