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

Re: NaN semantics

Thread Previous | Thread Next
From:
Jonathan Scott Duff
Date:
October 10, 2001 10:48
Subject:
Re: NaN semantics
Message ID:
20011010124758.E17820@cbi.tamucc.edu
On Wed, Oct 10, 2001 at 10:21:38AM -0700, David Whipp wrote:
> First this thread tells me that "123foo" will be 123 in numeric
> context. Now I find myself wondering what "123indigo" evaluates
> to!

It would evaluate to 123.  If "use complex" is in effect, it would
evaluate to 123i.  At least that's the position I'm taking at the
moment  ;-)

-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