#include <stdbool.h>
#include <stdint.h>
#include "platform.h"
#include "internals.h"
#include "specialize.h"
#include "softfloat.h"
Go to the source code of this file.
◆ extF80_to_f128()
Definition at line 44 of file extF80_to_f128.c.
45{
52 struct uint128 uiZ;
53 bool sign;
54 struct uint128 frac128;
55 union ui128_f128 uZ;
56
58 uiA64 = uA.s.signExp;
59 uiA0 = uA.s.signif;
61 frac = uiA0 &
UINT64_C( 0x7FFFFFFFFFFFFFFF );
62 if ( (exp == 0x7FFF) && frac ) {
65 } else {
68 uiZ.v64 = packToF128UI64( sign, exp, frac128.v64 );
69 uiZ.v0 = frac128.v0;
70 }
71 uZ.ui = uiZ;
72 return uZ.f;
73
74}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
void softfloat_extF80UIToCommonNaN(uint_fast16_t uiA64, uint_fast64_t uiA0, struct commonNaN *zPtr)
#define softfloat_commonNaNToF128UI
#define expExtF80UI64(a64)
#define signExtF80UI64(a64)
struct uint128 softfloat_shortShiftLeft128(uint64_t a64, uint64_t a0, uint_fast8_t dist)