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

Re: NaN semantics

Thread Previous | Thread Next
Jonathan Scott Duff
October 10, 2001 10:48
Re: NaN semantics
Message ID:
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  ;-)

Jonathan Scott Duff

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