~ubuntu-branches/ubuntu/saucy/emscripten/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/parseInt/output.txt

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
strtol("-9223372036854775809") = -2147483648
 
2
ERR 34
 
3
strtoll("-9223372036854775809") = -9223372036854775808
 
4
ERR 34
 
5
strtoul("-9223372036854775809") = 4294967295
 
6
ERR 34
 
7
strtoull("-9223372036854775809") = 9223372036854775807
 
8
 
 
9
strtol("-9223372036854775808") = -2147483648
 
10
ERR 34
 
11
strtoll("-9223372036854775808") = -9223372036854775808
 
12
strtoul("-9223372036854775808") = 4294967295
 
13
ERR 34
 
14
strtoull("-9223372036854775808") = 9223372036854775808
 
15
 
 
16
strtol("-9223372036854775807") = -2147483648
 
17
ERR 34
 
18
strtoll("-9223372036854775807") = -9223372036854775807
 
19
strtoul("-9223372036854775807") = 4294967295
 
20
ERR 34
 
21
strtoull("-9223372036854775807") = 9223372036854775809
 
22
 
 
23
strtol("-2147483649") = -2147483648
 
24
ERR 34
 
25
strtoll("-2147483649") = -2147483649
 
26
strtoul("-2147483649") = 2147483647
 
27
strtoull("-2147483649") = 18446744071562067967
 
28
 
 
29
strtol("-2147483648") = -2147483648
 
30
strtoll("-2147483648") = -2147483648
 
31
strtoul("-2147483648") = 2147483648
 
32
strtoull("-2147483648") = 18446744071562067968
 
33
 
 
34
strtol("-2147483647") = -2147483647
 
35
strtoll("-2147483647") = -2147483647
 
36
strtoul("-2147483647") = 2147483649
 
37
strtoull("-2147483647") = 18446744071562067969
 
38
 
 
39
strtol("-5") = -5
 
40
strtoll("-5") = -5
 
41
strtoul("-5") = 4294967291
 
42
strtoull("-5") = 18446744073709551611
 
43
 
 
44
strtol("-1") = -1
 
45
strtoll("-1") = -1
 
46
strtoul("-1") = 4294967295
 
47
strtoull("-1") = 18446744073709551615
 
48
 
 
49
strtol("0") = 0
 
50
strtoll("0") = 0
 
51
strtoul("0") = 0
 
52
strtoull("0") = 0
 
53
 
 
54
strtol("1") = 1
 
55
strtoll("1") = 1
 
56
strtoul("1") = 1
 
57
strtoull("1") = 1
 
58
 
 
59
strtol("5") = 5
 
60
strtoll("5") = 5
 
61
strtoul("5") = 5
 
62
strtoull("5") = 5
 
63
 
 
64
strtol("2147483646") = 2147483646
 
65
strtoll("2147483646") = 2147483646
 
66
strtoul("2147483646") = 2147483646
 
67
strtoull("2147483646") = 2147483646
 
68
 
 
69
strtol("2147483647") = 2147483647
 
70
strtoll("2147483647") = 2147483647
 
71
strtoul("2147483647") = 2147483647
 
72
strtoull("2147483647") = 2147483647
 
73
 
 
74
strtol("2147483648") = 2147483647
 
75
ERR 34
 
76
strtoll("2147483648") = 2147483648
 
77
strtoul("2147483648") = 2147483648
 
78
strtoull("2147483648") = 2147483648
 
79
 
 
80
strtol("4294967294") = 2147483647
 
81
ERR 34
 
82
strtoll("4294967294") = 4294967294
 
83
strtoul("4294967294") = 4294967294
 
84
strtoull("4294967294") = 4294967294
 
85
 
 
86
strtol("4294967295") = 2147483647
 
87
ERR 34
 
88
strtoll("4294967295") = 4294967295
 
89
strtoul("4294967295") = 4294967295
 
90
strtoull("4294967295") = 4294967295
 
91
 
 
92
strtol("4294967296") = 2147483647
 
93
ERR 34
 
94
strtoll("4294967296") = 4294967296
 
95
strtoul("4294967296") = 4294967295
 
96
ERR 34
 
97
strtoull("4294967296") = 4294967296
 
98
 
 
99
strtol("18446744073709551614") = 2147483647
 
100
ERR 34
 
101
strtoll("18446744073709551614") = 9223372036854775807
 
102
ERR 34
 
103
strtoul("18446744073709551614") = 4294967295
 
104
ERR 34
 
105
strtoull("18446744073709551614") = 18446744073709551614
 
106
 
 
107
strtol("18446744073709551615") = 2147483647
 
108
ERR 34
 
109
strtoll("18446744073709551615") = 9223372036854775807
 
110
ERR 34
 
111
strtoul("18446744073709551615") = 4294967295
 
112
ERR 34
 
113
strtoull("18446744073709551615") = 18446744073709551615
 
114
 
 
115
strtol("18446744073709551616") = 2147483647
 
116
ERR 34
 
117
strtoll("18446744073709551616") = 9223372036854775807
 
118
ERR 34
 
119
strtoul("18446744073709551616") = 4294967295
 
120
ERR 34
 
121
strtoull("18446744073709551616") = 18446744073709551615
 
122
ERR 34
 
123
 
 
124
strtol("0x12", 0, 0) = 18
 
125
strtol("0x12", 0, 10) = 0
 
126
strtol("012", 0, 0) = 10
 
127
strtol("012", 0, 10) = 12
 
128
strtol("0y12", 0, 0) = 0
 
129
strtol("hello", 0, 30) = 14167554
 
130
strtol("hello", 0, 10) = 0
 
131
strtol("not-a-number") = 0
 
132
strtol("  0x12end") = 302
 
133
endptr - str = 7