develooper Front page | perl.perl5.porters | Postings from September 2014

Re: [perl #122856] Inconsistent string vs number handling for ch(Inf)

Thread Previous
From:
Jarkko Hietaniemi
Date:
September 26, 2014 21:03
Subject:
Re: [perl #122856] Inconsistent string vs number handling for ch(Inf)
Message ID:
5425D499.4000704@iki.fi
On Friday-201409-26, 16:49, Father Chrysostomos (via RT) wrote:
> "Inf" and 0+Inf have the same numeric and string representations, so chr should treat them the same way.  Either we should revert to treating inf as 0 (or 0xff, whichever), or make chr("Inf") die, too.

Death.


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About