1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

g10: Add missing sqrtu32.h and sqrtu32.c.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
Fixes-commit: 875ac92.
This commit is contained in:
Neal H. Walfield 2016-09-07 08:55:17 +02:00
parent 97a67d42dc
commit 1f90d3c71e
4 changed files with 260 additions and 5 deletions

14
g10/sqrtu32.h Normal file
View file

@ -0,0 +1,14 @@
/* sqrtu32.h - Return the very approximate sqrt of an unsigned integer.
*
* This file by g10 Code GmbH
*
* To the extent possible under law, the person who associated CC0 with
* g10 Code GmbH has waived all copyright and related or neighboring rights
* to this file.
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
/* Return the very approximate square root of an unsigned integer. */
float sqrtu32 (unsigned int i);