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

Re: NaN+NaNi

Thread Previous | Thread Next
From:
Jonathan Scott Duff
Date:
October 11, 2001 10:48
Subject:
Re: NaN+NaNi
Message ID:
20011011124645.M17820@cbi.tamucc.edu
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.

-Scott
-- 
Jonathan Scott Duff
duff@cbi.tamucc.edu

Thread Previous | Thread Next


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