mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 15:23:42 +03:00
[libc] Add isqrt() function to find integer square roots
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
14
src/include/ipxe/isqrt.h
Normal file
14
src/include/ipxe/isqrt.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _IPXE_ISQRT_H
|
||||
#define _IPXE_ISQRT_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Integer square root
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
extern unsigned long isqrt ( unsigned long value );
|
||||
|
||||
#endif /* _IPXE_ISQRT_H */
|
||||
Reference in New Issue
Block a user