diff options
author | Marek Polacek <polacek@redhat.com> | 2012-03-06 22:05:56 +0100 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2012-03-06 22:08:16 +0100 |
commit | a53b7a4e4b39d90f5964841c63492cf233aa17b8 (patch) | |
tree | 1ce8615b070b83d105f6e5a3f3c9a71caeba17d1 /sysdeps | |
parent | e92584001a07a7e1a4ad2a4997a429075d36e76a (diff) | |
download | glibc-a53b7a4e4b39d90f5964841c63492cf233aa17b8.zip glibc-a53b7a4e4b39d90f5964841c63492cf233aa17b8.tar.gz glibc-a53b7a4e4b39d90f5964841c63492cf233aa17b8.tar.bz2 |
Fix up long double fphex.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/ieee754/ldbl-96/printf_fphex.c | 3 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/printf_fphex.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-96/printf_fphex.c b/sysdeps/ieee754/ldbl-96/printf_fphex.c index b1c9d73..acb0508 100644 --- a/sysdeps/ieee754/ldbl-96/printf_fphex.c +++ b/sysdeps/ieee754/ldbl-96/printf_fphex.c @@ -1,5 +1,5 @@ /* Print floating point number in hexadecimal notation according to ISO C99. - Copyright (C) 1997, 1998, 1999, 2000, 2005 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -58,6 +58,7 @@ do { \ \ /* We use a full nibble for the leading digit. */ \ leading = *numstr++; \ + wnumstr++; \ \ /* We have 3 bits from the mantissa in the leading nibble. \ Therefore we are here using `IEEE854_LONG_DOUBLE_BIAS + 3'. */ \ diff --git a/sysdeps/x86_64/fpu/printf_fphex.c b/sysdeps/x86_64/fpu/printf_fphex.c index 0b6bfc6..7de7283 100644 --- a/sysdeps/x86_64/fpu/printf_fphex.c +++ b/sysdeps/x86_64/fpu/printf_fphex.c @@ -1,5 +1,5 @@ /* Print floating point number in hexadecimal notation according to ISO C99. - Copyright (C) 1997,1998,1999,2000,2001,2005 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -57,6 +57,7 @@ do { \ \ /* We use a full nibble for the leading digit. */ \ leading = *numstr++; \ + wnumstr++; \ \ /* We have 3 bits from the mantissa in the leading nibble. \ Therefore we are here using `IEEE854_LONG_DOUBLE_BIAS + 3'. */ \ |