소스 검색

[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