Pyrogenesis  trunk
Sqrt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


u32 isqrt64 (u64 n)
 64-bit integer square root. More...

Function Documentation

◆ isqrt64()

u32 isqrt64 ( u64  n)

64-bit integer square root.

Returns r such that r^2 <= n < (r+1)^2, for the complete u64 range.