[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(newbie) fractional arithmetic
From: |
Joshua McFadden |
Subject: |
(newbie) fractional arithmetic |
Date: |
Fri, 09 Feb 2001 16:54:25 -0500 (EST) |
Hello! Short version: can Octave perform fractional arithmetic? E.g.,
1
x = -
9
instead of 0.1111... as a floating double?
Quoting the manual, "Note that all numeric constants are represented
within Octave in double-precision floating point form." I was hoping
someone had written a way around that. :)
I'm trying to explore iteration periods of the doubling function for a
class, and repeating decimals get lost in precision errors pretty quickly.
If anyone can suggest a more appropriate solution for Linux besides
shelling out for Mathematica, I'm all ears.
(Sorry if this is inane; I don't have the bandwith to search the
help-octave archive manually.)
Thanks!
-Josh
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- (newbie) fractional arithmetic,
Joshua McFadden <=
- Re: (newbie) fractional arithmetic, Kevin Straight, 2001/02/09
- Re: (newbie) fractional arithmetic, Prasanth Kumar, 2001/02/09
- Re: Octave and Maxima (was: (newbie) fractional arithmetic), Cederik, 2001/02/10
- Re: Octave and Maxima (was: (newbie) fractional arithmetic), Kevin Straight, 2001/02/11
- Re: Octave and Maxima (was: (newbie) fractional arithmetic), John W. Eaton, 2001/02/13
Re: (newbie) fractional arithmetic, Tony Roberts, 2001/02/11