aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/_itoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/_itoa.c')
-rw-r--r--stdio-common/_itoa.c73
1 files changed, 37 insertions, 36 deletions
diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c
index 2d0535ff17..7bc6c08115 100644
--- a/stdio-common/_itoa.c
+++ b/stdio-common/_itoa.c
@@ -1,5 +1,6 @@
/* Internal function for converting integers to ASCII.
- Copyright (C) 1994,1995,1996,1999,2000,2002 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1999, 2000, 2002, 2003
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Torbjorn Granlund <tege@matematik.su.se>
and Ulrich Drepper <drepper@gnu.org>.
@@ -81,41 +82,41 @@ struct base_table_t
const struct base_table_t _itoa_base_table[] attribute_hidden =
{
#if BITS_PER_MP_LIMB == 64
- /* 2 */ {SEL1(0ul) 1, 1},
- /* 3 */ {SEL1(0xaaaaaaaaaaaaaaabul) 0, 1},
- /* 4 */ {SEL1(0ul) 1, 2},
- /* 5 */ {SEL1(0xcccccccccccccccdul) 0, 2},
- /* 6 */ {SEL1(0xaaaaaaaaaaaaaaabul) 0, 2},
- /* 7 */ {SEL1(0x2492492492492493ul) 1, 3},
- /* 8 */ {SEL1(0ul) 1, 3},
- /* 9 */ {SEL1(0xe38e38e38e38e38ful) 0, 3},
- /* 10 */ {SEL1(0xcccccccccccccccdul) 0, 3},
- /* 11 */ {SEL1(0x2e8ba2e8ba2e8ba3ul) 0, 1},
- /* 12 */ {SEL1(0xaaaaaaaaaaaaaaabul) 0, 3},
- /* 13 */ {SEL1(0x4ec4ec4ec4ec4ec5ul) 0, 2},
- /* 14 */ {SEL1(0x2492492492492493ul) 1, 4},
- /* 15 */ {SEL1(0x8888888888888889ul) 0, 3},
- /* 16 */ {SEL1(0ul) 1, 4},
- /* 17 */ {SEL1(0xf0f0f0f0f0f0f0f1ul) 0, 4},
- /* 18 */ {SEL1(0xe38e38e38e38e38ful) 0, 4},
- /* 19 */ {SEL1(0xd79435e50d79435ful) 0, 4},
- /* 20 */ {SEL1(0xcccccccccccccccdul) 0, 4},
- /* 21 */ {SEL1(0x8618618618618619ul) 1, 5},
- /* 22 */ {SEL1(0x2e8ba2e8ba2e8ba3ul) 0, 2},
- /* 23 */ {SEL1(0x642c8590b21642c9ul) 1, 5},
- /* 24 */ {SEL1(0xaaaaaaaaaaaaaaabul) 0, 4},
- /* 25 */ {SEL1(0x47ae147ae147ae15ul) 1, 5},
- /* 26 */ {SEL1(0x4ec4ec4ec4ec4ec5ul) 0, 3},
- /* 27 */ {SEL1(0x97b425ed097b425ful) 0, 4},
- /* 28 */ {SEL1(0x2492492492492493ul) 1, 5},
- /* 29 */ {SEL1(0x1a7b9611a7b9611bul) 1, 5},
- /* 30 */ {SEL1(0x8888888888888889ul) 0, 4},
- /* 31 */ {SEL1(0x0842108421084211ul) 1, 5},
- /* 32 */ {SEL1(0ul) 1, 5},
- /* 33 */ {SEL1(0x0f83e0f83e0f83e1ul) 0, 1},
- /* 34 */ {SEL1(0xf0f0f0f0f0f0f0f1ul) 0, 5},
- /* 35 */ {SEL1(0xea0ea0ea0ea0ea0ful) 0, 5},
- /* 36 */ {SEL1(0xe38e38e38e38e38ful) 0, 5}
+ /* 2 */ {SEL1(0ull) 1, 1},
+ /* 3 */ {SEL1(0xaaaaaaaaaaaaaaabull) 0, 1},
+ /* 4 */ {SEL1(0ull) 1, 2},
+ /* 5 */ {SEL1(0xcccccccccccccccdull) 0, 2},
+ /* 6 */ {SEL1(0xaaaaaaaaaaaaaaabull) 0, 2},
+ /* 7 */ {SEL1(0x2492492492492493ull) 1, 3},
+ /* 8 */ {SEL1(0ull) 1, 3},
+ /* 9 */ {SEL1(0xe38e38e38e38e38full) 0, 3},
+ /* 10 */ {SEL1(0xcccccccccccccccdull) 0, 3},
+ /* 11 */ {SEL1(0x2e8ba2e8ba2e8ba3ull) 0, 1},
+ /* 12 */ {SEL1(0xaaaaaaaaaaaaaaabull) 0, 3},
+ /* 13 */ {SEL1(0x4ec4ec4ec4ec4ec5ull) 0, 2},
+ /* 14 */ {SEL1(0x2492492492492493ull) 1, 4},
+ /* 15 */ {SEL1(0x8888888888888889ull) 0, 3},
+ /* 16 */ {SEL1(0ull) 1, 4},
+ /* 17 */ {SEL1(0xf0f0f0f0f0f0f0f1ull) 0, 4},
+ /* 18 */ {SEL1(0xe38e38e38e38e38full) 0, 4},
+ /* 19 */ {SEL1(0xd79435e50d79435full) 0, 4},
+ /* 20 */ {SEL1(0xcccccccccccccccdull) 0, 4},
+ /* 21 */ {SEL1(0x8618618618618619ull) 1, 5},
+ /* 22 */ {SEL1(0x2e8ba2e8ba2e8ba3ull) 0, 2},
+ /* 23 */ {SEL1(0x642c8590b21642c9ull) 1, 5},
+ /* 24 */ {SEL1(0xaaaaaaaaaaaaaaabull) 0, 4},
+ /* 25 */ {SEL1(0x47ae147ae147ae15ull) 1, 5},
+ /* 26 */ {SEL1(0x4ec4ec4ec4ec4ec5ull) 0, 3},
+ /* 27 */ {SEL1(0x97b425ed097b425full) 0, 4},
+ /* 28 */ {SEL1(0x2492492492492493ull) 1, 5},
+ /* 29 */ {SEL1(0x1a7b9611a7b9611bull) 1, 5},
+ /* 30 */ {SEL1(0x8888888888888889ull) 0, 4},
+ /* 31 */ {SEL1(0x0842108421084211ull) 1, 5},
+ /* 32 */ {SEL1(0ull) 1, 5},
+ /* 33 */ {SEL1(0x0f83e0f83e0f83e1ull) 0, 1},
+ /* 34 */ {SEL1(0xf0f0f0f0f0f0f0f1ull) 0, 5},
+ /* 35 */ {SEL1(0xea0ea0ea0ea0ea0full) 0, 5},
+ /* 36 */ {SEL1(0xe38e38e38e38e38full) 0, 5}
#endif
#if BITS_PER_MP_LIMB == 32
/* 2 */ {SEL1(0ul) 1, 1, {0, 31, 0x80000000ul SEL2(0xfffffffful)}},