Skip to content
Snippets Groups Projects
  1. Dec 28, 2015
  2. Dec 25, 2015
  3. Dec 24, 2015
  4. Dec 23, 2015
  5. Dec 20, 2015
  6. Dec 19, 2015
  7. Oct 17, 2015
    • Raymond Toy's avatar
      Add tests for issue #10. · b239ce3f
      Raymond Toy authored
      Covers 1, 2, and 4-bit arrays.
      
      Manually verified that the cmucl 21a fails these tests, as expected,
      when the index is a multiple of the number of elements per 32-bit
      word.
      b239ce3f
  8. Aug 01, 2015
    • Raymond Toy's avatar
      Fix #4 again, but for negative indices. · 5a1ecf1a
      Raymond Toy authored
      o Add declaration for LIST-ELT* that the index is a kerrnel:index.
      o Clean up ELT to directly call LIST-ELT* instead of having an inlined
        version.
      o Fix typo: issue.5 is really issue.4.
      o Add tests for invalid indices for ELT and (SETF ELT) for both lists
        and vectors.
      5a1ecf1a
  9. Jul 26, 2015
    • Raymond Toy's avatar
      Use asdf instead of defsystem. · 00564a1f
      Raymond Toy authored
      Then when the pcl tests are compiled, the fasls are stored somewhere
      else instead of in the tests/pcl directory.  This means the src
      directory isn't polluted with fasls when we make a source tarball.
      00564a1f
  10. Jun 24, 2015
    • Raymond Toy's avatar
      Check for function names correctly · 89074ab3
      Raymond Toy authored
      Fix #7
      
      The change to use extended names like (flet frob) broke the detection
      of local names for get-setf-expansion.  Fix it.  This reverts behavior
      back to what 18a used to do.
      
      A test for this is also added.
      89074ab3
  11. Jun 22, 2015
  12. Jun 14, 2015
    • Raymond Toy's avatar
      Fix #4: ELT signals error on invalid index on lists · 1ca0a557
      Raymond Toy authored
      code/seq.lisp:
      o Define internal LIST-ELT* function that executes ELT on lists,
        signaling an error if the index is invalid.
      
      compiler/seqtran.lisp:
      o Change the deftransform for ELT to use LIST-ELT* instead of NTH.
      
      tests/issues.lisp:
      o Add test for this issue.
      1ca0a557
  13. Apr 25, 2015
  14. 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
  15. Nov 28, 2014
  16. 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
  17. 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
  18. Nov 25, 2014
  19. Nov 24, 2014
  20. Nov 06, 2014
    • Raymond Toy's avatar
      Add iterators and loop paths for codepoints and glyphs · 2b1925b6
      Raymond Toy authored
       * src/code/string.lisp:
         * Add WITH-STRING-CODEPOINT-ITERATOR to allow iterating over the
           codepoints in a string.
         * Add WITH-STRING-GLYPO-ITERATOR to allow iterating over the
           glpyhs in a string.
       * src/code/exports.lisp:
         * Export WITH-STRING-CODEPOINT-ITERATOR and
           WITH-STRING-GLYPH-ITERATOR. 
       * src/code/loop.lisp:
         * Support (loop for cp being the codepoint of string ...) which
           extracts the consecutive codepoints from the string. Allow
           codepoints, code-point, and code-points as aliases of codepoint.
         * Support (loop for g-string being the glyph of string ...) which
           extracts each glyph (as a string) from the string.  Allow glpyhs
           as an alias.
       * tests/extended-loop.lisp:
         * New file of tests for the new loop paths.
       * src/i18n/locale/cmucl.pot:
         * Update.
      2b1925b6
    • Raymond Toy's avatar
      Add a final newline to the file. · 4c0e2967
      Raymond Toy authored
      4c0e2967
  21. Nov 03, 2014
Loading