You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
363 B
18 lines
363 B
|
|
#include <stdint.h>
|
|
#include "platform.h"
|
|
#include "primitives.h"
|
|
#include "internals.h"
|
|
|
|
struct exp16_sig64 softfloat_normSubnormalF64Sig( uint_fast64_t sig )
|
|
{
|
|
int shiftCount;
|
|
struct exp16_sig64 z;
|
|
|
|
shiftCount = softfloat_countLeadingZeros64( sig ) - 11;
|
|
z.exp = 1 - shiftCount;
|
|
z.sig = sig<<shiftCount;
|
|
return z;
|
|
|
|
}
|
|
|
|
|