summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authoryangjie <[email protected]>2019-09-07 18:06:03 +0800
committeryangjie <[email protected]>2019-09-07 18:06:03 +0800
commit27222e9cd82d112f1e9dc49f976a6f7b992ec2a7 (patch)
treebf11a2acaeb8117d3390da15d90ff7ef042b0c62 /components
parent53fc84656b6bcd6b938856e4d14cac8c587ef26d (diff)
[compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义
Diffstat (limited to 'components')
-rw-r--r--components/libc/compilers/minilibc/math.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/libc/compilers/minilibc/math.h b/components/libc/compilers/minilibc/math.h
index 9ddb9c859b..49b80d8219 100644
--- a/components/libc/compilers/minilibc/math.h
+++ b/components/libc/compilers/minilibc/math.h
@@ -14,4 +14,7 @@
double sin(double x);
double cos(double x);
+typedef float float_t;
+typedef double double_t;
+
#endif