VirtualBox

Changeset 94446 in vbox


Ignore:
Timestamp:
Apr 1, 2022 6:53:30 PM (3 years ago)
Author:
vboxsync
Message:

iprt/types.h: Added RTFLOAT80U_IS_QUIET_OR_SIGNALLING_NAN and documented RTFLOAT80U_IS_NAN. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/types.h

    r94397 r94446  
    11881188     && ((a_pr80)->s.uMantissa & (RT_BIT_64(63) | RT_BIT_64(62))) == (RT_BIT_64(63) | RT_BIT_64(62)) \
    11891189     && ((a_pr80)->s.uMantissa & (RT_BIT_64(62) - 1)) != 0)
     1190/** Signalling-, Quiet- or Pseudo-NaN. */
    11901191# define RTFLOAT80U_IS_NAN(a_pr80) \
    11911192    ((a_pr80)->s.uExponent == 0x7fff && ((a_pr80)->s.uMantissa & (RT_BIT_64(63) - 1)) != 0)
     1193/** Signalling- or Quiet-Nan, but not Pseudo-NaN. */
     1194# define RTFLOAT80U_IS_QUIET_OR_SIGNALLING_NAN(a_pr80) \
     1195    ((a_pr80)->s.uExponent == 0x7fff && ((a_pr80)->s.uMantissa > RT_BIT_64(63)))
    11921196# define RTFLOAT80U_IS_INDEFINITE(a_pr80) \
    11931197    ((a_pr80)->s.uExponent == 0x7fff && (a_pr80)->s.uMantissa == (RT_BIT_64(63) | RT_BIT_64(62)))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette