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

Go to the source code of this file.

Functions

void softfloat_f16UIToCommonNaN (uint_fast16_t uiA, struct commonNaN *zPtr)
 

Function Documentation

◆ softfloat_f16UIToCommonNaN()

void softfloat_f16UIToCommonNaN ( uint_fast16_t uiA,
struct commonNaN * zPtr )

Definition at line 48 of file s_f16UIToCommonNaN.c.

49{
50
51 if ( softfloat_isSigNaNF16UI( uiA ) ) {
53 }
54 zPtr->sign = uiA>>15;
55 zPtr->v64 = (uint_fast64_t) uiA<<54;
56 zPtr->v0 = 0;
57
58}
void softfloat_raiseFlags(uint_fast8_t flags)
#define softfloat_isSigNaNF16UI(uiA)
Definition specialize.h:95
@ softfloat_flag_invalid
Definition softfloat.h:89
uint64_t uint_fast64_t
Definition stdint.h:157
uint64_t v64
Definition specialize.h:81
bool sign
Definition specialize.h:77
uint64_t v0
Definition specialize.h:81
Here is the call graph for this function: