2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
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 */
16 /* This is a short file that contains a few things every mathieeespbas
20 #ifndef AROS_LIBCALL_H
21 # include <aros/libcall.h>
23 #ifndef PROTO_MATHFFP_H
24 # include <proto/mathieeespbas.h>
28 # include <exec/types.h>
30 #ifndef EXEC_LIBRARIES_H
31 # include <exec/libraries.h>
33 #ifndef EXEC_EXECBASE_H
34 # include <exec/execbase.h>
40 #include <libraries/mathieeesp.h>
41 #include <aros/libcall.h>
42 #include <proto/mathieeesingbas.h>
43 #include <proto/exec.h>
45 #include <libcore/base.h>
48 This is the MathIEEESPBasBase structure. It is documented here because
49 it is completely private. Applications should treat it as a struct
50 Library, and use the mathieeespbas.library functions to get information.
53 #define SysBase MathIeeeSingBasBase->lh_SysBase
55 #define IEEESPMantisse_Mask 0x007FFFFF /* 23 bit for the mantisse */
56 #define IEEESPExponent_Mask 0x7F800000 /* 8 bit for the exponent */
57 #define IEEESPSign_Mask 0x80000000 /* 1 bit for the sign */
59 #define Zero_Bit 0x00000004 /* Flags of the 680xx CPU */
60 #define Negative_Bit 0x00000008
61 #define Overflow_Bit 0x00000002
63 #endif /* __MATHFFP_INTERN_H__ */