Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: floating point in zsh?



Todd Graham Lewis wrote:
> Sorry if this is an FAQ, but how does one do floating point math in zsh?
> Is it possible at all?  Do I have to code up some int->fp shell routines?
> 8^)

Nobody has added any support yet.  On the other hand, there's no
fundamental difficulty adding a `float' type to go along with
`integer'.  I suppose most people use perl when it comes to that.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author