aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/testit.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/testit.c')
-rw-r--r--soft-fp/testit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/soft-fp/testit.c b/soft-fp/testit.c
index f1e9b54758..1aaf8b45c8 100644
--- a/soft-fp/testit.c
+++ b/soft-fp/testit.c
@@ -244,7 +244,7 @@ float build_float(const char *s, const char *e, const char *f)
return u.flt;
}
-
+
double build_double(const char *s, const char *e, const char *f)
{
union _FP_UNION_D u;
@@ -264,10 +264,10 @@ double build_double(const char *s, const char *e, const char *f)
#else
u.bits.frac = strtoul(f, 0, 16);
#endif
-
+
return u.flt;
}
-
+
/*======================================================================*/
fpu_control_t fcw0, fcw1;
@@ -303,7 +303,7 @@ void test_double_arith(double (*tf)(double, double),
_FPU_GETCW(fcw0);
fcw1 = ((fcw0 & ~_FPU_EXTENDED) | _FPU_DOUBLE);
_FPU_SETCW(fcw1);
-#endif
+#endif
rr = (*rf)(x, y);
#ifdef __i386__
_FPU_SETCW(fcw0);
@@ -386,7 +386,7 @@ void test_float_int_conv(float x)
printf("\n\ttrue = %d\n\tfalse = %d\n", rr, tr);
}
}
-
+
void test_double_int_conv(double x)
{
int tr, rr;