summaryrefslogtreecommitdiff
path: root/core/nds32/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/nds32/include/math.h')
-rw-r--r--core/nds32/include/math.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/nds32/include/math.h b/core/nds32/include/math.h
new file mode 100644
index 0000000000..49d5585657
--- /dev/null
+++ b/core/nds32/include/math.h
@@ -0,0 +1,14 @@
+/* Copyright 2017 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Math utility functions for N8 */
+
+#ifndef __CROS_EC_MATH_H
+#define __CROS_EC_MATH_H
+
+float sqrtf(float x);
+float fabsf(float x);
+
+#endif /* __CROS_EC_MATH_H */