Explorar el Código

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

yangjie hace 6 años
padre
commit
27222e9cd8
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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