summaryrefslogtreecommitdiff
path: root/soft-fp/testit.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-05 20:44:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-05 20:44:03 +0000
commit9c84384cc18ff589233628c193953ca8d7a39f5c (patch)
tree95d1f5aee409b208db7545d678012eeae9559fae /soft-fp/testit.c
parent5556231db2301917cd14a7450de4eba2368c9763 (diff)
Remove trailing whitespace.
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;