in reply to Re: Finding the hypotenuse of a right triangle!
in thread Finding the hypotenuse of a right triangle!

a negative length doesnt exist smarty pants and who in the hell would use one?
  • Comment on Re: Re: Finding the hypotenuse of a right triangle!

Replies are listed 'Best First'.
Re3: Finding the hypotenuse of a right triangle!
by belg4mit (Prior) on Apr 16, 2002 at 05:18 UTC
    It's called data validation tr0ll. Although this particular algorythm is transparent(and by this I mean it could care less -1**2==1**2)to negative numbers, that does not mean one should let bad data through.

    --
    perl -pe "s/\b;([mnst])/'\1/mg"