#ifndef LUA_MATH_H_
#define LUA_MATH_H_

#include <sys/cdefs.h>
#if 0
#define HUGE_VAL (__builtin_huge_val())

__BEGIN_DECLS

static inline double tan(double x) {
	return 0.0;
}

static inline double tanh(double x) {
	return 0.0;
}

static inline double ldexp(double x, int exp) {
	return exp == 0 ? x : 0.0; /* i.e. not implemented */
}

__END_DECLS
#endif

#include_next <math.h>

#endif /* LUA_MATH_H_ */
