Commit db231d5d by Ben Elliston Committed by Ben Elliston

fp-bit.c (nan): Rename from this ..

	* config/fp-bit.c (nan): Rename from this ..
	(makenan): .. to this.

From-SVN: r142701
parent ae30bb68
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>
* config/mips/mips.md (*branch_bit<bbv><mode>,
......@@ -140,7 +140,7 @@ extern const fp_number_type __thenan_df;
INLINE
static fp_number_type *
nan (void)
makenan (void)
{
/* Discard the const qualifier... */
#ifdef TFLOAT
......@@ -621,7 +621,7 @@ _fpadd_parts (fp_number_type * a,
{
/* Adding infinities with opposite signs yields a NaN. */
if (isinf (b) && a->sign != b->sign)
return nan ();
return makenan ();
return a;
}
if (isinf (b))
......@@ -802,7 +802,7 @@ _fpmul_parts ( fp_number_type * a,
if (isinf (a))
{
if (iszero (b))
return nan ();
return makenan ();
a->sign = a->sign != b->sign;
return a;
}
......@@ -810,7 +810,7 @@ _fpmul_parts ( fp_number_type * a,
{
if (iszero (a))
{
return nan ();
return makenan ();
}
b->sign = a->sign != b->sign;
return b;
......@@ -988,7 +988,7 @@ _fpdiv_parts (fp_number_type * a,
if (isinf (a) || iszero (a))
{
if (a->class == b->class)
return nan ();
return makenan ();
return a;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment