#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.
◆ softfloat_roundMToUI64()
Definition at line 45 of file s_roundMToUI64.c.
47{
50
51
52
53 sig =
57 if (
60 ) {
61 if ( 0x80000000 <= sigExtra ) goto increment;
62 } else {
63 if ( sign ) {
64 if ( !(sig | sigExtra) ) return 0;
66#ifdef SOFTFLOAT_ROUND_ODD
68#endif
69 } else {
71 increment:
72 ++sig;
73 if ( !sig ) goto invalid;
74 if (
75 (sigExtra == 0x80000000)
77 ) {
79 }
80 }
81 }
82 }
83 if ( sign && sig ) goto invalid;
84 if ( sigExtra ) {
85#ifdef SOFTFLOAT_ROUND_ODD
87#endif
89 }
90 return sig;
91
92
93 invalid:
96
97}
void softfloat_raiseFlags(uint_fast8_t flags)
#define ui64_fromPosOverflow
#define ui64_fromNegOverflow
#define indexWordLo(total)
#define indexWord(total, n)
THREAD_LOCAL uint_fast8_t softfloat_exceptionFlags
@ softfloat_round_near_even
@ softfloat_round_near_maxMag
unsigned __int64 uint64_t