diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-19 14:42:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-19 14:42:29 -0700 |
commit | 7065309739ef398af07e470469f1ae6f0580200c (patch) | |
tree | a8d6e0e99b14899193014a87e80f013606a0d504 /float.c | |
parent | 31420e76d1e333825df39964888089181ccf8129 (diff) | |
download | nasm-7065309739ef398af07e470469f1ae6f0580200c.tar.gz nasm-7065309739ef398af07e470469f1ae6f0580200c.tar.bz2 nasm-7065309739ef398af07e470469f1ae6f0580200c.zip |
Formatting: kill off "stealth whitespace"
"Stealth whitespace" makes it harder to read diffs, and just generally
cause unwanted weirdness. Do a source-wide pass to get rid of it.
Diffstat (limited to 'float.c')
-rw-r--r-- | float.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -70,7 +70,7 @@ static int float_multiply(uint16_t * to, uint16_t * from) 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 */ @@ -120,7 +120,7 @@ static int32_t read_exponent(const char *string, int32_t max) { int32_t i = 0; bool neg = false; - + if (*string == '+') { string++; } else if (*string == '-') { @@ -130,7 +130,7 @@ static int32_t read_exponent(const char *string, int32_t max) 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 @@ -217,7 +217,7 @@ static bool ieee_flconvert(const char *string, uint16_t * mant, } string++; } - + if (*string) { int32_t e; @@ -742,7 +742,7 @@ static int to_float(const char *str, int sign, uint8_t * result, goto overflow; } } - + if (!fmt->explicit) mant[one_pos] &= ~one_mask; /* remove explicit one */ mant[0] |= exponent << (15 - fmt->exponent); @@ -825,4 +825,3 @@ int float_option(const char *option) return -1; /* Unknown option */ } } - |