1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
/* file generated by oo2c -- do not edit */
#ifndef _MODULE_RealMath_
#define _MODULE_RealMath_
#define RealMath__pi 3.14159274F
#define RealMath__exp1 2.71828175F
#define RealMath__NoError 0
#define RealMath__IllegalRoot 1
#define RealMath__IllegalLog 2
#define RealMath__Overflow 3
#define RealMath__IllegalPower 4
#define RealMath__IllegalLogBase 5
#define RealMath__IllegalTrig 6
#define RealMath__IllegalInvTrig 7
#define RealMath__HypInvTrigClipped 8
#define RealMath__IllegalHypInvTrig 9
#define RealMath__LossOfAccuracy 10
#define RealMath__Underflow 11
extern int RealMath__round(float x);
extern float RealMath__sqrt(float x);
extern float RealMath__exp(float x);
extern float RealMath__ln(float x);
extern float RealMath__sin(float x);
extern float RealMath__cos(float x);
extern float RealMath__tan(float x);
extern float RealMath__arcsin(float x);
extern float RealMath__arccos(float x);
extern float RealMath__arctan(float x);
extern float RealMath__power(float base, float exponent);
extern unsigned char RealMath__IsRMathException(void);
extern float RealMath__log(float x, float base);
extern float RealMath__ipower(float x, short int base);
extern void RealMath__sincos(float x, float *Sin, float *Cos);
extern float RealMath__arctan2(float xn, float xd);
extern float RealMath__sinh(float x);
extern float RealMath__cosh(float x);
extern float RealMath__tanh(float x);
extern float RealMath__arcsinh(float x);
extern float RealMath__arccosh(float x);
extern float RealMath__arctanh(float x);
extern void RealMath_init(void);
#endif
|