fpopcode.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | fpopcode.c (06c03cac9487555478c7d80065ebf7818bf6fd06) |
---|---|
1/* 2 NetWinder Floating Point Emulator 3 (c) Rebel.COM, 1998,1999 4 5 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by --- 15 unchanged lines hidden (view full) --- 24#include "softfloat.h" 25#include "fpopcode.h" 26#include "fpsr.h" 27#include "fpmodule.h" 28#include "fpmodule.inl" 29 30#ifdef CONFIG_FPE_NWFPE_XP 31const floatx80 floatx80Constant[] = { | 1/* 2 NetWinder Floating Point Emulator 3 (c) Rebel.COM, 1998,1999 4 5 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by --- 15 unchanged lines hidden (view full) --- 24#include "softfloat.h" 25#include "fpopcode.h" 26#include "fpsr.h" 27#include "fpmodule.h" 28#include "fpmodule.inl" 29 30#ifdef CONFIG_FPE_NWFPE_XP 31const floatx80 floatx80Constant[] = { |
32 {0x0000, 0x0000000000000000ULL}, /* extended 0.0 */ 33 {0x3fff, 0x8000000000000000ULL}, /* extended 1.0 */ 34 {0x4000, 0x8000000000000000ULL}, /* extended 2.0 */ 35 {0x4000, 0xc000000000000000ULL}, /* extended 3.0 */ 36 {0x4001, 0x8000000000000000ULL}, /* extended 4.0 */ 37 {0x4001, 0xa000000000000000ULL}, /* extended 5.0 */ 38 {0x3ffe, 0x8000000000000000ULL}, /* extended 0.5 */ 39 {0x4002, 0xa000000000000000ULL} /* extended 10.0 */ | 32 { .high = 0x0000, .low = 0x0000000000000000ULL},/* extended 0.0 */ 33 { .high = 0x3fff, .low = 0x8000000000000000ULL},/* extended 1.0 */ 34 { .high = 0x4000, .low = 0x8000000000000000ULL},/* extended 2.0 */ 35 { .high = 0x4000, .low = 0xc000000000000000ULL},/* extended 3.0 */ 36 { .high = 0x4001, .low = 0x8000000000000000ULL},/* extended 4.0 */ 37 { .high = 0x4001, .low = 0xa000000000000000ULL},/* extended 5.0 */ 38 { .high = 0x3ffe, .low = 0x8000000000000000ULL},/* extended 0.5 */ 39 { .high = 0x4002, .low = 0xa000000000000000ULL},/* extended 10.0 */ |
40}; 41#endif 42 43const float64 float64Constant[] = { 44 0x0000000000000000ULL, /* double 0.0 */ 45 0x3ff0000000000000ULL, /* double 1.0 */ 46 0x4000000000000000ULL, /* double 2.0 */ 47 0x4008000000000000ULL, /* double 3.0 */ --- 43 unchanged lines hidden --- | 40}; 41#endif 42 43const float64 float64Constant[] = { 44 0x0000000000000000ULL, /* double 0.0 */ 45 0x3ff0000000000000ULL, /* double 1.0 */ 46 0x4000000000000000ULL, /* double 2.0 */ 47 0x4008000000000000ULL, /* double 3.0 */ --- 43 unchanged lines hidden --- |