[Home]History of Sin Varg

Robo Home | Changes | Preferences | AllPages

Revision 33 . . (edit) November 22, 2006 0:38 EST by Martin Alan Pedersen
Revision 32 . . November 21, 2006 23:28 EST by David Alves [Math.hypot]
Revision 31 . . November 21, 2006 22:25 EST by Voidious [comment about method speeds]

Difference (from prior major revision) (minor diff, author diff)

Added: 76a77,79

The reason Math.hypot is so slow is that it doesn't square the arguments first. The idea is to let you call Math.hypot with extremely large numbers and not get overflow. By the way, you really shouldn't use that function, not everyone is running the latest java, and that function wasn't in 5.0. --David Alves
*Did you mean "in prior to 5.0"? -- Martin

Robo Home | Changes | Preferences | AllPages