floor

fun floor(n: Long): Long(source)

Largest r with r * r <= n, exact for every non-negative Long (the result is floored).