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

Go to the source code of this file.

Functions

uint_fast16_t softfloat_commonNaNToF16UI (const struct commonNaN *aPtr)
 

Function Documentation

◆ softfloat_commonNaNToF16UI()

uint_fast16_t softfloat_commonNaNToF16UI ( const struct commonNaN * aPtr)

Definition at line 45 of file s_commonNaNToF16UI.c.

46{
47
48 return (uint_fast16_t) aPtr->sign<<15 | 0x7E00 | aPtr->v64>>54;
49
50}
uint16_t uint_fast16_t
Definition stdint.h:155
uint64_t v64
Definition specialize.h:81
bool sign
Definition specialize.h:77