OLD | NEW |
1 /* Common code for fixed-size types in the decNumber C Library. | 1 /* Common code for fixed-size types in the decNumber C Library. |
2 Copyright (C) 2007, 2009 Free Software Foundation, Inc. | 2 Copyright (C) 2007-2013 Free Software Foundation, Inc. |
3 Contributed by IBM Corporation. Author Mike Cowlishaw. | 3 Contributed by IBM Corporation. Author Mike Cowlishaw. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify it under | 7 GCC is free software; you can redistribute it and/or modify it under |
8 the terms of the GNU General Public License as published by the Free | 8 the terms of the GNU General Public License as published by the Free |
9 Software Foundation; either version 3, or (at your option) any later | 9 Software Foundation; either version 3, or (at your option) any later |
10 version. | 10 version. |
11 | 11 |
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY | 12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
(...skipping 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1838 | 1838 |
1839 if (!EXPISSPECIAL(num->exponent) || num->msd!=num->lsd || *num->lsd!=0) { | 1839 if (!EXPISSPECIAL(num->exponent) || num->msd!=num->lsd || *num->lsd!=0) { |
1840 for (ub=num->msd; ub<=num->lsd; ub++) { /* coefficient... */ | 1840 for (ub=num->msd; ub<=num->lsd; ub++) { /* coefficient... */ |
1841 printf("%1x", *ub); | 1841 printf("%1x", *ub); |
1842 if ((num->lsd-ub)%3==0 && ub!=num->lsd) printf(" "); /* 4-space */ | 1842 if ((num->lsd-ub)%3==0 && ub!=num->lsd) printf(" "); /* 4-space */ |
1843 } | 1843 } |
1844 } | 1844 } |
1845 printf("\n"); | 1845 printf("\n"); |
1846 } /* decShowNum */ | 1846 } /* decShowNum */ |
1847 #endif | 1847 #endif |
OLD | NEW |