fp-bit.c (nan): Rename from this ..
* config/fp-bit.c (nan): Rename from this .. (makenan): .. to this. From-SVN: r142701
This commit is contained in:
parent
ae30bb68f6
commit
db231d5d4d
|
@ -1,3 +1,8 @@
|
||||||
|
2008-12-12 Ben Elliston <bje@au.ibm.com>
|
||||||
|
|
||||||
|
* config/fp-bit.c (nan): Rename from this ..
|
||||||
|
(makenan): .. to this.
|
||||||
|
|
||||||
2008-12-11 Adam Nemet <anemet@caviumnetworks.com>
|
2008-12-11 Adam Nemet <anemet@caviumnetworks.com>
|
||||||
|
|
||||||
* config/mips/mips.md (*branch_bit<bbv><mode>,
|
* config/mips/mips.md (*branch_bit<bbv><mode>,
|
||||||
|
|
|
@ -140,7 +140,7 @@ extern const fp_number_type __thenan_df;
|
||||||
|
|
||||||
INLINE
|
INLINE
|
||||||
static fp_number_type *
|
static fp_number_type *
|
||||||
nan (void)
|
makenan (void)
|
||||||
{
|
{
|
||||||
/* Discard the const qualifier... */
|
/* Discard the const qualifier... */
|
||||||
#ifdef TFLOAT
|
#ifdef TFLOAT
|
||||||
|
@ -621,7 +621,7 @@ _fpadd_parts (fp_number_type * a,
|
||||||
{
|
{
|
||||||
/* Adding infinities with opposite signs yields a NaN. */
|
/* Adding infinities with opposite signs yields a NaN. */
|
||||||
if (isinf (b) && a->sign != b->sign)
|
if (isinf (b) && a->sign != b->sign)
|
||||||
return nan ();
|
return makenan ();
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
if (isinf (b))
|
if (isinf (b))
|
||||||
|
@ -802,7 +802,7 @@ _fpmul_parts ( fp_number_type * a,
|
||||||
if (isinf (a))
|
if (isinf (a))
|
||||||
{
|
{
|
||||||
if (iszero (b))
|
if (iszero (b))
|
||||||
return nan ();
|
return makenan ();
|
||||||
a->sign = a->sign != b->sign;
|
a->sign = a->sign != b->sign;
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
@ -810,7 +810,7 @@ _fpmul_parts ( fp_number_type * a,
|
||||||
{
|
{
|
||||||
if (iszero (a))
|
if (iszero (a))
|
||||||
{
|
{
|
||||||
return nan ();
|
return makenan ();
|
||||||
}
|
}
|
||||||
b->sign = a->sign != b->sign;
|
b->sign = a->sign != b->sign;
|
||||||
return b;
|
return b;
|
||||||
|
@ -988,7 +988,7 @@ _fpdiv_parts (fp_number_type * a,
|
||||||
if (isinf (a) || iszero (a))
|
if (isinf (a) || iszero (a))
|
||||||
{
|
{
|
||||||
if (a->class == b->class)
|
if (a->class == b->class)
|
||||||
return nan ();
|
return makenan ();
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue