#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.
◆ f16_to_i32_r_minMag()
Definition at line 44 of file f16_to_i32_r_minMag.c.
45{
51 bool sign;
53
54
55
57 uiA = uA.ui;
60
61
62 shiftDist = exp - 0x0F;
63 if ( shiftDist < 0 ) {
64 if ( exact && (exp | frac) ) {
66 }
67 return 0;
68 }
69
70
72 if ( exp == 0x1F ) {
74 return
77 }
78
79
81 if ( exact && (alignedSig & 0x3FF) ) {
83 }
84 alignedSig >>= 10;
85 return sign ? -alignedSig : alignedSig;
86
87}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
void softfloat_raiseFlags(uint_fast8_t flags)
#define i32_fromNegOverflow
#define i32_fromPosOverflow
THREAD_LOCAL uint_fast8_t softfloat_exceptionFlags