Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Infinity and Inf?

by LanX (Saint)
on Aug 31, 2010 at 18:09 UTC ( [id://858198]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Infinity and Inf?
in thread Infinity and Inf?

> How is that weird?
DB<10> print 5+abc 5 DB<11> print 5+Inf inf

So Inf is a kind of dualvar but not a constant?

Strange...

Cheers Rolf

Replies are listed 'Best First'.
Re^5: Infinity and Inf?
by ikegami (Patriarch) on Aug 31, 2010 at 18:37 UTC

    You find it strange that "abc" numifies to zero?

    So Inf is a kind of dualvar but not a constant?

    No. Like I said in my last two posts, "Inf" (numifies to inf) is a string just like "5" (numifies to 5), "abc" (numifies to 0) and "5E1" (numifies to 50).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://858198]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found