Go to the source code of this file.
|
int | ft_sqrt (int num) |
| Computes an integer square root of a given number, if it exists. More...
|
|
◆ ft_sqrt()
Computes an integer square root of a given number, if it exists.
- Parameters
-
num | The number of which to take a square root. |
- Returns
- The integer square root, or
-1
if it doesn't exit.
Definition at line 20 of file ft_sqrt.c.