llvm-mos-sdk
math.h
Go to the documentation of this file.
1 // Stub implementation of math.h.
2 
3 #ifndef _MATH_H_
4 #define _MATH_H_
5 
6 #include <stddef.h>
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #define FP_NORMAL 0
13 #define FP_SUBNORMAL 1
14 #define FP_ZERO 2
15 #define FP_INFINITE 3
16 #define FP_NAN 4
17 
18 #define INFINITY (1.0f / 0.0f)
19 
20 #define isnan(arg) __builtin_isnan(arg)
21 
22 double fmin(double x, double y);
23 double fmax(double x, double y);
24 float fminf(float x, float y);
25 float fmaxf(float x, float y);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif // not _MATH_H_
x
byte x
Definition: api.h:26
y
byte byte y
Definition: api.h:26
fmaxf
float fmaxf(float x, float y)
fmax
double fmax(double x, double y)
fminf
float fminf(float x, float y)
fmin
double fmin(double x, double y)