1 /** @file 2 Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR> 3 This program and the accompanying materials are licensed and made available under 4 the terms and conditions of the BSD License that accompanies this distribution. 5 The full text of the license may be found at 6 http://opensource.org/licenses/bsd-license. 7 8 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 9 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 10 11 NetBSD: float.h,v 1.5 2003/10/23 23:26:06 kleink Exp 12 **/ 13 #ifndef _X86_FLOAT_H_ 14 #define _X86_FLOAT_H_ 15 16 /* long double and double are the same in Microsoft compilers. 17 In GCC long double is fully supported. 18 */ 19 #if !defined(_MSC_VER) /* Non-Microsoft compiler specifics. */ 20 #define LDBL_MANT_DIG 64 21 #define LDBL_EPSILON 1.0842021724855044340E-19L 22 #define LDBL_DIG 18 23 #define LDBL_MIN_EXP (-16381) 24 #define LDBL_MIN 3.3621031431120935063E-4932L 25 #define LDBL_MIN_10_EXP (-4931) 26 #define LDBL_MAX_EXP 16384 27 #define LDBL_MAX 1.1897314953572317650E+4932L 28 #define LDBL_MAX_10_EXP 4932 29 30 #define DECIMAL_DIG 21 31 #endif // !defined(_MSC_VER) 32 33 #include <sys/float_ieee754.h> 34 35 #endif /* _X86_FLOAT_H_ */ 36