VirtualBox

Changeset 96205 in vbox for trunk/include/iprt/nocrt/math.h


Ignore:
Timestamp:
Aug 14, 2022 11:40:55 PM (2 years ago)
Author:
vboxsync
Message:

IPRT/nocrt: Implemented x86 and amd64 fenv.h to assist with the testing. More tests. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nocrt/math.h

    r96197 r96205  
    8181#endif
    8282
    83 #ifndef IPRT_NOCRT_WITHOUT_MATH_CONSTANTS
     83#ifndef IPRT_NOCRT_WITHOUT_CONFLICTING_CONSTANTS
    8484
    8585# if defined(__MATH_BUILTIN_CONSTANTS) \
     
    434434#endif /* __ISO_C_VISIBLE >= 1999 */
    435435
    436 #ifndef IPRT_NOCRT_WITHOUT_MATH_CONSTANTS /*def __USE_GNU*/
     436#ifndef IPRT_NOCRT_WITHOUT_CONFLICTING_CONSTANTS /*def __USE_GNU*/
    437437/*
    438438 * In GLIBC there are long variants of the XOPEN/SVID constant
     
    492492
    493493/* bird 2022-08-03: moved this block down so we can prototype isnan & isinf without runnning into the macro forms. */
    494 #ifndef IPRT_NOCRT_WITHOUT_MATH_CONSTANTS /* __ISO_C_VISIBLE >= 1999*/
     494#ifndef IPRT_NOCRT_WITHOUT_CONFLICTING_CONSTANTS /* __ISO_C_VISIBLE >= 1999*/
    495495# define FP_ILOGB0   (-__INT_MAX)
    496496# define FP_ILOGBNAN __INT_MAX
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