-/*
+#include <string.h>/*
* Acess2 C Library
* - By John Hodge (thePowersGang)
*
_addchar('0');
_addchar(c);
}
- arg = bLongLong ? va_arg(args, int64_t) : va_arg(args, int32_t);
+ arg = bLongLong ? va_arg(args, uint64_t) : va_arg(args, uint32_t);
pos += _printf_itoa(putch_cb, putch_h, arg, 16, c=='X',
FALSE, '\0', precision, minSize,cNumPad,bJustifyLeft);
break;
// printf("%llx %i %i %llx\n", *bit_rep, (int)*SignIsNeg, (int)*Exponent, *Significand);
// Subnormals
- if( *Exponent == -1023 && *Significand != 0 )
+ if( *Exponent == -0x3FF && *Significand != 0 )
return 1;
// Infinity
- if( *Exponent == 0x800 && *Significand == 0)
+ if( *Exponent == 0x400 && *Significand == 0)
return 2;
// NaNs
- if( *Exponent == 0x800 && *Significand != 0)
+ if( *Exponent == 0x400 && *Significand != 0)
return 3;
return 0;