Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • Raymond Toy's avatar
    106bf4fc
    Make the LOG function match what the deftransform for LOG does. · 106bf4fc
    Raymond Toy authored
    Without this, compiled code produces different answers from
    interpreted code.
    
     * src/code/irrat.lisp:
       * Add cases where the base is 2 or 10 to compute the log in the
         same way as the deftransform for LOG does.
     * tests/float.lisp:
       * Fix comparison to use equalp, not equal.
       * Add test for log10.
    106bf4fc
    History
    Make the LOG function match what the deftransform for LOG does.
    Raymond Toy authored
    Without this, compiled code produces different answers from
    interpreted code.
    
     * src/code/irrat.lisp:
       * Add cases where the base is 2 or 10 to compute the log in the
         same way as the deftransform for LOG does.
     * tests/float.lisp:
       * Fix comparison to use equalp, not equal.
       * Add test for log10.