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

Go to the source code of this file.

Functions

struct exp16_sig64 softfloat_normSubnormalF64Sig (uint_fast64_t sig)
 

Function Documentation

◆ softfloat_normSubnormalF64Sig()

struct exp16_sig64 softfloat_normSubnormalF64Sig ( uint_fast64_t sig)

Definition at line 41 of file s_normSubnormalF64Sig.c.

42{
43 int_fast8_t shiftDist;
44 struct exp16_sig64 z;
45
46 shiftDist = softfloat_countLeadingZeros64( sig ) - 11;
47 z.exp = 1 - shiftDist;
48 z.sig = sig<<shiftDist;
49 return z;
50
51}
#define softfloat_countLeadingZeros64
int8_t int_fast8_t
Definition stdint.h:150
int_fast16_t exp
Definition internals.h:132
uint_fast64_t sig
Definition internals.h:132