From: John Hodge (sonata) Date: Wed, 8 May 2013 06:53:45 +0000 (+0800) Subject: Usermode/libc - Misc unused change in printf %f X-Git-Tag: rel0.15~484^2~7 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=e0f1d5f907d3609449ac0bc403d24b2e9d2f7443;p=tpg%2Facess2.git Usermode/libc - Misc unused change in printf %f --- diff --git a/Usermode/Libraries/libc.so_src/printf.c b/Usermode/Libraries/libc.so_src/printf.c index bf07de41..adbe98eb 100644 --- a/Usermode/Libraries/libc.so_src/printf.c +++ b/Usermode/Libraries/libc.so_src/printf.c @@ -473,13 +473,13 @@ int expand_double(double num, uint64_t *Significand, int16_t *Exponent, int *Sig // 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;