aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sqrtu32.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/sqrtu32.h14
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);