2010-07-28 14:17:54 +02:00
|
|
|
#ifndef MATHEXT_H
|
|
|
|
#define MATHEXT_H
|
|
|
|
|
2010-07-29 10:43:32 +02:00
|
|
|
#define WRAP_FUN_DECL(FNAME, TY_IN, TY_OUT) \
|
|
|
|
typedef struct { \
|
|
|
|
TY_OUT o; \
|
|
|
|
} FNAME ## _out; \
|
|
|
|
\
|
|
|
|
void FNAME ## _step(TY_IN, FNAME ## _out *)
|
|
|
|
|
2011-09-06 14:30:30 +02:00
|
|
|
WRAP_FUN_DECL(Mathext__atanr, float, float);
|
|
|
|
WRAP_FUN_DECL(Mathext__acosr, float, float);
|
|
|
|
WRAP_FUN_DECL(Mathext__cosr, float, float);
|
|
|
|
WRAP_FUN_DECL(Mathext__asinr, float, float);
|
|
|
|
WRAP_FUN_DECL(Mathext__sinr, float, float);
|
|
|
|
WRAP_FUN_DECL(Mathext__sqrtr, float, float);
|
2010-07-28 14:17:54 +02:00
|
|
|
|
|
|
|
#endif
|