Use own implementation of popcount again to avoid U _GLOBAL_OFFSET_TABLE_.
[AROS.git] / workbench / libs / mathieeesingbas / mathieeesingbas_intern.h
blob5d85e79cf876d4ac75501cac527eacac701faca3
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #ifndef __MATHIEEESP_INTERN_H__
9 #define __MATHIEEESP_INTERN_H__
11 /* the following line is necessary so that the function headers are
12 created correctly and the functions can be compiled properly */
14 #define float LONG
16 /* This is a short file that contains a few things every mathieeespbas
17 function needs
19 #ifndef EXEC_TYPES_H
20 # include <exec/types.h>
21 #endif
22 #ifndef EXEC_LIBRARIES_H
23 # include <exec/libraries.h>
24 #endif
25 #ifndef EXEC_EXECBASE_H
26 # include <exec/execbase.h>
27 #endif
28 #ifndef DOS_DOS_H
29 # include <dos/dos.h>
30 #endif
32 #include <libraries/mathieeesp.h>
33 #include <aros/libcall.h>
34 #include <proto/mathieeesingbas.h>
35 #include <proto/exec.h>
37 /* Replace obsolete struct LibHeader with struct Library */
38 #define LibHeader Library
40 #define IEEESPMantisse_Mask 0x007FFFFF /* 23 bit for the mantisse */
41 #define IEEESPExponent_Mask 0x7F800000 /* 8 bit for the exponent */
42 #define IEEESPSign_Mask 0x80000000 /* 1 bit for the sign */
44 #define Zero_Bit 0x00000004 /* Flags of the 680xx CPU */
45 #define Negative_Bit 0x00000008
46 #define Overflow_Bit 0x00000002
48 #endif /* __MATHFFP_INTERN_H__ */