file: jobg.t package: muf status: alpha
The magnitude function accepts a length-3 32-bit float
vector and returns its magnitude, given mathematically
by the formula sqrt( x*x + y*y + z*z ). The actual
formula used is a bit more involved to reduce precision problems.
Go to the first, previous, next, last section, table of contents.