1. 23 Dec, 2020 1 commit
  2. 19 Dec, 2020 1 commit
    • Raymond Toy's avatar
      Fix #16: Use named-readtables · b7443c97
      Raymond Toy authored
      To make it easier for users to select the oct readtable, require the
      use of named-readtables.  We're using
      https://github.com/melisgl/named-readtables to implement the
      Thus use `(named-readtables:in-readtable oct:oct-readtable)` to set
      up the appropriate readtable to support #q.  To go back to the
      standard table, use `(named-readtables:in-readtable :standard)`.
  3. 27 Nov, 2020 1 commit
  4. 05 Dec, 2011 1 commit
  5. 08 Mar, 2011 1 commit
    • Raymond Toy's avatar
      Move #Q reader functions to new file qd-reader.lisp. · 3d37e3b9
      Raymond Toy authored
      o New file containing #Q reader functions.
      o Create a new readtable containing our reader functions so we don't
        destructively modify the default *readtable*.
      o Add qd-reader.lisp.
      o Set the *readtable* to *oct-readtable* before compiling these
  6. 13 Oct, 2007 1 commit
  7. 18 Sep, 2007 1 commit
    • Raymond Toy's avatar
      Add method RATIONAL to convert a quad-double to a rational. · f4131d11
      Raymond Toy authored
      o Appropriately shadow and export RATIONAL.
      o Need to export WITH-QD-PARTS from QDI.
      o Define methods for RATIONAL for reals and qd-reals.
      o Use CL:RATIONAL as appropriate for the CL rational type.
  8. 12 Sep, 2007 1 commit
    • Raymond Toy's avatar
      qd-package.lisp: · 5adc3136
      Raymond Toy authored
      o Rearrange some exports so the CMU ones are all grouped together.
      o Export new constants pi/2, pi/4, 2pi, and log2.
      o Export the qd-real and qd-complex types.
      o Define new constants for pi/2, pi/4, 2pi, and log2.
      o Update some of the macrolets to work with a modern-mode lisp, like
      o Use the new constants as needed.
  9. 31 Aug, 2007 2 commits
  10. 30 Aug, 2007 1 commit
  11. 28 Aug, 2007 3 commits
    • Raymond Toy's avatar
      qd-complex.lisp: · d84813f0
      Raymond Toy authored
      o Add ADD1 and SUB1 methods so we can use 1+ and 1- on quad-doubles.
      o Add INCF and DECF macros to support quad-doubles.
      o Forgot to shadow REALP, COMPLEXP, and NUMBERP, previously.
      o Shadow and export INCF and DECF.
    • Raymond Toy's avatar
      Add ADD1 method for QD-COMPLEX. · c529b5e2
      Raymond Toy authored
    • Raymond Toy's avatar
      qd-package.lisp: · 7768a27c
      Raymond Toy authored
      o Shadow REALP, COMPLEXP, and NUMBERP
      o Extend REALP, COMPLEXP, and NUMBERP to recognize QD-REAL and
        QD-COMPLEX types.
  12. 27 Aug, 2007 1 commit
  13. 26 Aug, 2007 1 commit
    • Raymond Toy's avatar
      qd-methods.lisp: · 1a8e07b8
      Raymond Toy authored
      o Oops.  Move COERCE to qd-complex.lisp because we use the #q reader
        macro.  (This needs to be reorganized better.)
      o Add RANDOM methods so we can generate quad-double random numbers.
      o Shadow RANDOM so we can add our own RANDOM to generate quad-doubles.
      o COERCE moved here.
  14. 25 Aug, 2007 1 commit
  15. 23 Aug, 2007 2 commits
    • toy's avatar
      Add method for UNARY-DIVIDE of QD-COMPLEX. · 1b2541a1
      toy authored
    • toy's avatar
      qd-complex.lisp: · d75d30cf
      toy authored
      o Moved some methods from qd-methods.lisp to here.
      o Was missing TWO-ARG-+ for qd-complex and qd-real (and vice versa)
      o Fixed mistake in TWO-ARG-- (QD-COMPLEX REAL)
      o Fixed mistake in TWO-ARG-- (QD-COMPLEX CL:COMPLEX)
      o Was missing TWO-ARG-- (QD_COMPLEX QD-REAL) and vice versa.
      o Was missing TWO-ARG-/ for (QD-REAL QD-COMPLEX)
      o Moved some methods from here to qd-methods.lisp
      o Reimplement QFLOAT (RATIO QD-REAL) to use internal functions instead
        of calling TWO-ARG-/ and QFLOAT
      o QABS (QD-COMPLEX) was returning the wrong thing.
  16. 22 Aug, 2007 1 commit
  17. 02 Jun, 2007 1 commit
  18. 30 May, 2007 1 commit
  19. 25 May, 2007 3 commits
    • toy's avatar
      o Remove unnecessary calls to FLOAT and FLOAT-SIGN---the args are · a02448dc
      toy authored
        known to be qd-real or qd-complex already.
      o In QD-COMPLEX-ATANH, revert the code that handles real args on the
        branch cuts.  This isn't needed anymore because the code was correct
        for z > 1 and calling qd-complex-atanh with (complex z -0) produces
        the correct branch.
    • toy's avatar
      o Fix QD-COMPLEX-ASIN again: · d548cab7
      toy authored
        - The previous fix for asin(-2) being wrong actually broke the case
          for asin(2).  Revert that.
        - The issue was that in our explicit handling of the atan(y/0) case
          we didn't take into account the sign y and 0.  Fix that.
    • toy's avatar
      Add a few comments, remove unused code. · 699cc3b2
      toy authored
  20. 24 May, 2007 5 commits
  21. 23 May, 2007 6 commits
  22. 22 May, 2007 4 commits