Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
extF80M_isSignalingNaN.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include "platform.h"
#include "softfloat.h"
Include dependency graph for extF80M_isSignalingNaN.c:

Go to the source code of this file.

Functions

bool extF80M_isSignalingNaN (const extFloat80_t *aPtr)
 

Function Documentation

◆ extF80M_isSignalingNaN()

bool extF80M_isSignalingNaN ( const extFloat80_t * aPtr)

Definition at line 44 of file extF80M_isSignalingNaN.c.

45{
46 const struct extFloat80M *aSPtr;
47 uint64_t uiA0;
48
49 aSPtr = (const struct extFloat80M *) aPtr;
50 if ( (aSPtr->signExp & 0x7FFF) != 0x7FFF ) return false;
51 uiA0 = aSPtr->signif;
52 return
53 ! (uiA0 & UINT64_C( 0x4000000000000000 ))
54 && (uiA0 & UINT64_C( 0x3FFFFFFFFFFFFFFF));
55
56}
#define UINT64_C(val)
Definition stdint.h:284
unsigned __int64 uint64_t
Definition stdint.h:136
uint64_t signif
uint16_t signExp