New attempt to get the svn revision into the AboutAROS requester.
[cake.git] / compiler / include / libraries / mathieeesp.h
blobc5be02b7560f9d8e18c6e432803905af48ce4286
1 #ifndef LIBRARIES_MATHIEEESP_H
2 #define LIBRARIES_MATHIEEESP_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Definitions for mathieeespbas.library and
9 mathieeesptrans.library
10 Lang: english
13 #ifndef PI
14 #define PI ((float)3.141592653589793)
15 #endif
17 #define TWO_PI (((float) 2) * PI)
18 #define PI2 (PI/((float)2))
19 #define PI4 (PI/((float)4))
21 #ifndef E
22 #define E ((float)2.718281828459045)
23 #endif
25 #define LOG10 ((float)2.302585092994046)
26 #define FPTEN ((float)10.0)
27 #define FPONE ((float)1.0)
28 #define FPHALF ((float)0.5)
29 #define FPZERO ((float)0.0)
30 #define trunc(x) ((int)(x))
31 #define round(x) ((int)((x) + 0.5))
32 #define itof(i) ((float)(i))
34 /* Now let's define the ANSI C functions and map them to the
35 IEEE signle precision functions
38 #define fabs IEEESPAbs
39 #define floor IEEESPFloor
40 #define ceil IEEESPCeil
42 #define cos IEEESPCos
43 #define acos IEEESPAcos
44 #define cosh IEEESPCosh
46 #define sin IEEESPSin
47 #define asin IEEESPAsin
48 #define sinh IEEESPSinh
50 #define tan IEEESPTan
51 #define atan IEEESPAtan
52 #define tanh IEEESPTanh
54 #define exp IEEESPExp
55 #define pow(a,b) IEEESPPow((b),(a))
56 #define log IEEESPLog
57 #define log10 IEEESPLog10
58 #define sqrt IEEESPSqrt
61 /* I also include the function prototypes here! */
62 #if 0
63 #ifndef PROTO_MATHIEEESINGBAS_H
64 #include <proto/mathieeesingbas.h>
65 #endif
67 #ifndef PROTO_MATHIEEESINGTRANS_H
68 #include <proto/mathieeesingtrans.h>
69 #endif
70 #endif
71 #endif /* LIBRARIES_MATHIEEESP_H */