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

Go to the source code of this file.

Functions

struct uint128 softfloat_commonNaNToF128UI (const struct commonNaN *aPtr)
 

Function Documentation

◆ softfloat_commonNaNToF128UI()

struct uint128 softfloat_commonNaNToF128UI ( const struct commonNaN * aPtr)

Definition at line 46 of file s_commonNaNToF128UI.c.

47{
48 struct uint128 uiZ;
49
50 uiZ = softfloat_shortShiftRight128( aPtr->v64, aPtr->v0, 16 );
51 uiZ.v64 |= (uint_fast64_t) aPtr->sign<<63 | UINT64_C( 0x7FFF800000000000 );
52 return uiZ;
53
54}
struct uint128 softfloat_shortShiftRight128(uint64_t a64, uint64_t a0, uint_fast8_t dist)
uint64_t uint_fast64_t
Definition stdint.h:157
#define UINT64_C(val)
Definition stdint.h:284
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: