diff options
author | Neal H. Walfield <[email protected]> | 2016-09-07 06:55:17 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-09-07 06:55:17 +0000 |
commit | 1f90d3c71e3e48d0c4b7722a607464876bb71794 (patch) | |
tree | 669c2ac8e039943eb20be8cc9c75fcdcc3e9e7ff /g10/sqrtu32.h | |
parent | gpg: Fix format string issues in tofu. (diff) | |
download | gnupg-1f90d3c71e3e48d0c4b7722a607464876bb71794.tar.gz gnupg-1f90d3c71e3e48d0c4b7722a607464876bb71794.zip |
g10: Add missing sqrtu32.h and sqrtu32.c.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Fixes-commit: 875ac92.
Diffstat (limited to '')
-rw-r--r-- | g10/sqrtu32.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/g10/sqrtu32.h b/g10/sqrtu32.h new file mode 100644 index 000000000..566784d9f --- /dev/null +++ b/g10/sqrtu32.h @@ -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); |