Added a test for MUIA_Listview_SelectChange.
[AROS.git] / compiler / include / libraries / mathieeedp.h
blob52c1f5183e87fadce81bdabfd32cb4945fb0e75b
1 #ifndef LIBRARIES_MATHIEEEDP_H
2 #define LIBRARIES_MATHIEEEDP_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Definitions for mathieeedpbas.library and
9 mathieeedptrans.library
10 Lang: english
13 #ifndef PI
14 #define PI ((double)3.141592653589793)
15 #endif
17 #define TWO_PI (((double) 2) * PI)
18 #define PI2 (PI/((double)2))
19 #define PI4 (PI/((double)4))
21 #ifndef E
22 #define E ((double)2.718281828459045)
23 #endif
25 #define LOG10 ((double)2.302585092994046)
26 #define FPTEN ((double)10.0)
27 #define FPONE ((double)1.0)
28 #define FPHALF ((double)0.5)
29 #define FPZERO ((double)0.0)
30 #define trunc(x) ((int)(x))
31 #define round(x) ((int)((x) + 0.5))
32 #define itof(i) ((double)(i))
34 /* Now let's define the ANSI C functions and map them to the
35 IEEE signle precision functions
38 #define fabs IEEEDPAbs
39 #define floor IEEEDPFloor
40 #define ceil IEEEDPCeil
42 #define cos IEEEDPCos
43 #define acos IEEEDPAcos
44 #define cosh IEEEDPCosh
46 #define sin IEEEDPSin
47 #define asin IEEEDPAsin
48 #define sinh IEEEDPSinh
50 #define tan IEEEDPTan
51 #define atan IEEEDPAtan
52 #define tanh IEEEDPTanh
54 #define exp IEEEDPExp
55 #define pow(a,b) IEEEDPPow((b),(a))
56 #define log IEEEDPLog
57 #define log10 IEEEDPLog10
58 #define sqrt IEEEDPSqrt
61 /* I also include the function prototypes here! */
63 #ifndef PROTO_MATHIEEEDOUBBAS_H
64 #include <proto/mathieeedoubbas.h>
65 #endif
67 #ifndef PROTO_MATHIEEEDOUBTRANS_H
68 #include <proto/mathieeedoubtrans.h>
69 #endif
71 #endif /* LIBRARIES_MATHIEEEDP_H */