soft-fp: s/sNAN/NAN/ -- no sNaNs are ever produced.

This commit is contained in:
Maciej W. Rozycki 2013-04-25 16:01:21 +01:00
parent 418601aa84
commit 93fd48c5f6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
* soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2013-04-24 Carlos O'Donell <carlos@redhat.com>
* math/libm-test.inc (cos_test): Use accurate hex constants.

View File

@ -973,7 +973,7 @@ do { \
R##_s = 0; \
if (X##_s) \
{ \
R##_c = FP_CLS_NAN; /* sNAN */ \
R##_c = FP_CLS_NAN; /* NAN */ \
R##_s = _FP_NANSIGN_##fs; \
_FP_FRAC_SET_##wc(R, _FP_NANFRAC_##fs); \
FP_SET_EXCEPTION(FP_EX_INVALID); \