ieee.h (236992) | ieee.h (255361) |
---|---|
1/* $NetBSD: ieee754.h,v 1.4 2003/10/27 02:30:26 simonb Exp $ */ 2 3/*- 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This software was developed by the Computer Systems Engineering group 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and --- 25 unchanged lines hidden (view full) --- 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 38 * SUCH DAMAGE. 39 * 40 * @(#)ieee.h 8.1 (Berkeley) 6/11/93 41 * | 1/* $NetBSD: ieee754.h,v 1.4 2003/10/27 02:30:26 simonb Exp $ */ 2 3/*- 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This software was developed by the Computer Systems Engineering group 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and --- 25 unchanged lines hidden (view full) --- 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 38 * SUCH DAMAGE. 39 * 40 * @(#)ieee.h 8.1 (Berkeley) 6/11/93 41 * |
42 * $FreeBSD: head/sys/arm/include/ieee.h 236992 2012-06-13 05:02:51Z imp $ | 42 * $FreeBSD: head/sys/arm/include/ieee.h 255361 2013-09-07 14:04:10Z andrew $ |
43 * 44 */ 45 46/* 47 * NOTICE: This is not a standalone file. To use it, #include it in 48 * your port's ieee.h header. 49 */ 50 --- 35 unchanged lines hidden (view full) --- 86 * -149 == -127 - 23 + 1. 87 */ 88#define SNG_EXPBITS 8 89#define SNG_FRACBITS 23 90 91#define DBL_EXPBITS 11 92#define DBL_FRACBITS 52 93 | 43 * 44 */ 45 46/* 47 * NOTICE: This is not a standalone file. To use it, #include it in 48 * your port's ieee.h header. 49 */ 50 --- 35 unchanged lines hidden (view full) --- 86 * -149 == -127 - 23 + 1. 87 */ 88#define SNG_EXPBITS 8 89#define SNG_FRACBITS 23 90 91#define DBL_EXPBITS 11 92#define DBL_FRACBITS 52 93 |
94#if defined(__VFP_FP__) | 94#if defined(__VFP_FP__) || defined(__ARM_EABI__) |
95#define _IEEE_WORD_ORDER _BYTE_ORDER 96#else 97#define _IEEE_WORD_ORDER _BIG_ENDIAN 98#endif 99 100struct ieee_single { 101#if _BYTE_ORDER == _BIG_ENDIAN 102 u_int sng_sign:1; --- 63 unchanged lines hidden --- | 95#define _IEEE_WORD_ORDER _BYTE_ORDER 96#else 97#define _IEEE_WORD_ORDER _BIG_ENDIAN 98#endif 99 100struct ieee_single { 101#if _BYTE_ORDER == _BIG_ENDIAN 102 u_int sng_sign:1; --- 63 unchanged lines hidden --- |