Subject: Using Lisp rational .. was Re: Using Lisp complex
From: R Fateman
Date: Mon, 01 Aug 2011 08:28:44 -0700
A better case can be made for using CL rationals which appear to be
isomorphic to Maxima structures
of the form , e.g. ((rat simp) 1 2 ). numerator and denominator are
integers etc.
One advantage of our own rat), currently unutilized, is that we COULD in
Maxima, use ((rat) ...1/0 and -1/0 for pos and neg real infinities, 0/0
as undefined. oddly enough, these extension would probably make
simplification of rational number arithmetic faster.
There plenty of other possible representations. e.g. 2/0, 3/0 ...
RJF