1. 05 Dec, 2011 1 commit
  2. 08 Mar, 2011 1 commit
    • Raymond Toy's avatar
      Move #Q reader functions to new file qd-reader.lisp. · 3d37e3b9
      Raymond Toy authored
      qd-reader.lisp:
      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*.
      
      oct.asd:
      o Add qd-reader.lisp.
      
      qd-complex.lisp:
      qd-elliptic.lisp:
      qd-format.lisp:
      o Set the *readtable* to *oct-readtable* before compiling these
        files.
      3d37e3b9
  3. 13 Oct, 2007 1 commit
  4. 18 Sep, 2007 1 commit
    • Raymond Toy's avatar
      Add method RATIONAL to convert a quad-double to a rational. · f4131d11
      Raymond Toy authored
      qd-package.lisp:
      o Appropriately shadow and export RATIONAL.
      o Need to export WITH-QD-PARTS from QDI.
      
      qd-methods.lisp:
      o Define methods for RATIONAL for reals and qd-reals.
      
      qd-complex.lisp:
      o Use CL:RATIONAL as appropriate for the CL rational type.
      f4131d11
  5. 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.
      
      qd-methods.lisp:
      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
        Allegro.
      
      qd-complex.lisp:
      o Use the new constants as needed.
      5adc3136
  6. 31 Aug, 2007 2 commits
  7. 30 Aug, 2007 1 commit
  8. 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.
      
      qd-package.lisp:
      o Forgot to shadow REALP, COMPLEXP, and NUMBERP, previously.
      o Shadow and export INCF and DECF.
      d84813f0
    • Raymond Toy's avatar
      Add ADD1 method for QD-COMPLEX. · c529b5e2
      Raymond Toy authored
      c529b5e2
    • Raymond Toy's avatar
      qd-package.lisp: · 7768a27c
      Raymond Toy authored
      o Shadow REALP, COMPLEXP, and NUMBERP
      
      qd-complex.lisp:
      o Extend REALP, COMPLEXP, and NUMBERP to recognize QD-REAL and
        QD-COMPLEX types.
      7768a27c
  9. 27 Aug, 2007 1 commit
  10. 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.
      
      qd-package.lisp:
      o Shadow RANDOM so we can add our own RANDOM to generate quad-doubles.
      
      qd-complex.lisp:
      o COERCE moved here.
      1a8e07b8
  11. 25 Aug, 2007 1 commit
  12. 23 Aug, 2007 2 commits
    • toy's avatar
      Add method for UNARY-DIVIDE of QD-COMPLEX. · 1b2541a1
      toy authored
      1b2541a1
    • 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)
      
      qd-methods.lisp:
      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.
      d75d30cf
  13. 22 Aug, 2007 1 commit
  14. 02 Jun, 2007 1 commit
  15. 30 May, 2007 1 commit
  16. 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.
      a02448dc
    • 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.
      d548cab7
    • toy's avatar
      Add a few comments, remove unused code. · 699cc3b2
      toy authored
      699cc3b2
  17. 24 May, 2007 5 commits
  18. 23 May, 2007 6 commits
  19. 22 May, 2007 5 commits
  20. 21 May, 2007 2 commits