diff options
| author | yangjie <[email protected]> | 2019-09-07 18:06:03 +0800 |
|---|---|---|
| committer | yangjie <[email protected]> | 2019-09-07 18:06:03 +0800 |
| commit | 27222e9cd82d112f1e9dc49f976a6f7b992ec2a7 (patch) | |
| tree | bf11a2acaeb8117d3390da15d90ff7ef042b0c62 /components/libc | |
| parent | 53fc84656b6bcd6b938856e4d14cac8c587ef26d (diff) | |
[compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/compilers/minilibc/math.h | 3 |
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 |
