Kaynağa Gözat

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

yangjie 6 yıl önce
ebeveyn
işleme
27222e9cd8
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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