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