+++ /dev/null
-/** @file\r
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials are licensed and made available under\r
- the terms and conditions of the BSD License that accompanies this distribution.\r
- The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
- * Copyright (c) 1992, 1993\r
- * The Regents of the University of California. All rights reserved.\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions\r
- * are met:\r
- * 1. Redistributions of source code must retain the above copyright\r
- * notice, this list of conditions and the following disclaimer.\r
- * 2. Redistributions in binary form must reproduce the above copyright\r
- * notice, this list of conditions and the following disclaimer in the\r
- * documentation and/or other materials provided with the distribution.\r
- * 3. Neither the name of the University nor the names of its contributors\r
- * may be used to endorse or promote products derived from this software\r
- * without specific prior written permission.\r
- *\r
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\r
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\r
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
- * SUCH DAMAGE.\r
- *\r
- * @(#)float.h 8.1 (Berkeley) 6/10/93\r
- NetBSD: float_ieee754.h,v 1.8 2005/12/11 12:25:20 christos Exp\r
-\r
- * NOTICE: This is not a standalone file. To use it, #include it in\r
- * your port's float.h header.\r
-**/\r
-\r
-#ifndef _SYS_FLOAT_IEEE754_H_\r
-#define _SYS_FLOAT_IEEE754_H_\r
-\r
-#include <sys/EfiCdefs.h>\r
-#include <sys/featuretest.h>\r
-\r
-#ifndef FLT_ROUNDS\r
-__BEGIN_DECLS\r
-extern int __flt_rounds(void);\r
-__END_DECLS\r
-#define FLT_ROUNDS __flt_rounds()\r
-#endif\r
-\r
-#ifndef FLT_EVAL_METHOD\r
-#if __GNUC_PREREQ__(3, 3)\r
-#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__\r
-#endif /* GCC >= 3.3 */\r
-#endif /* defined(FLT_EVAL_METHOD) */\r
-\r
-#define FLT_RADIX 2 /* b */\r
-\r
-#define FLT_MANT_DIG 24 /* p */\r
-#define FLT_EPSILON 1.19209290E-7F /* b**(1-p) */\r
-#define FLT_DIG 6 /* floor((p-1)*log10(b))+(b == 10) */\r
-#define FLT_MIN_EXP (-125) /* emin */\r
-#define FLT_MIN 1.17549435E-38F /* b**(emin-1) */\r
-#define FLT_MIN_10_EXP (-37) /* ceil(log10(b**(emin-1))) */\r
-#define FLT_MAX_EXP 128 /* emax */\r
-//#define FLT_MAX 3.40282347e+38F /* (1-b**(-p))*b**emax */\r
-#define FLT_MAX 3.402823e+38F /* (1-b**(-p))*b**emax */\r
-#define FLT_MAX_10_EXP 38 /* floor(log10((1-b**(-p))*b**emax)) */\r
-\r
-#define DBL_MANT_DIG 53\r
-#define DBL_EPSILON 2.2204460492503131E-16\r
-#define DBL_DIG 15\r
-#define DBL_MIN_EXP (-1021)\r
-#define DBL_MIN 2.2250738585072014E-308\r
-#define DBL_MIN_10_EXP (-307)\r
-#define DBL_MAX_EXP 1024\r
-#define DBL_MAX 1.7976931348623157E+308\r
-#define DBL_MAX_10_EXP 308\r
-\r
-/*\r
- * If no extended-precision type is defined by the machine-dependent\r
- * header including this, default to `long double' being double-precision.\r
- */\r
-#ifndef LDBL_MANT_DIG\r
- #define LDBL_MANT_DIG DBL_MANT_DIG\r
- #define LDBL_EPSILON DBL_EPSILON\r
- #define LDBL_DIG DBL_DIG\r
- #define LDBL_MIN_EXP DBL_MIN_EXP\r
- #define LDBL_MIN DBL_MIN\r
- #define LDBL_MIN_10_EXP DBL_MIN_10_EXP\r
- #define LDBL_MAX_EXP DBL_MAX_EXP\r
- #define LDBL_MAX DBL_MAX\r
- #define LDBL_MAX_10_EXP DBL_MAX_10_EXP\r
-\r
- #define DECIMAL_DIG 17 /* ceil((1+p*log10(b))-(b==10) */\r
-#endif /* LDBL_MANT_DIG */\r
-\r
-#endif /* _SYS_FLOAT_IEEE754_H_ */\r