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

Go to the source code of this file.

Functions

void softfloat_commonNaNToExtF80M (const struct commonNaN *aPtr, struct extFloat80M *zSPtr)
 

Function Documentation

◆ softfloat_commonNaNToExtF80M()

void softfloat_commonNaNToExtF80M ( const struct commonNaN * aPtr,
struct extFloat80M * zSPtr )

Definition at line 48 of file s_commonNaNToExtF80M.c.

50{
51
52 zSPtr->signExp = packToExtF80UI64( aPtr->sign, 0x7FFF );
53 zSPtr->signif = UINT64_C( 0xC000000000000000 ) | aPtr->v64>>1;
54
55}
#define packToExtF80UI64(sign, exp)
Definition internals.h:148
#define UINT64_C(val)
Definition stdint.h:284
uint64_t v64
Definition specialize.h:81
bool sign
Definition specialize.h:77
uint64_t signif
uint16_t signExp