Expand description

Math helper functions.

Traits

Implement the fast approximate computation of ‘1/sqrt(x)’ for a type.

Functions

Fast approximate computation of 1/sqrt(x). The error should be below 0.2%.

Fast approximate computation of 1/sqrt(x). The error should be below 0.2%.

Compute square root of integers using Newtons method. Returns the biggest integer which is smaller or equal to the actual square root of n. Similar to (i as f64).sqrt().floor() as T but without type conversions.