picolisp

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/picolisp.git/
Log | Files | Refs | README | LICENSE

commit 1bc1ab9fcfe5bee18af6897c34f4eb734f55eff9
parent 3d25c269920d9108898ce2fb3696092ecf29f548
Author: Commit-Bot <unknown>
Date:   Sat, 26 Jun 2010 05:03:19 +0000

Automatic commit from picoLisp.tgz, From: Sat, 26 Jun 2010 05:03:19 GMT
Diffstat:
MReleaseNotes | 12+++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/ReleaseNotes b/ReleaseNotes @@ -1,4 +1,4 @@ -11jun10abu +26jun10abu (c) Software Lab. Alexander Burger @@ -38,3 +38,13 @@ F. The stack is now checked at runtime (also only in the 64-bit version). This operating system sent a segmentation violation signal. With the stack checks, a controlled error handler is entered upon stack overflow. The stack segment size can be manipulated with the new 'stack' function. + +G. There is now a basic rational arithmetics package (fractional numbers) in + "lib/frac.l". Fractions are represented as dotted pairs. + + : (f+ (1 . 2) (1 . 3)) + -> (5 . 6) + : (f* (1 . 2) (1 . 3)) + -> (1 . 6) + : (let S (frac 0 1) (for N 10 (setq S (f+ S (frac 1 N))))) + -> (7381 . 2520)