uint32_t temp[MANT_WORDS * 2];
int32_t i, j;
- /*
+ /*
* guaranteed that top bit of 'from' is set -- so we only have
* to worry about _one_ bit shift to the left
*/
{
int32_t i = 0;
bool neg = false;
-
+
if (*string == '+') {
string++;
} else if (*string == '-') {
while (*string) {
if (*string >= '0' && *string <= '9') {
i = (i * 10) + (*string - '0');
-
+
/*
* To ensure that underflows and overflows are
* handled properly we must avoid wraparounds of
}
string++;
}
-
+
if (*string) {
int32_t e;
goto overflow;
}
}
-
+
if (!fmt->explicit)
mant[one_pos] &= ~one_mask; /* remove explicit one */
mant[0] |= exponent << (15 - fmt->exponent);
return -1; /* Unknown option */
}
}
-