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

Go to the source code of this file.

Functions

struct uint128 softfloat_commonNaNToExtF80UI (const struct commonNaN *aPtr)
 

Function Documentation

◆ softfloat_commonNaNToExtF80UI()

struct uint128 softfloat_commonNaNToExtF80UI ( const struct commonNaN * aPtr)

Definition at line 47 of file s_commonNaNToExtF80UI.c.

48{
49 struct uint128 uiZ;
50
51 uiZ.v64 = (uint_fast16_t) aPtr->sign<<15 | 0x7FFF;
52 uiZ.v0 = UINT64_C( 0xC000000000000000 ) | aPtr->v64>>1;
53 return uiZ;
54
55}
uint16_t uint_fast16_t
Definition stdint.h:155
#define UINT64_C(val)
Definition stdint.h:284
uint64_t v64
Definition specialize.h:81
bool sign
Definition specialize.h:77