develooper Front page | perl.perl6.language | Postings from October 2001

Re: NaN+NaNi

Thread Previous | Thread Next
Jonathan Scott Duff
October 11, 2001 10:48
Re: NaN+NaNi
Message ID:
On Thu, Oct 11, 2001 at 01:26:12PM -0400, Aaron Sherman wrote:
> No, I think if you want "10_000" to be 10000, you can always
> eval it, but I don't think anyone reading in text should expect
> that.

I'll agree as long as we make the string "1e2foo" evaluate to 1 in a
numeric context rather than 100 (as it does in perl 5 now).  And if we
get complex numbers in core, the string "10i" should evaluate to
10 in numeric context, not 10i.

Jonathan Scott Duff

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About