ieeefp.h (22975) | ieeefp.h (49081) |
---|---|
1/*- 2 * Copyright (c) 1990 Andrew Moore, Talke Studio 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#) ieeefp.h 1.0 (Berkeley) 9/23/93 | 1/*- 2 * Copyright (c) 1990 Andrew Moore, Talke Studio 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#) ieeefp.h 1.0 (Berkeley) 9/23/93 |
34 * $Id$ | 34 * $Id: ieeefp.h,v 1.5 1997/02/22 09:34:41 peter Exp $ |
35 */ 36 37/* 38 * IEEE floating point type and constant definitions. 39 */ 40 41#ifndef _MACHINE_IEEEFP_H_ 42#define _MACHINE_IEEEFP_H_ --- 24 unchanged lines hidden (view full) --- 67 * FP exception masks 68 */ 69#define FP_X_INV 0x01 /* invalid operation */ 70#define FP_X_DNML 0x02 /* denormal */ 71#define FP_X_DZ 0x04 /* zero divide */ 72#define FP_X_OFL 0x08 /* overflow */ 73#define FP_X_UFL 0x10 /* underflow */ 74#define FP_X_IMP 0x20 /* (im)precision */ | 35 */ 36 37/* 38 * IEEE floating point type and constant definitions. 39 */ 40 41#ifndef _MACHINE_IEEEFP_H_ 42#define _MACHINE_IEEEFP_H_ --- 24 unchanged lines hidden (view full) --- 67 * FP exception masks 68 */ 69#define FP_X_INV 0x01 /* invalid operation */ 70#define FP_X_DNML 0x02 /* denormal */ 71#define FP_X_DZ 0x04 /* zero divide */ 72#define FP_X_OFL 0x08 /* overflow */ 73#define FP_X_UFL 0x10 /* underflow */ 74#define FP_X_IMP 0x20 /* (im)precision */ |
75#define FP_X_STK 0x40 /* stack fault */ |
|
75 76/* 77 * FP registers 78 */ 79#define FP_MSKS_REG 0 /* exception masks */ 80#define FP_PRC_REG 0 /* precision */ 81#define FP_RND_REG 0 /* direction */ 82#define FP_STKY_REG 1 /* sticky flags */ --- 18 unchanged lines hidden --- | 76 77/* 78 * FP registers 79 */ 80#define FP_MSKS_REG 0 /* exception masks */ 81#define FP_PRC_REG 0 /* precision */ 82#define FP_RND_REG 0 /* direction */ 83#define FP_STKY_REG 1 /* sticky flags */ --- 18 unchanged lines hidden --- |