Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Seeing if two numbers have the same sign ($x / abs $x)

by WoodyWeaver (Monk)
on Jan 12, 2008 at 13:24 UTC ( [id://662057]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Seeing if two numbers have the same sign ($x / abs $x)
in thread Seeing if two numbers have the same sign

arg, eyes are getting old. You are absolutely right. I was thinking of the "trick" people had described about taking the product and checking if positive; you are indeed normalizing the vectors and checking for equality.
  • Comment on Re^4: Seeing if two numbers have the same sign ($x / abs $x)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2026-03-08 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.