aboutsummaryrefslogtreecommitdiff
path: root/softfloat/8086/s_isSigNaNF32UI.c
blob: 0a9c33f5fc47a2b0cc05e24d228ff55914389457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#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 );

}