#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_ui64_r_minMag()
Definition at line 44 of file extF80_to_ui64_r_minMag.c.
45{
51 bool sign;
53
54
55
57 uiA64 = uA.s.signExp;
59 sig = uA.s.signif;
60
61
62 shiftDist = 0x403E - exp;
63 if ( 64 <= shiftDist ) {
64 if ( exact && (exp | sig) ) {
66 }
67 return 0;
68 }
69
70
72 if ( sign || (shiftDist < 0) ) {
74 return
75 (exp == 0x7FFF) && (sig &
UINT64_C( 0x7FFFFFFFFFFFFFFF ))
78 }
79
80
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 ui64_fromPosOverflow
#define ui64_fromNegOverflow
#define expExtF80UI64(a64)
#define signExtF80UI64(a64)
THREAD_LOCAL uint_fast8_t softfloat_exceptionFlags