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

Re: Floating point support?



Sven Wischnowsky said:
> 
> Peter Stephenson wrote:
> 
> > I'm thinking about adding some floating point support to zsh; this is just
> > to canvas opinions.
> 
> Yes!

Yes.  Its very useful in ksh93 (pksh).

> 
> > My idea is to add a floating point parameter type,
> > together with support in math evaluations (which would involve stuff like
> > promoting integers to floats etc.). 
> 
> That's what I was thinking about, too.
> 
> >  ...
> >
> > - Is anyone able to summarise what the status is with other shells
> > (particularly ksh)?
> 
> I once looked for floating point support in ksh, but don't remember
> everything, so... http://www.kornshell.com (sorry ;-)

    http://www.cs.princeton.edu/~jlk/kornshell/doc/man93.html
    http://members.xoom.com/_XOOM/dfrench/kshman93.html

You could also download UWIN from 

    http://www.research.att.com/sw/tools/uwin/

and that would give you a man page, and an "official" ksh, for NT/98/95.

---
peta



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