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

Go to the source code of this file.

Functions

void softfloat_f128UIToCommonNaN (uint_fast64_t uiA64, uint_fast64_t uiA0, struct commonNaN *zPtr)
 

Function Documentation

◆ softfloat_f128UIToCommonNaN()

void softfloat_f128UIToCommonNaN ( uint_fast64_t uiA64,
uint_fast64_t uiA0,
struct commonNaN * zPtr )

Definition at line 51 of file s_f128UIToCommonNaN.c.

53{
54 struct uint128 NaNSig;
55
56 if ( softfloat_isSigNaNF128UI( uiA64, uiA0 ) ) {
58 }
59 NaNSig = softfloat_shortShiftLeft128( uiA64, uiA0, 16 );
60 zPtr->sign = uiA64>>63;
61 zPtr->v64 = NaNSig.v64;
62 zPtr->v0 = NaNSig.v0;
63
64}
void softfloat_raiseFlags(uint_fast8_t flags)
@ softfloat_flag_invalid
Definition softfloat.h:89
struct uint128 softfloat_shortShiftLeft128(uint64_t a64, uint64_t a0, uint_fast8_t dist)
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: