Skip to content
Snippets Groups Projects
  1. May 17, 2015
  2. May 16, 2015
  3. May 14, 2015
  4. May 12, 2015
  5. May 10, 2015
  6. May 09, 2015
  7. May 07, 2015
    • Raymond Toy's avatar
      Add support for hemlock. · 3a837db1
      Raymond Toy authored
      With these additions, hemlock builds now and runs. (I only tested that
      hemlock starts and that text can be entered.)
      3a837db1
  8. May 04, 2015
  9. Apr 25, 2015
  10. Apr 22, 2015
  11. Apr 18, 2015
  12. Dec 03, 2014
  13. Dec 01, 2014
    • Raymond Toy's avatar
      Fix to handle (log 3/2 2) and (log -3/2 2). Test added. · 5f81e241
      Raymond Toy authored
       * src/code/irrat.lisp:
         * Fix LOG2 to handle the case of negative rational numbers.
         * Fix LOG of rational to a rational base. We want to convert the
           log of the number to a single float because log2 isn't intended
           to handle single-float type.
      
       * tests/irrat.lisp:
         * Add test for log of rational to rational base.
         * Add some additional tests for dd-%log2.
      5f81e241
  14. Nov 30, 2014
    • Raymond Toy's avatar
    • Raymond Toy's avatar
      Partially addresses ticket:91 by allowing the test suite to finish. · 70181ee7
      Raymond Toy authored
      The tests still fail (along with others), but the test suite will
      finish.
      
       * code/float-trap.lisp:
         * Update SET-FLOATING-POINT-MODES:
           * When we clear out bits in float-invalid-op-1-byte, clear out the
             float-invalid-op-2-byte.  Not necessary for this fix, but those
             bits signal other invalid operations from sqrt and such.
           * When clearing the exceptions, clear the sticky exceptions
             summary bit too.
         * Fix SIGFPE-HANDLER:
           * As above, clear out the bit in float-invalid-op-2-byte and the
             exceptions summary bit.
           * Only clear out the new exception bits, as done for SSE2.
           * Mask out the float-invalid-op-2-byte and the summary bit before
             setting the new modes.
      
       * compiler/ppc/parms.lisp
         * Define float-exceptions-summary-byte.
      
       * code/exports.lisp:
         * Export FLOAT-INVALID-OP-2-BYTE
      70181ee7
  15. Nov 27, 2014
    • Raymond Toy's avatar
      Fix up a few more issues with log. · 55d04a31
      Raymond Toy authored
       * src/code/irrat.lisp:
         * In log10, return the correct type for the result.  Previously, we
           would return a double even if a single were desired.
         * Fix up a few more cases where we failed to handle log of a huge
           rational correctly for log base 2 and base 10.
       * tests/irrat.lisp:
         * Add some tests to check that log returns the correct type of
           number for the log base 2 and 10 of very large rationals.
      55d04a31
  16. Nov 26, 2014
    • Raymond Toy's avatar
      Fix some issues with log2 and log10 of big rationals. · 37d383ae
      Raymond Toy authored
       * src/code/irrat.lisp:
         * Add log10 function to handle the computation of the base 10 log
           of big rationals that might not fit in a double-float.
         * Fix some issues where CL:LOG wasn't handling logs of big
           rationals. (A regression).
       * tests/trac.lisp:
         * Update trac.8 test to include logs base 10.
      37d383ae
    • Raymond Toy's avatar
      Use new log2 function in C · 0a522bd0
      Raymond Toy authored
       * code/exports.lisp:
         * Export %LOG2.
       * code/irrat.lisp:
         * Define %log2
         * Use %log2 instead of log2. (This needs work)
       * compiler/float-tran.lisp:
         * Use %log2 instead of log2 in the deftransforms.
      0a522bd0
  17. Nov 25, 2014
  18. Nov 24, 2014
Loading