mirror of https://github.com/acidanthera/audk.git
26 lines
788 B
C
26 lines
788 B
C
/* $NetBSD: float.h,v 1.5 2003/10/23 23:26:06 kleink Exp $ */
|
|
|
|
#ifndef _X86_FLOAT_H_
|
|
#define _X86_FLOAT_H_
|
|
|
|
#if 0 /* Force all compilers to have the same limits */
|
|
/* long double and double are the same in Microsoft compilers. */
|
|
#if !defined(_MSC_VER) /* Non-Microsoft compiler specifics. */
|
|
#define LDBL_MANT_DIG 64
|
|
#define LDBL_EPSILON 1.0842021724855044340E-19L
|
|
#define LDBL_DIG 18
|
|
#define LDBL_MIN_EXP (-16381)
|
|
#define LDBL_MIN 3.3621031431120935063E-4932L
|
|
#define LDBL_MIN_10_EXP (-4931)
|
|
#define LDBL_MAX_EXP 16384
|
|
#define LDBL_MAX 1.1897314953572317650E+4932L
|
|
#define LDBL_MAX_10_EXP 4932
|
|
|
|
#define DECIMAL_DIG 21
|
|
#endif // !defined(_MSC_VER)
|
|
#endif // if 0
|
|
|
|
#include <sys/float_ieee754.h>
|
|
|
|
#endif /* _X86_FLOAT_H_ */
|