mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 23:28:15 +00:00
[FAST486]: Use a more "regular" syntax (i.e. understandable by other compilers than GCC).
svn path=/trunk/; revision=66155
This commit is contained in:
parent
0027e5a95a
commit
6af8dff1f8
|
@ -33,60 +33,60 @@
|
||||||
/* CONSTANTS ******************************************************************/
|
/* CONSTANTS ******************************************************************/
|
||||||
|
|
||||||
/* 0.00 */
|
/* 0.00 */
|
||||||
static const FAST486_FPU_DATA_REG FpuZero =
|
static const FAST486_FPU_DATA_REG FpuZero = {0ULL, 0, FALSE};
|
||||||
{
|
// {
|
||||||
.Sign = FALSE,
|
// .Sign = FALSE,
|
||||||
.Exponent = 0,
|
// .Exponent = 0,
|
||||||
.Mantissa = 0ULL
|
// .Mantissa = 0ULL
|
||||||
};
|
// };
|
||||||
|
|
||||||
/* 1.00 */
|
/* 1.00 */
|
||||||
static const FAST486_FPU_DATA_REG FpuOne =
|
static const FAST486_FPU_DATA_REG FpuOne = {0x8000000000000000ULL, FPU_REAL10_BIAS, FALSE};
|
||||||
{
|
// {
|
||||||
.Sign = FALSE,
|
// .Sign = FALSE,
|
||||||
.Exponent = FPU_REAL10_BIAS,
|
// .Exponent = FPU_REAL10_BIAS,
|
||||||
.Mantissa = 0x8000000000000000ULL
|
// .Mantissa = 0x8000000000000000ULL
|
||||||
};
|
// };
|
||||||
|
|
||||||
/* Pi */
|
/* Pi */
|
||||||
static const FAST486_FPU_DATA_REG FpuPi =
|
static const FAST486_FPU_DATA_REG FpuPi = {0xC90FDAA22168C234ULL, FPU_REAL10_BIAS + 1, FALSE};
|
||||||
{
|
// {
|
||||||
.Sign = FALSE,
|
// .Sign = FALSE,
|
||||||
.Exponent = FPU_REAL10_BIAS + 1,
|
// .Exponent = FPU_REAL10_BIAS + 1,
|
||||||
.Mantissa = 0xC90FDAA22168C234ULL
|
// .Mantissa = 0xC90FDAA22168C234ULL
|
||||||
};
|
// };
|
||||||
|
|
||||||
/* lb(10) */
|
/* lb(10) */
|
||||||
static const FAST486_FPU_DATA_REG FpuL2Ten =
|
static const FAST486_FPU_DATA_REG FpuL2Ten = {0xD49A784BCD1D8AFEULL, FPU_REAL10_BIAS + 1, FALSE};
|
||||||
{
|
// {
|
||||||
.Sign = FALSE,
|
// .Sign = FALSE,
|
||||||
.Exponent = FPU_REAL10_BIAS + 1,
|
// .Exponent = FPU_REAL10_BIAS + 1,
|
||||||
.Mantissa = 0xD49A784BCD1D8AFEULL
|
// .Mantissa = 0xD49A784BCD1D8AFEULL
|
||||||
};
|
// };
|
||||||
|
|
||||||
/* lb(e) */
|
/* lb(e) */
|
||||||
static const FAST486_FPU_DATA_REG FpuL2E =
|
static const FAST486_FPU_DATA_REG FpuL2E = {0xB8AA3B295C17F0BBULL, FPU_REAL10_BIAS, FALSE};
|
||||||
{
|
// {
|
||||||
.Sign = FALSE,
|
// .Sign = FALSE,
|
||||||
.Exponent = FPU_REAL10_BIAS,
|
// .Exponent = FPU_REAL10_BIAS,
|
||||||
.Mantissa = 0xB8AA3B295C17F0BBULL
|
// .Mantissa = 0xB8AA3B295C17F0BBULL
|
||||||
};
|
// };
|
||||||
|
|
||||||
/* lg(2) */
|
/* lg(2) */
|
||||||
static const FAST486_FPU_DATA_REG FpuLgTwo =
|
static const FAST486_FPU_DATA_REG FpuLgTwo = {0x9A209A84FBCFF798ULL, FPU_REAL10_BIAS - 2, FALSE};
|
||||||
{
|
// {
|
||||||
.Sign = FALSE,
|
// .Sign = FALSE,
|
||||||
.Exponent = FPU_REAL10_BIAS - 2,
|
// .Exponent = FPU_REAL10_BIAS - 2,
|
||||||
.Mantissa = 0x9A209A84FBCFF798ULL
|
// .Mantissa = 0x9A209A84FBCFF798ULL
|
||||||
};
|
// };
|
||||||
|
|
||||||
/* ln(2) */
|
/* ln(2) */
|
||||||
static const FAST486_FPU_DATA_REG FpuLnTwo =
|
static const FAST486_FPU_DATA_REG FpuLnTwo = {0xB17217F7D1CF79ABULL, FPU_REAL10_BIAS - 1, FALSE};
|
||||||
{
|
// {
|
||||||
.Sign = FALSE,
|
// .Sign = FALSE,
|
||||||
.Exponent = FPU_REAL10_BIAS - 1,
|
// .Exponent = FPU_REAL10_BIAS - 1,
|
||||||
.Mantissa = 0xB17217F7D1CF79ABULL
|
// .Mantissa = 0xB17217F7D1CF79ABULL
|
||||||
};
|
// };
|
||||||
|
|
||||||
/* PRIVATE FUNCTIONS **********************************************************/
|
/* PRIVATE FUNCTIONS **********************************************************/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue