bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] mystrtonum for any awk (Was: Handling hexadecimals in dif


From: Jarno Suni
Subject: Re: [bug-gawk] mystrtonum for any awk (Was: Handling hexadecimals in different modes)
Date: Tue, 22 Sep 2015 14:05:36 +0300

On Tue, 22 Sep 2015 13:51:14 +0300
Jarno Suni <address@hidden> wrote:

> On Wed, 9 Sep 2015 21:55:49 +0300
> Jarno Suni <address@hidden> wrote:
> 
[...]
> numbers. The function does not recognize thousand separators. It
> returns "NaN" for invalid numbers or "IB" for invalid base.

Oh, I suppose it is better to return "number" +nan, since awk
implementations seem to support it, and it will not be converted to 0
unlike string "NaN".

-- 
Jarno Ilari Suni - http://www.iki.fi/8/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]