#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_ui64_r_minMag()
Definition at line 44 of file f32_to_ui64_r_minMag.c.
45{
51 bool sign;
53
54
55
57 uiA = uA.ui;
60
61
62 shiftDist = 0xBE - exp;
63 if ( 64 <= 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 |= 0x00800000;
82 z = sig64>>shiftDist;
83 shiftDist = 40 - shiftDist;
84 if ( exact && (shiftDist < 0) && (
uint32_t) (sig<<(shiftDist & 31)) ) {
86 }
87 return z;
88
89}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
void softfloat_raiseFlags(uint_fast8_t flags)
#define ui64_fromPosOverflow
#define ui64_fromNegOverflow
THREAD_LOCAL uint_fast8_t softfloat_exceptionFlags