From e0f1d5f907d3609449ac0bc403d24b2e9d2f7443 Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Wed, 8 May 2013 14:53:45 +0800 Subject: [PATCH] Usermode/libc - Misc unused change in printf %f --- Usermode/Libraries/libc.so_src/printf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.20.1