Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: inf and nan in arithmetic expansions
On Fri, Feb 9, 2018 at 1:09 PM, Stephane Chazelas
<stephane.chazelas@xxxxxxxxx> wrote:
> It seems to me that
> ksh93's approach at just treating "inf" and "nan" as literral
> constants representing their value like in C would be enough
Agree. We could also recognize "inf." and "nan." as constants so that
any scripts that explicitly compare for those wouldn't break, but I
have no argument with not generating the trailing dot on output.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author