瀏覽代碼

[compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义

yangjie 6 年之前
父節點
當前提交
27222e9cd8
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      components/libc/compilers/minilibc/math.h

+ 3 - 0
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