#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.
◆ f128M_to_f32()
Definition at line 55 of file f128M_to_f32.c.
56{
59 bool sign;
65
66
67
72 frac64 =
75
76
77 if ( exp == 0x7FFF ) {
78 if ( frac64 ) {
81 } else {
83 }
84 goto uiZ;
85 }
86
87
89 if ( ! (exp | frac32) ) {
91 goto uiZ;
92 }
93
94
95 exp -= 0x3F81;
97 if ( exp < -0x1000 ) exp = -0x1000;
98 }
100
101
102 uiZ:
103 uZ.ui = uiZ;
104 return uZ.f;
105
106}
#define softfloat_f128MToCommonNaN(aWPtr, zPtr)
#define softfloat_commonNaNToF32UI(aPtr)
#define fracF128UI96(a96)
float32_t softfloat_roundPackToF32(bool, int_fast16_t, uint_fast32_t)
#define signF128UI96(a96)
#define packToF32UI(sign, exp, sig)
#define indexWord(total, n)
#define indexWordHi(total)
uint64_t softfloat_shortShiftRightJam64(uint64_t a, uint_fast8_t dist)
unsigned __int64 uint64_t