mirror of
git://git.musl-libc.org/musl
synced 2024-12-15 19:25:55 +00:00
add float_t and double_t to math.h
This commit is contained in:
parent
88d84b7cc8
commit
414a4cdebc
@ -56,6 +56,9 @@ TYPEDEF uint64_t uint_fast64_t;
|
|||||||
TYPEDEF long intptr_t;
|
TYPEDEF long intptr_t;
|
||||||
TYPEDEF unsigned long uintptr_t;
|
TYPEDEF unsigned long uintptr_t;
|
||||||
|
|
||||||
|
TYPEDEF float float_t;
|
||||||
|
TYPEDEF double double_t;
|
||||||
|
|
||||||
TYPEDEF long time_t;
|
TYPEDEF long time_t;
|
||||||
TYPEDEF int suseconds_t;
|
TYPEDEF int suseconds_t;
|
||||||
STRUCT timeval { time_t tv_sec; int tv_usec; };
|
STRUCT timeval { time_t tv_sec; int tv_usec; };
|
||||||
|
@ -64,6 +64,9 @@ TYPEDEF uint64_t uint_fast64_t;
|
|||||||
TYPEDEF long intptr_t;
|
TYPEDEF long intptr_t;
|
||||||
TYPEDEF unsigned long uintptr_t;
|
TYPEDEF unsigned long uintptr_t;
|
||||||
|
|
||||||
|
TYPEDEF long double float_t;
|
||||||
|
TYPEDEF long double double_t;
|
||||||
|
|
||||||
TYPEDEF long time_t;
|
TYPEDEF long time_t;
|
||||||
TYPEDEF int suseconds_t;
|
TYPEDEF int suseconds_t;
|
||||||
STRUCT timeval { time_t tv_sec; int tv_usec; };
|
STRUCT timeval { time_t tv_sec; int tv_usec; };
|
||||||
|
@ -55,6 +55,9 @@ TYPEDEF uint64_t uint_fast64_t;
|
|||||||
TYPEDEF long intptr_t;
|
TYPEDEF long intptr_t;
|
||||||
TYPEDEF unsigned long uintptr_t;
|
TYPEDEF unsigned long uintptr_t;
|
||||||
|
|
||||||
|
TYPEDEF double float_t;
|
||||||
|
TYPEDEF double double_t;
|
||||||
|
|
||||||
TYPEDEF long time_t;
|
TYPEDEF long time_t;
|
||||||
TYPEDEF long suseconds_t;
|
TYPEDEF long suseconds_t;
|
||||||
STRUCT timeval { time_t tv_sec; long tv_usec; };
|
STRUCT timeval { time_t tv_sec; long tv_usec; };
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define __NEED_float_t
|
||||||
|
#define __NEED_double_t
|
||||||
#define __NEED___uint16_t
|
#define __NEED___uint16_t
|
||||||
#define __NEED___uint32_t
|
#define __NEED___uint32_t
|
||||||
#define __NEED___uint64_t
|
#define __NEED___uint64_t
|
||||||
|
Loading…
Reference in New Issue
Block a user