1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// See LICENSE.SoftFloat for license details. #include <stdbool.h> #include <stdint.h> #include "platform.h" #include "specialize.h" bool softfloat_isSigNaNF32UI( uint_fast32_t ui ) { return ( ( ui>>22 & 0x1FF ) == 0x1FE ) && ( ui & 0x003FFFFF ); }