aboutsummaryrefslogtreecommitdiff
path: root/libgcc/fp-bit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/fp-bit.c')
-rw-r--r--libgcc/fp-bit.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libgcc/fp-bit.c b/libgcc/fp-bit.c
index 63713ba..e0c447a 100644
--- a/libgcc/fp-bit.c
+++ b/libgcc/fp-bit.c
@@ -1,6 +1,6 @@
/* This is a software floating point library which can be used
- for targets without hardware floating point.
- Copyright (C) 1994-2024 Free Software Foundation, Inc.
+ for targets without hardware floating point.
+ Copyright (C) 1994-2025 Free Software Foundation, Inc.
This file is part of GCC.
@@ -137,7 +137,7 @@ makenan (void)
{
#ifdef TFLOAT
return & __thenan_tf;
-#elif defined FLOAT
+#elif defined FLOAT
return & __thenan_sf;
#else
return & __thenan_df;
@@ -168,7 +168,7 @@ iszero (const fp_number_type * x)
return x->class == CLASS_ZERO;
}
-INLINE
+INLINE
static void
flip_sign ( fp_number_type * x)
{
@@ -443,11 +443,11 @@ unpack_d (FLO_union_type * src, fp_number_type * dst)
#endif
src = &swapped;
#endif
-
+
#if defined TFLOAT && defined HALFFRACBITS
{
halffractype high, low;
-
+
high = src->value_raw >> HALFSHIFT;
low = src->value_raw & (((fractype)1 << HALFSHIFT) - 1);
@@ -823,11 +823,11 @@ _fpmul_parts ( fp_number_type * a,
x >>= 1;
}
}
-#elif defined(FLOAT)
+#elif defined(FLOAT)
/* Multiplying two USIs to get a UDI, we're safe. */
{
UDItype answer = (UDItype)a->fraction.ll * (UDItype)b->fraction.ll;
-
+
high = answer >> BITS_PER_SI;
low = answer;
}
@@ -1316,7 +1316,7 @@ si_to_float (SItype arg_a)
USItype uarg;
int shift;
in.normal_exp = FRACBITS + NGARDS;
- if (in.sign)
+ if (in.sign)
{
/* Special case for minint, since there is no +ve integer
representation for it */
@@ -1458,7 +1458,7 @@ negate (FLO_type arg_a)
SFtype
__make_fp(fp_class_type class,
unsigned int sign,
- int exp,
+ int exp,
USItype frac)
{
fp_number_type in;
@@ -1572,7 +1572,7 @@ df_to_tf (DFtype arg_a)
TFtype
__make_tp(fp_class_type class,
unsigned int sign,
- int exp,
+ int exp,
UTItype frac)
{
fp_number_type in;