2 * Written by J.T. Conklin, Apr 6, 1995
6 #ifndef _POWERPC_IEEEFP_H_
7 #define _POWERPC_IEEEFP_H_
10 #define FP_X_IMP 0x01 /* imprecise (loss of precision) */
11 #define FP_X_DZ 0x02 /* divide-by-zero exception */
12 #define FP_X_UFL 0x04 /* underflow exception */
13 #define FP_X_OFL 0x08 /* overflow exception */
14 #define FP_X_INV 0x10 /* invalid operation exception */
17 FP_RN
=0, /* round to nearest representable number */
18 FP_RZ
=1, /* round to zero (truncate) */
19 FP_RP
=2, /* round toward positive infinity */
20 FP_RM
=3 /* round toward negative infinity */
23 #endif /* _POWERPC_IEEEFP_H_ */