summaryrefslogtreecommitdiff
path: root/src/stdfix/sqrtuhr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdfix/sqrtuhr.h')
-rw-r--r--src/stdfix/sqrtuhr.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/stdfix/sqrtuhr.h b/src/stdfix/sqrtuhr.h
new file mode 100644
index 000000000000..fd95f0924e8d
--- /dev/null
+++ b/src/stdfix/sqrtuhr.h
@@ -0,0 +1,20 @@
+//===-- Implementation header for sqrtuhr -----------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_STDFIX_SQRTUHR_H
+#define LLVM_LIBC_SRC_STDFIX_SQRTUHR_H
+
+#include "include/llvm-libc-macros/stdfix-macros.h"
+
+namespace LIBC_NAMESPACE {
+
+unsigned short fract sqrtuhr(unsigned short fract x);
+
+} // namespace LIBC_NAMESPACE
+
+#endif // LLVM_LIBC_SRC_STDFIX_SQRTUHR_H