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

Go to the source code of this file.

Functions

bool f128M_isSignalingNaN (const float128_t *aPtr)
 

Function Documentation

◆ f128M_isSignalingNaN()

bool f128M_isSignalingNaN ( const float128_t * aPtr)

Definition at line 45 of file f128M_isSignalingNaN.c.

46{
47 const uint32_t *aWPtr;
48 uint32_t uiA96;
49
50 aWPtr = (const uint32_t *) aPtr;
51 uiA96 = aWPtr[indexWordHi( 4 )];
52 if ( (uiA96 & 0x7FFF8000) != 0x7FFF0000 ) return false;
53 return
54 ((uiA96 & 0x00007FFF) != 0)
55 || ((aWPtr[indexWord( 4, 2 )] | aWPtr[indexWord( 4, 1 )]
56 | aWPtr[indexWord( 4, 0 )])
57 != 0);
58
59}
#define indexWord(total, n)
#define indexWordHi(total)
unsigned int uint32_t
Definition stdint.h:126
Here is the caller graph for this function: