#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.
◆ f32_to_ui32_r_minMag()
Definition at line 44 of file f32_to_ui32_r_minMag.c.
45{
51 bool sign;
53
54
55
57 uiA = uA.ui;
60
61
62 shiftDist = 0x9E - exp;
63 if ( 32 <= shiftDist ) {
64 if ( exact && (exp | sig) ) {
66 }
67 return 0;
68 }
69
70
72 if ( sign || (shiftDist < 0) ) {
74 return
77 }
78
79
80 sig = (sig | 0x00800000)<<8;
81 z = sig>>shiftDist;
82 if ( exact && (z<<shiftDist != sig) ) {
84 }
85 return z;
86
87}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
void softfloat_raiseFlags(uint_fast8_t flags)
#define ui32_fromNegOverflow
#define ui32_fromPosOverflow
THREAD_LOCAL uint_fast8_t softfloat_exceptionFlags