YoushouldhavereceivedacopyoftheGNULibraryGeneralPublic LicensealongwiththeGNUCLibrary;seethefileCOPYING.LIB.If not,writetotheFreeSoftwareFoundation,Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* If one NaN is signaling and the other is not, *wechoosethatone,otherwisewechooseX.
*/ /* For _Qp_* and _Q_*, this should prefer X, for *CPUinstructionemulationthisshouldpreferY. *(seeSPAMv9B.2.2section).
*/ #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ do { \ if ((_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs) \
&& !(_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs)) \
{ \
R##_s = X##_s; \
_FP_FRAC_COPY_##wc(R,X); \
} \ else \
{ \
R##_s = Y##_s; \
_FP_FRAC_COPY_##wc(R,Y); \
} \
R##_c = FP_CLS_NAN; \
} while (0)
/* Obtain the current rounding mode. */ #ifndef FP_ROUNDMODE #define FP_ROUNDMODE ((current_thread_info()->xfsr[0] >> 30) & 0x3) #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.