Browse Source

2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>


			
			
				gdb_6_4-branch
			
			
		
Jeff Johnston 21 years ago
parent
commit
234cf97f85
  1. 7
      newlib/ChangeLog
  2. 4
      newlib/libm/common/s_fmax.c
  3. 4
      newlib/libm/common/s_fmin.c
  4. 4
      newlib/libm/common/sf_fmax.c
  5. 4
      newlib/libm/common/sf_fmin.c

7
newlib/ChangeLog

@ -1,3 +1,10 @@
2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
* libm/common/sf_fmax.c: Fix to properly handle NaNs.
* libm/common/s_max.c: Ditto.
* libm/common/sf_fmin.c: Ditto.
* libm/common/s_min.c: Ditto.
2005-08-10 DJ Delorie <dj@redhat.com>
* configure.host: Add m32c support.

4
newlib/libm/common/s_fmax.c

@ -17,9 +17,9 @@
#endif
{
if (__fpclassifyd(x) == FP_NAN)
return x;
if (__fpclassifyd(y) == FP_NAN)
return y;
if (__fpclassifyd(y) == FP_NAN)
return x;
return x > y ? x : y;
}

4
newlib/libm/common/s_fmin.c

@ -17,9 +17,9 @@
#endif
{
if (__fpclassifyd(x) == FP_NAN)
return x;
if (__fpclassifyd(y) == FP_NAN)
return y;
if (__fpclassifyd(y) == FP_NAN)
return x;
return x < y ? x : y;
}

4
newlib/libm/common/sf_fmax.c

@ -15,9 +15,9 @@
#endif
{
if (__fpclassifyf(x) == FP_NAN)
return x;
if (__fpclassifyf(y) == FP_NAN)
return y;
if (__fpclassifyf(y) == FP_NAN)
return x;
return x > y ? x : y;
}

4
newlib/libm/common/sf_fmin.c

@ -15,9 +15,9 @@
#endif
{
if (__fpclassifyf(x) == FP_NAN)
return x;
if (__fpclassifyf(y) == FP_NAN)
return y;
if (__fpclassifyf(y) == FP_NAN)
return x;
return x < y ? x : y;
}

Loading…
Cancel
Save