// SPDX-License-Identifier: GPL-2.0-or-later
/*
NetWinder Floating Point Emulator
(c) Rebel.COM, 1998,1999
Direct questions, comments to Scott Bambrough <scottb@netwinder.org>
*/
#include "fpa11.h"
#include "softfloat.h"
#include "fpopcode.h"
#include "fpsr.h"
#include "fpmodule.h"
#include "fpmodule.inl"
#ifdef CONFIG_FPE_NWFPE_XP
const floatx80 floatx80Constant[] = {
{ .high = 0 x0000, .low = 0 x0000000000000000ULL},/* extended 0.0 */
{ .high = 0 x3fff, .low = 0 x8000000000000000ULL},/* extended 1.0 */
{ .high = 0 x4000, .low = 0 x8000000000000000ULL},/* extended 2.0 */
{ .high = 0 x4000, .low = 0 xc000000000000000ULL},/* extended 3.0 */
{ .high = 0 x4001, .low = 0 x8000000000000000ULL},/* extended 4.0 */
{ .high = 0 x4001, .low = 0 xa000000000000000ULL},/* extended 5.0 */
{ .high = 0 x3ffe, .low = 0 x8000000000000000ULL},/* extended 0.5 */
{ .high = 0 x4002, .low = 0 xa000000000000000ULL},/* extended 10.0 */
};
#endif
const float64 float64Constant[] = {
0 x0000000000000000ULL, /* double 0.0 */
0 x3ff0000000000000ULL, /* double 1.0 */
0 x4000000000000000ULL, /* double 2.0 */
0 x4008000000000000ULL, /* double 3.0 */
0 x4010000000000000ULL, /* double 4.0 */
0 x4014000000000000ULL, /* double 5.0 */
0 x3fe0000000000000ULL, /* double 0.5 */
0 x4024000000000000ULL /* double 10.0 */
};
const float32 float32Constant[] = {
0 x00000000, /* single 0.0 */
0 x3f800000, /* single 1.0 */
0 x40000000, /* single 2.0 */
0 x40400000, /* single 3.0 */
0 x40800000, /* single 4.0 */
0 x40a00000, /* single 5.0 */
0 x3f000000, /* single 0.5 */
0 x41200000 /* single 10.0 */
};
Messung V0.5 in Prozent C=93 H=90 G=91
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-07)
¤
*© Formatika GbR, Deutschland