/[oct]/oct/qd-io.lisp
ViewVC logotype

Log of /oct/qd-io.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Feb 9 19:28:00 2011 UTC (3 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT_CONVERSION, HEAD
Changes since 1.22: +6 -5 lines
Diff to previous 1.22
Change MAKE-FLOAT to multiply by the sign AFTER we've created the
quad-double.  This way we create signed quad-double zeroes correctly.
Previously, the sign was applied to the rational which loses the sign
if the rational is 0.

Revision 1.22 - (view) (annotate) - [select for diffs]
Wed Jul 16 21:02:07 2008 UTC (5 years, 9 months ago) by rtoy
Branch: MAIN
Changes since 1.21: +4 -0 lines
Diff to previous 1.21
Add or cleanup some docstrings.

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Oct 16 17:05:13 2007 UTC (6 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: THREE-ARG-BRANCH-BASE, three-arg-branch-2007-11-07, three-arg-branch-merged-2007-11-07
Branch point for: THREE-ARG-BRANCH
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
o Add default implementation of float-infinity-p, float-nan-p,
  float-trapping-nan-p.  These return NIL by default, unless the Lisp
  implementation has a suitable version.
o Remove CMU conditionalization for float-infinity-p, float-nan-p,
  float-trapping-nan-p.

Revision 1.20 - (view) (annotate) - [select for diffs]
Mon Oct 15 18:53:44 2007 UTC (6 years, 6 months ago) by rtoy
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
o Oops.  Fix up a few IN-PACKAGE's for the new package names.

qd-fun.lisp:
o Comment out the old sin/cos routines
o Fix a few mistakes in accurate-sincos-qd
o Rename accurate-sincos-qd to sincos-qd.

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Oct 15 18:21:46 2007 UTC (6 years, 6 months ago) by rtoy
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
o Rename QUAD-DOUBLE-INTERNAL package to OCT-INTERNAL, with nickname
  OCTI instead of QDI.
o Rename OCT package to NET.COMMON-LISP.OCT, with a nickname of OCT
o Remove nickname of QD.  (Conflicts with other packages dealing with
  quad-doubles.)
o Update all uses of QDI: to OCTI:

qd-fun.lisp:
o Add REM-PI/2 to do a simpler computation if the arg is small
  enough.  Otherwise, use the accurate but expensive rem operation.
o Renamed ACCURATE-SIN-QD to SIN-QD, etc.
o Update SIN-QD etc to use REM-PI/2.

Revision 1.18 - (view) (annotate) - [select for diffs]
Wed Oct 10 15:24:07 2007 UTC (6 years, 6 months ago) by rtoy
Branch: MAIN
Changes since 1.17: +19 -68 lines
Diff to previous 1.17
qd-io.lisp:
o Add RATIONAL-TO-QD, a simple, fast and accurate method to convert
  rationals to quad-doubles.  (From Richard Fateman.)
o Use RATIONAL-TO-QD to create a quad-float

qd-methods.lisp:
o Use RATIONAL-TO-QD to create a quad-float from a bignum and ratio.

qd-package.lisp:
o Export RATIONAL-TO-QD

Revision 1.17 - (view) (annotate) - [select for diffs]
Mon Sep 24 21:32:15 2007 UTC (6 years, 6 months ago) by rtoy
Branch: MAIN
Changes since 1.16: +78 -2 lines
Diff to previous 1.16
A new version of MAKE-FLOAT that converts the number to rational
before converting to a quad-double.  This reduces round-off errors.
This still needs work, I think.

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Sep 24 02:37:31 2007 UTC (6 years, 6 months ago) by rtoy
Branch: MAIN
Changes since 1.15: +19 -23 lines
Diff to previous 1.15
Use more bits (265 instead of 212) when converting a rational to a
quad-double.  This fixes the issue that converting 10^100 to a
quad-double isn't as accurate as it could be.

Revision 1.15 - (view) (annotate) - [select for diffs]
Wed Sep 12 02:31:14 2007 UTC (6 years, 7 months ago) by rtoy
Branch: MAIN
Changes since 1.14: +2 -0 lines
Diff to previous 1.14
qd-fun.lisp:
o Remove unused var R1 in EXP-QD/REDUCE.
o TAN-QD was calling ZEROP instead of ZEROP-QD.
o Comment out extra copy of ASINH-QD.

qd-io.lisp:
o Ignore unused var in QD-PRINT-EXPONENT and QD-READER.

qd.lisp:
o Remove extra version of DIV-QD.

Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Aug 27 17:49:19 2007 UTC (6 years, 7 months ago) by rtoy
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
Use uninterned symbols for IN-PACKAGE.

Revision 1.13 - (view) (annotate) - [select for diffs]
Sat Aug 25 17:08:48 2007 UTC (6 years, 7 months ago) by rtoy
Branch: MAIN
Changes since 1.12: +25 -0 lines
Diff to previous 1.12
Add license information (MIT).

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Aug 24 21:45:16 2007 UTC (6 years, 7 months ago) by rtoy
Branch: MAIN
Changes since 1.11: +1 -0 lines
Diff to previous 1.11
qd-io.lisp:
o Get rid of the #q reader that returns an internal %qd-real.

qd-methods.lisp:
o QPHASE was returning the wrong kind of object for positive values.
o Replace use of #q0 with the construction of a qd-real 0.

qd-const.lisp:
o Replace all uses of #q with #.(qd-from-string ...).

Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Jun 13 16:34:52 2007 UTC (6 years, 10 months ago) by toy
Branch: MAIN
Changes since 1.10: +9 -0 lines
Diff to previous 1.10
Support for printing out quad-double NaN.

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Jun 11 21:53:10 2007 UTC (6 years, 10 months ago) by toy
Branch: MAIN
Changes since 1.9: +30 -0 lines
Diff to previous 1.9
Support for infinities for CMUCL.  Other platforms don't currently
support infinities.

qd-class.lisp:
o Print out infinities.

qd-io.lisp:
o QD-FORMAT handles infinities

qd-methods.lisp:
o Add constants for positive and negative quad-double infinities.

qd-package.lisp:
o Export +PI+
o Export infinities.

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Jun 1 14:29:10 2007 UTC (6 years, 10 months ago) by toy
Branch: MAIN
Changes since 1.8: +82 -80 lines
Diff to previous 1.8
Move the MAKE-FLOAT function from READ-QD to toplevel.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu May 24 16:56:04 2007 UTC (6 years, 10 months ago) by toy
Branch: MAIN
Changes since 1.7: +20 -12 lines
Diff to previous 1.7
o QD-OUTPUT-AUX prints signed zeroes now.
o Modify READ-QD to apply the sign at the very end.  That way negative
  zero is read as negative zero.

Revision 1.7 - (view) (annotate) - [select for diffs]
Mon May 21 15:31:55 2007 UTC (6 years, 10 months ago) by toy
Branch: MAIN
Changes since 1.6: +67 -0 lines
Diff to previous 1.6
Add QD-TO-STRING function.

Revision 1.6 - (view) (annotate) - [select for diffs]
Mon May 21 14:10:10 2007 UTC (6 years, 10 months ago) by toy
Branch: MAIN
Changes since 1.5: +33 -31 lines
Diff to previous 1.5
Print qd-real zero as 0.0q0 instead of 0.0q-372.

Revision 1.5 - (view) (annotate) - [select for diffs]
Wed May 16 18:15:44 2007 UTC (6 years, 11 months ago) by toy
Branch: MAIN
Changes since 1.4: +11 -8 lines
Diff to previous 1.4
Fix bug in reader introduced when removing double-double float stuff.
Was not correctly handling the case where the number of bits was < 106.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed May 16 16:58:57 2007 UTC (6 years, 11 months ago) by toy
Branch: MAIN
Changes since 1.3: +27 -8 lines
Diff to previous 1.3
o Remove any vestiges of double-double-float usage and replace with
  plain double-float.
o Add qd-from-string function.

Revision 1.3 - (view) (annotate) - [select for diffs]
Wed May 16 00:51:43 2007 UTC (6 years, 11 months ago) by toy
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
Should be in the QDI package, not QD.

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue May 15 21:46:33 2007 UTC (6 years, 11 months ago) by toy
Branch: MAIN
Changes since 1.1: +60 -51 lines
Diff to previous 1.1
o Remove some cmucl-specific hacks and add our own
  +double-float-min-e+ and +digits+.
o Prefix the arithmetic operators with the CL package.

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue May 15 16:52:06 2007 UTC (6 years, 11 months ago) by toy
Branch: MAIN
Move the quad-double IO functions to a new file.

qd-io.lisp:
o New file

qd.lisp:
o Moved IO functions from here to qd-io.lisp.

qd.system:
o Added qd-io.lisp to defsystem.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5