summaryrefslogtreecommitdiff
path: root/include/math_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math_util.h')
-rw-r--r--include/math_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/math_util.h b/include/math_util.h
index 1bcff13525..9e6b73aac7 100644
--- a/include/math_util.h
+++ b/include/math_util.h
@@ -90,6 +90,11 @@ static inline fp_t fp_abs(fp_t a)
return (a >= INT_TO_FP(0) ? a : -a);
}
+/**
+ * Square root
+ */
+fp_t fp_sqrtf(fp_t a);
+
/*
* Fixed point matrix
*