aboutsummaryrefslogtreecommitdiff
path: root/softfloat/8086/s_isSigNaNF32UI.c
blob: 80be12c1d1283fba3619878fd4f2961624c8ab42 (plain)
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 );

}