Files
mercury/tests/hard_coded/uint64_to_string.exp
Julien Fischer cd75789501 Add tests of uint{16,64} to decimal string conversion.
This is to support upcoming changes to how these conversions are implemented.

tests/hard_coded/uint{16,64}_to_string.{m,exp}:
    Add the new tests.

tests/hard_coded/uint32_to_string.m:
    Adjust a comment.

tests/hard_coded/Mmakefile:
   Add the new tests.
2021-10-31 17:32:32 +11:00

94 lines
930 B
Plaintext

0
1
2
4
7
8
9
10
11
15
16
31
32
64
99
100
101
126
127
128
254
255
256
999
1000
1001
1023
1024
9999
10000
10001
32766
32767
32768
65534
65535
65536
99999
100000
100001
999999
1000000
1000001
9999999
10000000
10000001
99999999
100000000
100000001
999999999
1000000000
1000000001
2147483646
2147483647
2147483648
4294967294
4294967295
4294967296
9999999999
10000000000
10000000001
99999999999
100000000000
100000000001
999999999999
1000000000000
1000000000001
9999999999999
10000000000000
10000000000001
99999999999999
100000000000000
100000000000001
999999999999999
1000000000000000
1000000000000001
9999999999999999
10000000000000000
10000000000000001
99999999999999999
100000000000000000
100000000000000001
999999999999999999
1000000000000000000
1000000000000000001
9223372036854775806
9223372036854775807
9223372036854775808
9999999999999999999
10000000000000000000
10000000000000000001
18446744073709551614
18446744073709551615