interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / omc / om2 / hex / pairs-dec.om

135 lines · 2106 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Decimal twin of pairs-hex.om (spellings from Wolfram, wolfram.txt query pairs).
3note Compiles byte-identically to pairs-hex.om.
4om2
5fn main to int
6a = uchar 0
7putu ulong a
8a = uchar 1
9putu ulong a
10a = uchar 255
11putu ulong a
12a = uchar 128
13putu ulong a
14a = uchar 170
15putu ulong a
16a = uchar 153
17putu ulong a
18a = uchar 75
19putu ulong a
20a = uchar 36
21putu ulong a
22b = ushort 0
23putu ulong b
24b = ushort 1
25putu ulong b
26b = ushort 65535
27putu ulong b
28b = ushort 32768
29putu ulong b
30b = ushort 21603
31putu ulong b
32b = ushort 33716
33putu ulong b
34b = ushort 7831
35putu ulong b
36b = ushort 38284
37putu ulong b
38c = uint 0
39putu ulong c
40c = uint 1
41putu ulong c
42c = uint 4294967295
43putu ulong c
44c = uint 2147483648
45putu ulong c
46c = uint 83920300
47putu ulong c
48c = uint 1509667242
49putu ulong c
50c = uint 3150959341
51putu ulong c
52c = uint 3910442725
53putu ulong c
54d = ulong 0
55putu d
56d = ulong 1
57putu d
58d = ulong 18446744073709551615
59putu d
60d = ulong 9223372036854775808
61putu d
62d = ulong 15205998013390911501
63putu d
64d = ulong 16740117136465882709
65putu d
66d = ulong 1684610389927020364
67putu d
68d = ulong 6097465819152223959
69putu d
70e = byte 0
71putu ulong e
72e = byte 1
73putu ulong e
74e = byte 127
75putu ulong e
76e = byte 64
77putu ulong e
78e = byte 55
79putu ulong e
80e = byte 1
81putu ulong e
82e = byte 35
83putu ulong e
84e = byte 36
85putu ulong e
86f = short 0
87putu ulong f
88f = short 1
89putu ulong f
90f = short 32767
91putu ulong f
92f = short 16384
93putu ulong f
94f = short 29462
95putu ulong f
96f = short 18848
97putu ulong f
98f = short 28453
99putu ulong f
100f = short 23010
101putu ulong f
102g = int 0
103putu ulong g
104g = int 1
105putu ulong g
106g = int 2147483647
107putu ulong g
108g = int 1073741824
109putu ulong g
110g = int 491140535
111putu ulong g
112g = int 3657980
113putu ulong g
114g = int 499641010
115putu ulong g
116g = int 2038208288
117putu ulong g
118h = long 0
119putu ulong h
120h = long 1
121putu ulong h
122h = long 9223372036854775807
123putu ulong h
124h = long 4611686018427387904
125putu ulong h
126h = long 2358124982775785610
127putu ulong h
128h = long 5281094983814553355
129putu ulong h
130h = long 6496971512538355926
131putu ulong h
132h = long 4123693503557151770
133putu ulong h
134ret 0
135end