float-formats 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,36 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ include Flt
4
+
5
+ class TestArithmetic < Test::Unit::TestCase
6
+
7
+ def setup
8
+ @all_types = Flt.constants.map{|c| Flt.class_eval(c.to_s)}.select{|c| (c < Flt::FormatBase)&& !(c.to_s.downcase.include?('format'))}
9
+ end
10
+
11
+ def test_precision
12
+ @all_types.each do |t|
13
+ one = t.new('1')
14
+ three = t.new('3')
15
+ four = t.new('4')
16
+ nine = t.new('9')
17
+ ten = t.new('10')
18
+
19
+ x = one - (four/three - one)*three
20
+
21
+ check = t.join(x.sign,1,1-t.significand_digits)
22
+
23
+ assert x==check, "#{t}: 1-(4/3-1)*3 = +/-#{t.radix}^#{1-t.significand_digits}"
24
+
25
+ end
26
+ end
27
+
28
+ def test_epsilon
29
+ @all_types.each do |t|
30
+ one = t.from_number(1)
31
+ assert((one + t.strict_epsilon)==one.next_plus, "#{t}: 1+epsilon=1.next_plus")
32
+ assert((one.next_plus - one) == t.epsilon, "#{t}: 1.next_plus-1=epsilon")
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,43 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+ require 'yaml'
3
+
4
+ include Flt
5
+
6
+ def test_bits
7
+ assert_equal 11, Bits.new(11).size
8
+ assert_equal "00000", Bits.new(5).to_s
9
+ assert_equal "011010101010", Bits.from_s("011010101010").to_s
10
+ assert_equal 0b011010101010, Bits.from_s("011010101010").to_i
11
+ assert_equal 0b011010101010, Bits.from_i(0b011010101010).to_i
12
+ assert_equal "011010101010", Bits.from_i(0b011010101010).to_s
13
+ b = Bits.from_s("0111010100110")
14
+ assert_equal 0,b[0]
15
+ assert_equal 1,b[1]
16
+ assert_equal 1,b[2]
17
+ assert_equal 0,b[3]
18
+ assert_equal 0,b[4]
19
+ assert_equal 1,b[5]
20
+ assert_equal 0,b[12]
21
+ assert_equal 0,b[13]
22
+ b[1] = 0
23
+ assert_equal 0,b[0]
24
+ assert_equal 0,b[1]
25
+ assert_equal 1,b[2]
26
+ assert_equal 0,b[3]
27
+ b[1] = 1
28
+ assert_equal 0,b[0]
29
+ assert_equal 1,b[1]
30
+ assert_equal 1,b[2]
31
+ assert_equal 0,b[3]
32
+ end
33
+
34
+ def test_bytes
35
+ b = Bytes.from_hex("AF237B93")
36
+ assert_equal "AF237B93", b.to_hex
37
+ assert_equal 0xAF237B93, b.to_bits.to_i
38
+ assert_equal 0xAF237B93, b.to_i
39
+ b = Bytes.from_bits(Bits.from_i(0xAF237B93))
40
+ assert_equal "AF237B93", b.to_hex
41
+ assert_equal 0xAF237B93, b.to_bits.to_i
42
+ assert_equal 0xAF237B93, b.to_i
43
+ end
data/test/test_data.yaml CHANGED
@@ -1,1667 +1,1667 @@
1
- ---
2
- C51_BCD_FLOAT:
3
- parameters:
4
- - total_bits: 32
5
- - radix: 10
6
- - significand_digits: 6
7
- - radix_min_exp: -65
8
- - radix_max_exp: 62
9
- - decimal_digits_stored: 6
10
- - decimal_digits_necessary: 6
11
- - decimal_min_exp: -65
12
- - decimal_max_exp: 62
13
- values:
14
- - Rational(1, 3): 40 33 33 33
15
- - Rational(1, 10): 40 00 00 10
16
- - Rational(2, 3): 40 67 66 66
17
- - Rational(1, 1024): 3C 25 56 76 09
18
- - Rational(1, 1000): 3E 00 00 10
19
- - Rational(1024, 1): 44 00 24 10
20
- - Rational(1024, 1): 44 00 24 10
21
- special:
22
- - min_value: 00 00 00 10
23
- - min_normalized_value: 00 00 00 10
24
- - max_value: 7F 99 99 99
25
- - epsilon: 3C 00 00 10
26
- - strict_epsilon: 3C 00 00 10
27
- numerals:
28
- - "+0": 00 00 00 00
29
- - "-0": 80 00 00 00
30
- - "+1": 41 00 00 10
31
- - "-1": C1 00 00 10
32
- - "+0.1": 40 00 00 10
33
- - "-0.1": C0 00 00 10
34
- - "0.5": 40 00 00 50
35
- - "-0.5": C0 00 00 50
36
- - "29.2": 42 00 20 29
37
- - "-29.2": C2 00 20 29
38
- - "0.03125": 3F 00 25 31
39
- - "-0.03125": BF 00 25 31
40
- - "-0.3125": C0 00 25 31
41
- - 1.234E2: 43 00 34 12
42
- - "-1.234E-6": BB 00 34 12
43
- - "65536.0": 45 60 53 65
44
- - "-65536.0": C5 60 53 65
45
- - "-7.50": C1 00 00 75
46
- - 1E-65: 00 00 00 10
47
- - 9.99999E62: 7F 99 99 99
48
- - 1E-5: 3C 00 00 10
49
- - 1E-5: 3C 00 00 10
50
- base: :bytes
51
- IBM64:
52
- parameters:
53
- - total_bits: 64
54
- - radix: 16
55
- - significand_digits: 14
56
- - radix_min_exp: -65
57
- - radix_max_exp: 62
58
- - decimal_digits_stored: 15
59
- - decimal_digits_necessary: 18
60
- - decimal_min_exp: -77
61
- - decimal_max_exp: 77
62
- values:
63
- - Rational(1, 3): 40 55 55 55 55 55 55 55
64
- - Rational(1, 10): 40 19 99 99 99 99 99 9A
65
- - Rational(2, 3): 40 AA AA AA AA AA AA AB
66
- - Rational(1, 1024): 3E 40 00 00 00 00 00 00
67
- - Rational(1, 1000): 3E 41 89 37 4B C6 A7 F0
68
- - Rational(1024, 1): 43 40 00 00 00 00 00 00
69
- - Rational(1024, 1): 43 40 00 00 00 00 00 00
70
- special:
71
- - min_value: 00 10 00 00 00 00 00 00
72
- - min_normalized_value: 00 10 00 00 00 00 00 00
73
- - max_value: 7F FF FF FF FF FF FF FF
74
- - epsilon: 34 10 00 00 00 00 00 00
75
- - strict_epsilon: 34 10 00 00 00 00 00 00
76
- numerals:
77
- - "+0": 00 00 00 00 00 00 00 00
78
- - "-0": 80 00 00 00 00 00 00 00
79
- - "+1": 41 10 00 00 00 00 00 00
80
- - "-1": C1 10 00 00 00 00 00 00
81
- - "+0.1": 40 19 99 99 99 99 99 9A
82
- - "-0.1": C0 19 99 99 99 99 99 9A
83
- - "0.5": 40 80 00 00 00 00 00 00
84
- - "-0.5": C0 80 00 00 00 00 00 00
85
- - "29.2": 42 1D 33 33 33 33 33 33
86
- - "-29.2": C2 1D 33 33 33 33 33 33
87
- - "0.03125": 3F 80 00 00 00 00 00 00
88
- - "-0.03125": BF 80 00 00 00 00 00 00
89
- - "-0.3125": C0 50 00 00 00 00 00 00
90
- - 1.234E2: 42 7B 66 66 66 66 66 66
91
- - "-1.234E-6": BC 14 B3 FD 59 42 CD 96
92
- - "65536.0": 45 10 00 00 00 00 00 00
93
- - "-65536.0": C5 10 00 00 00 00 00 00
94
- - "-7.50": C1 78 00 00 00 00 00 00
95
- - "5.39760534693402789E-79": 00 10 00 00 00 00 00 00
96
- - 7.23700557733226211E75: 7F FF FF FF FF FF FF FF
97
- - "2.22044604925031308E-16": 34 10 00 00 00 00 00 00
98
- - "2.22044604925031308E-16": 34 10 00 00 00 00 00 00
99
- base: :bytes
100
- VAX_D:
101
- parameters:
102
- - total_bits: 64
103
- - radix: 2
104
- - significand_digits: 56
105
- - radix_min_exp: -128
106
- - radix_max_exp: 126
107
- - decimal_digits_stored: 16
108
- - decimal_digits_necessary: 18
109
- - decimal_min_exp: -38
110
- - decimal_max_exp: 38
111
- values:
112
- - Rational(1, 3): AA 3F AA AA AA AA AB AA
113
- - Rational(1, 10): CC 3E CC CC CC CC CD CC
114
- - Rational(2, 3): 2A 40 AA AA AA AA AB AA
115
- - Rational(1, 1024): 80 3B 00 00 00 00 00 00
116
- - Rational(1, 1000): 83 3B 6E 12 8D 97 DF 4F
117
- - Rational(1024, 1): 80 45 00 00 00 00 00 00
118
- - Rational(1024, 1): 80 45 00 00 00 00 00 00
119
- special:
120
- - min_value: 80 00 00 00 00 00 00 00
121
- - min_normalized_value: 80 00 00 00 00 00 00 00
122
- - max_value: FF 7F FF FF FF FF FF FF
123
- - epsilon: 00 25 00 00 00 00 00 00
124
- - strict_epsilon: 00 25 00 00 00 00 00 00
125
- numerals:
126
- - "+0": 00 00 00 00 00 00 00 00
127
- - "-0": 00 80 00 00 00 00 00 00
128
- - "+1": 80 40 00 00 00 00 00 00
129
- - "-1": 80 C0 00 00 00 00 00 00
130
- - "+0.1": CC 3E CC CC CC CC CD CC
131
- - "-0.1": CC BE CC CC CC CC CD CC
132
- - "0.5": 00 40 00 00 00 00 00 00
133
- - "-0.5": 00 C0 00 00 00 00 00 00
134
- - "29.2": E9 42 99 99 99 99 9A 99
135
- - "-29.2": E9 C2 99 99 99 99 9A 99
136
- - "0.03125": 00 3E 00 00 00 00 00 00
137
- - "-0.03125": 00 BE 00 00 00 00 00 00
138
- - "-0.3125": A0 BF 00 00 00 00 00 00
139
- - 1.234E2: F6 43 CC CC CC CC CD CC
140
- - "-1.234E-6": A5 B6 EA 9F 16 CA B2 6C
141
- - "65536.0": 80 48 00 00 00 00 00 00
142
- - "-65536.0": 80 C8 00 00 00 00 00 00
143
- - "-7.50": F0 C1 00 00 00 00 00 00
144
- - "2.93873587705571877E-39": 80 00 00 00 00 00 00 00
145
- - 1.70141183460469229E38: FF 7F FF FF FF FF FF FF
146
- - "2.77555756156289135E-17": 00 25 00 00 00 00 00 00
147
- - "2.77555756156289135E-17": 00 25 00 00 00 00 00 00
148
- base: :bytes
149
- IEEE_SINGLE:
150
- parameters:
151
- - total_bits: 32
152
- - radix: 2
153
- - significand_digits: 24
154
- - radix_min_exp: -126
155
- - radix_max_exp: 127
156
- - decimal_digits_stored: 6
157
- - decimal_digits_necessary: 9
158
- - decimal_min_exp: -37
159
- - decimal_max_exp: 38
160
- values:
161
- - Rational(1, 3): AB AA AA 3E
162
- - Rational(1, 10): CD CC CC 3D
163
- - Rational(2, 3): AB AA 2A 3F
164
- - Rational(1, 1024): 00 00 80 3A
165
- - Rational(1, 1000): 6F 12 83 3A
166
- - Rational(1024, 1): 00 00 80 44
167
- - Rational(1024, 1): 00 00 80 44
168
- special:
169
- - min_value: 01 00 00 00
170
- - min_normalized_value: 00 00 80 00
171
- - max_value: FF FF 7F 7F
172
- - epsilon: 00 00 00 34
173
- - strict_epsilon: 01 00 80 33
174
- numerals:
175
- - "+0": 00 00 00 00
176
- - "-0": 00 00 00 80
177
- - "+1": 00 00 80 3F
178
- - "-1": 00 00 80 BF
179
- - "+0.1": CD CC CC 3D
180
- - "-0.1": CD CC CC BD
181
- - "0.5": 00 00 00 3F
182
- - "-0.5": 00 00 00 BF
183
- - "29.2": 9A 99 E9 41
184
- - "-29.2": 9A 99 E9 C1
185
- - "0.03125": 00 00 00 3D
186
- - "-0.03125": 00 00 00 BD
187
- - "-0.3125": 00 00 A0 BE
188
- - 1.234E2: CD CC F6 42
189
- - "-1.234E-6": EB 9F A5 B5
190
- - "65536.0": 00 00 80 47
191
- - "-65536.0": 00 00 80 C7
192
- - "-7.50": 00 00 F0 C0
193
- - "1.17549435E-38": 00 00 80 00
194
- - 3.40282347E38: FF FF 7F 7F
195
- - "1.1920929E-7": 00 00 00 34
196
- - "5.96046519E-8": 01 00 80 33
197
- base: :bytes
198
- UNIVAC_DOUBLE:
199
- parameters:
200
- - total_bits: 72
201
- - radix: 2
202
- - significand_digits: 60
203
- - radix_min_exp: -1025
204
- - radix_max_exp: 1022
205
- - decimal_digits_stored: 17
206
- - decimal_digits_necessary: 20
207
- - decimal_min_exp: -308
208
- - decimal_max_exp: 308
209
- values:
210
- - Rational(1, 3): 3FFAAAAAAAAAAAAAAB
211
- - Rational(1, 10): 3FDCCCCCCCCCCCCCCD
212
- - Rational(2, 3): 400AAAAAAAAAAAAAAB
213
- - Rational(1, 1024): 3F7800000000000000
214
- - Rational(1, 1000): 3F783126E978D4FDF4
215
- - Rational(1024, 1): 40B800000000000000
216
- - Rational(1024, 1): 40B800000000000000
217
- special:
218
- - min_value: 000800000000000000
219
- - min_normalized_value: 000800000000000000
220
- - max_value: 7FFFFFFFFFFFFFFFFF
221
- - epsilon: 3C6800000000000000
222
- - strict_epsilon: 3C6800000000000000
223
- numerals:
224
- - "+0": "000000000000000000"
225
- - "-0": FFFFFFFFFFFFFFFFFF
226
- - "+1": "401800000000000000"
227
- - "-1": BFE7FFFFFFFFFFFFFF
228
- - "+0.1": 3FDCCCCCCCCCCCCCCD
229
- - "-0.1": C02333333333333332
230
- - "0.5": "400800000000000000"
231
- - "-0.5": BFF7FFFFFFFFFFFFFF
232
- - "29.2": 405E9999999999999A
233
- - "-29.2": BFA166666666666665
234
- - "0.03125": 3FC800000000000000
235
- - "-0.03125": C037FFFFFFFFFFFFFF
236
- - "-0.3125": C005FFFFFFFFFFFFFF
237
- - 1.234E2: 407F6CCCCCCCCCCCCD
238
- - "-1.234E-6": C125A601535E9934E6
239
- - "65536.0": "411800000000000000"
240
- - "-65536.0": BEE7FFFFFFFFFFFFFF
241
- - "-7.50": BFC0FFFFFFFFFFFFFF
242
- - "2.7813423231340017289E-309": 000800000000000000
243
- - 8.9884656743115795309E307: 7FFFFFFFFFFFFFFFFF
244
- - "1.7347234759768070944E-18": 3C6800000000000000
245
- - "1.7347234759768070944E-18": 3C6800000000000000
246
- base: 16
247
- IBM32:
248
- parameters:
249
- - total_bits: 32
250
- - radix: 16
251
- - significand_digits: 6
252
- - radix_min_exp: -65
253
- - radix_max_exp: 62
254
- - decimal_digits_stored: 6
255
- - decimal_digits_necessary: 9
256
- - decimal_min_exp: -77
257
- - decimal_max_exp: 77
258
- values:
259
- - Rational(1, 3): 40 55 55 55
260
- - Rational(1, 10): 40 19 99 9A
261
- - Rational(2, 3): 40 AA AA AB
262
- - Rational(1, 1024): 3E 40 00 00
263
- - Rational(1, 1000): 3E 41 89 37
264
- - Rational(1024, 1): 43 40 00 00
265
- - Rational(1024, 1): 43 40 00 00
266
- special:
267
- - min_value: 00 10 00 00
268
- - min_normalized_value: 00 10 00 00
269
- - max_value: 7F FF FF FF
270
- - epsilon: 3C 10 00 00
271
- - strict_epsilon: 3C 10 00 00
272
- numerals:
273
- - "+0": 00 00 00 00
274
- - "-0": 80 00 00 00
275
- - "+1": 41 10 00 00
276
- - "-1": C1 10 00 00
277
- - "+0.1": 40 19 99 9A
278
- - "-0.1": C0 19 99 9A
279
- - "0.5": 40 80 00 00
280
- - "-0.5": C0 80 00 00
281
- - "29.2": 42 1D 33 33
282
- - "-29.2": C2 1D 33 33
283
- - "0.03125": 3F 80 00 00
284
- - "-0.03125": BF 80 00 00
285
- - "-0.3125": C0 50 00 00
286
- - 1.234E2: 42 7B 66 66
287
- - "-1.234E-6": BC 14 B3 FD
288
- - "65536.0": 45 10 00 00
289
- - "-65536.0": C5 10 00 00
290
- - "-7.50": C1 78 00 00
291
- - "5.39760535E-79": 00 10 00 00
292
- - 7.23700515E75: 7F FF FF FF
293
- - "9.53674316E-7": 3C 10 00 00
294
- - "9.53674316E-7": 3C 10 00 00
295
- base: :bytes
296
- PDP11_D:
297
- parameters:
298
- - total_bits: 64
299
- - radix: 2
300
- - significand_digits: 56
301
- - radix_min_exp: -129
302
- - radix_max_exp: 126
303
- - decimal_digits_stored: 16
304
- - decimal_digits_necessary: 18
305
- - decimal_min_exp: -38
306
- - decimal_max_exp: 38
307
- values:
308
- - Rational(1, 3): AA 3F AA AA AA AA AB AA
309
- - Rational(1, 10): CC 3E CC CC CC CC CD CC
310
- - Rational(2, 3): 2A 40 AA AA AA AA AB AA
311
- - Rational(1, 1024): 80 3B 00 00 00 00 00 00
312
- - Rational(1, 1000): 83 3B 6E 12 8D 97 DF 4F
313
- - Rational(1024, 1): 80 45 00 00 00 00 00 00
314
- - Rational(1024, 1): 80 45 00 00 00 00 00 00
315
- special:
316
- - min_value: 00 00 00 00 00 00 01 00
317
- - min_normalized_value: 00 00 00 00 00 00 01 00
318
- - max_value: FF 7F FF FF FF FF FF FF
319
- - epsilon: 00 25 00 00 00 00 00 00
320
- - strict_epsilon: 00 25 00 00 00 00 00 00
321
- numerals:
322
- - "+0": 00 00 00 00 00 00 00 00
323
- - "-0": 00 80 00 00 00 00 00 00
324
- - "+1": 80 40 00 00 00 00 00 00
325
- - "-1": 80 C0 00 00 00 00 00 00
326
- - "+0.1": CC 3E CC CC CC CC CD CC
327
- - "-0.1": CC BE CC CC CC CC CD CC
328
- - "0.5": 00 40 00 00 00 00 00 00
329
- - "-0.5": 00 C0 00 00 00 00 00 00
330
- - "29.2": E9 42 99 99 99 99 9A 99
331
- - "-29.2": E9 C2 99 99 99 99 9A 99
332
- - "0.03125": 00 3E 00 00 00 00 00 00
333
- - "-0.03125": 00 BE 00 00 00 00 00 00
334
- - "-0.3125": A0 BF 00 00 00 00 00 00
335
- - 1.234E2: F6 43 CC CC CC CC CD CC
336
- - "-1.234E-6": A5 B6 EA 9F 16 CA B2 6C
337
- - "65536.0": 80 48 00 00 00 00 00 00
338
- - "-65536.0": 80 C8 00 00 00 00 00 00
339
- - "-7.50": F0 C1 00 00 00 00 00 00
340
- - "1.46936793852785943E-39": 00 00 00 00 00 00 01 00
341
- - 1.70141183460469229E38: FF 7F FF FF FF FF FF FF
342
- - "2.77555756156289135E-17": 00 25 00 00 00 00 00 00
343
- - "2.77555756156289135E-17": 00 25 00 00 00 00 00 00
344
- base: :bytes
345
- C51_BCD_DOUBLE:
346
- parameters:
347
- - total_bits: 48
348
- - radix: 10
349
- - significand_digits: 10
350
- - radix_min_exp: -65
351
- - radix_max_exp: 62
352
- - decimal_digits_stored: 10
353
- - decimal_digits_necessary: 10
354
- - decimal_min_exp: -65
355
- - decimal_max_exp: 62
356
- values:
357
- - Rational(1, 3): 40 33 33 33 33 33
358
- - Rational(1, 10): 40 00 00 00 00 10
359
- - Rational(2, 3): 40 67 66 66 66 66
360
- - Rational(1, 1024): 3D 00 50 62 65 97
361
- - Rational(1, 1000): 3E 00 00 00 00 10
362
- - Rational(1024, 1): 44 00 00 00 24 10
363
- - Rational(1024, 1): 44 00 00 00 24 10
364
- special:
365
- - min_value: 00 00 00 00 00 10
366
- - min_normalized_value: 00 00 00 00 00 10
367
- - max_value: 7F 99 99 99 99 99
368
- - epsilon: 38 00 00 00 00 10
369
- - strict_epsilon: 38 00 00 00 00 10
370
- numerals:
371
- - "+0": 00 00 00 00 00 00
372
- - "-0": 80 00 00 00 00 00
373
- - "+1": 41 00 00 00 00 10
374
- - "-1": C1 00 00 00 00 10
375
- - "+0.1": 40 00 00 00 00 10
376
- - "-0.1": C0 00 00 00 00 10
377
- - "0.5": 40 00 00 00 00 50
378
- - "-0.5": C0 00 00 00 00 50
379
- - "29.2": 42 00 00 00 20 29
380
- - "-29.2": C2 00 00 00 20 29
381
- - "0.03125": 3F 00 00 00 25 31
382
- - "-0.03125": BF 00 00 00 25 31
383
- - "-0.3125": C0 00 00 00 25 31
384
- - 1.234E2: 43 00 00 00 34 12
385
- - "-1.234E-6": BB 00 00 00 34 12
386
- - "65536.0": 45 00 00 60 53 65
387
- - "-65536.0": C5 00 00 60 53 65
388
- - "-7.50": C1 00 00 00 00 75
389
- - 1E-65: 00 00 00 00 00 10
390
- - 9.999999999E62: 7F 99 99 99 99 99
391
- - 1E-9: 38 00 00 00 00 10
392
- - 1E-9: 38 00 00 00 00 10
393
- base: :bytes
394
- VAX_F:
395
- parameters:
396
- - total_bits: 32
397
- - radix: 2
398
- - significand_digits: 24
399
- - radix_min_exp: -128
400
- - radix_max_exp: 126
401
- - decimal_digits_stored: 6
402
- - decimal_digits_necessary: 9
403
- - decimal_min_exp: -38
404
- - decimal_max_exp: 38
405
- values:
406
- - Rational(1, 3): AA 3F AB AA
407
- - Rational(1, 10): CC 3E CD CC
408
- - Rational(2, 3): 2A 40 AB AA
409
- - Rational(1, 1024): 80 3B 00 00
410
- - Rational(1, 1000): 83 3B 6F 12
411
- - Rational(1024, 1): 80 45 00 00
412
- - Rational(1024, 1): 80 45 00 00
413
- special:
414
- - min_value: 80 00 00 00
415
- - min_normalized_value: 80 00 00 00
416
- - max_value: FF 7F FF FF
417
- - epsilon: 00 35 00 00
418
- - strict_epsilon: 00 35 00 00
419
- numerals:
420
- - "+0": 00 00 00 00
421
- - "-0": 00 80 00 00
422
- - "+1": 80 40 00 00
423
- - "-1": 80 C0 00 00
424
- - "+0.1": CC 3E CD CC
425
- - "-0.1": CC BE CD CC
426
- - "0.5": 00 40 00 00
427
- - "-0.5": 00 C0 00 00
428
- - "29.2": E9 42 9A 99
429
- - "-29.2": E9 C2 9A 99
430
- - "0.03125": 00 3E 00 00
431
- - "-0.03125": 00 BE 00 00
432
- - "-0.3125": A0 BF 00 00
433
- - 1.234E2: F6 43 CD CC
434
- - "-1.234E-6": A5 B6 EB 9F
435
- - "65536.0": 80 48 00 00
436
- - "-65536.0": 80 C8 00 00
437
- - "-7.50": F0 C1 00 00
438
- - "2.93873588E-39": 80 00 00 00
439
- - 1.70141173E38: FF 7F FF FF
440
- - "1.1920929E-7": 00 35 00 00
441
- - "1.1920929E-7": 00 35 00 00
442
- base: :bytes
443
- XS256_DOUBLE:
444
- parameters:
445
- - total_bits: 64
446
- - radix: 2
447
- - significand_digits: 55
448
- - radix_min_exp: -256
449
- - radix_max_exp: 255
450
- - decimal_digits_stored: 16
451
- - decimal_digits_necessary: 18
452
- - decimal_min_exp: -76
453
- - decimal_max_exp: 77
454
- values:
455
- - Rational(1, 3): 3F 95 55 55 55 55 55 55
456
- - Rational(1, 10): 3F 26 66 66 66 66 66 66
457
- - Rational(2, 3): 3F D5 55 55 55 55 55 55
458
- - Rational(1, 1024): 3D 80 00 00 00 00 00 00
459
- - Rational(1, 1000): 3D 81 89 37 4B C6 A7 F0
460
- - Rational(1024, 1): 42 80 00 00 00 00 00 00
461
- - Rational(1024, 1): 42 80 00 00 00 00 00 00
462
- special:
463
- - min_value: 00 00 00 00 00 00 00 01
464
- - min_normalized_value: 00 00 00 00 00 00 00 01
465
- - max_value: 7F FF FF FF FF FF FF FF
466
- - epsilon: 32 80 00 00 00 00 00 00
467
- - strict_epsilon: 32 40 00 00 00 00 00 00
468
- numerals:
469
- - "+0": 00 00 00 00 00 00 00 00
470
- - "-0": 80 00 00 00 00 00 00 00
471
- - "+1": 40 00 00 00 00 00 00 00
472
- - "-1": C0 00 00 00 00 00 00 00
473
- - "+0.1": 3F 26 66 66 66 66 66 66
474
- - "-0.1": BF 26 66 66 66 66 66 66
475
- - "0.5": 3F C0 00 00 00 00 00 00
476
- - "-0.5": BF C0 00 00 00 00 00 00
477
- - "29.2": 41 34 CC CC CC CC CC CD
478
- - "-29.2": C1 34 CC CC CC CC CC CD
479
- - "0.03125": 3E C0 00 00 00 00 00 00
480
- - "-0.03125": BE C0 00 00 00 00 00 00
481
- - "-0.3125": BF 90 00 00 00 00 00 00
482
- - 1.234E2: 41 BB 66 66 66 66 66 66
483
- - "-1.234E-6": BB 12 CF F5 65 0B 36 59
484
- - "65536.0": 44 00 00 00 00 00 00 00
485
- - "-65536.0": C4 00 00 00 00 00 00 00
486
- - "-7.50": C0 B8 00 00 00 00 00 00
487
- - "8.6361685550944451E-78": 00 00 00 00 00 00 00 01
488
- - 1.15792089237316192E77: 7F FF FF FF FF FF FF FF
489
- - "5.5511151231257827E-17": 32 80 00 00 00 00 00 00
490
- - "2.77555756156289135E-17": 32 40 00 00 00 00 00 00
491
- base: :bytes
492
- IEEE_DOUBLE:
493
- parameters:
494
- - total_bits: 64
495
- - radix: 2
496
- - significand_digits: 53
497
- - radix_min_exp: -1022
498
- - radix_max_exp: 1023
499
- - decimal_digits_stored: 15
500
- - decimal_digits_necessary: 17
501
- - decimal_min_exp: -307
502
- - decimal_max_exp: 308
503
- values:
504
- - Rational(1, 3): 55 55 55 55 55 55 D5 3F
505
- - Rational(1, 10): 9A 99 99 99 99 99 B9 3F
506
- - Rational(2, 3): 55 55 55 55 55 55 E5 3F
507
- - Rational(1, 1024): 00 00 00 00 00 00 50 3F
508
- - Rational(1, 1000): FC A9 F1 D2 4D 62 50 3F
509
- - Rational(1024, 1): 00 00 00 00 00 00 90 40
510
- - Rational(1024, 1): 00 00 00 00 00 00 90 40
511
- special:
512
- - min_value: 01 00 00 00 00 00 00 00
513
- - min_normalized_value: 00 00 00 00 00 00 10 00
514
- - max_value: FF FF FF FF FF FF EF 7F
515
- - epsilon: 00 00 00 00 00 00 B0 3C
516
- - strict_epsilon: 01 00 00 00 00 00 A0 3C
517
- numerals:
518
- - "+0": 00 00 00 00 00 00 00 00
519
- - "-0": 00 00 00 00 00 00 00 80
520
- - "+1": 00 00 00 00 00 00 F0 3F
521
- - "-1": 00 00 00 00 00 00 F0 BF
522
- - "+0.1": 9A 99 99 99 99 99 B9 3F
523
- - "-0.1": 9A 99 99 99 99 99 B9 BF
524
- - "0.5": 00 00 00 00 00 00 E0 3F
525
- - "-0.5": 00 00 00 00 00 00 E0 BF
526
- - "29.2": 33 33 33 33 33 33 3D 40
527
- - "-29.2": 33 33 33 33 33 33 3D C0
528
- - "0.03125": 00 00 00 00 00 00 A0 3F
529
- - "-0.03125": 00 00 00 00 00 00 A0 BF
530
- - "-0.3125": 00 00 00 00 00 00 D4 BF
531
- - 1.234E2: 9A 99 99 99 99 D9 5E 40
532
- - "-1.234E-6": 96 CD 42 59 FD B3 B4 BE
533
- - "65536.0": 00 00 00 00 00 00 F0 40
534
- - "-65536.0": 00 00 00 00 00 00 F0 C0
535
- - "-7.50": 00 00 00 00 00 00 1E C0
536
- - "2.2250738585072014E-308": 00 00 00 00 00 00 10 00
537
- - 1.7976931348623157E308: FF FF FF FF FF FF EF 7F
538
- - "2.2204460492503131E-16": 00 00 00 00 00 00 B0 3C
539
- - "1.1102230246251568E-16": 01 00 00 00 00 00 A0 3C
540
- base: :bytes
541
- CDC_DOUBLE:
542
- parameters:
543
- - total_bits: 120
544
- - radix: 2
545
- - significand_digits: 96
546
- - radix_min_exp: -928
547
- - radix_max_exp: 1070
548
- - decimal_digits_stored: 28
549
- - decimal_digits_necessary: 30
550
- - decimal_min_exp: -279
551
- - decimal_max_exp: 322
552
- values:
553
- - Rational(1, 3): AB AA AA AA AA AA 9E A3 AA AA AA AA AA EA 3C
554
- - Rational(1, 10): CD CC CC CC CC CC 9C C3 CC CC CC CC CC CC 3C
555
- - Rational(2, 3): AB AA AA AA AA AA 9F A3 AA AA AA AA AA FA 3C
556
- - Rational(1, 1024): 00 00 00 00 00 00 96 03 00 00 00 00 00 68 3C
557
- - Rational(1, 1000): AC 1C 5A 64 3B DF 96 F3 D4 78 E9 26 31 68 3C
558
- - Rational(1024, 1): 00 00 00 00 00 00 AA 03 00 00 00 00 00 A8 3D
559
- - Rational(1024, 1): 00 00 00 00 00 00 AA 03 00 00 00 00 00 A8 3D
560
- special:
561
- - min_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
562
- - min_normalized_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
563
- - max_value: FF FF FF FF FF FF FF F7 FF FF FF FF FF FF 7F
564
- - epsilon: 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
565
- - strict_epsilon: 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
566
- numerals:
567
- - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
568
- - "-0": FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
569
- - "+1": 00 00 00 00 00 00 A0 03 00 00 00 00 00 08 3D
570
- - "-1": FF FF FF FF FF FF 5F FC FF FF FF FF FF F7 C2
571
- - "+0.1": CD CC CC CC CC CC 9C C3 CC CC CC CC CC CC 3C
572
- - "-0.1": 32 33 33 33 33 33 63 3C 33 33 33 33 33 33 C3
573
- - "0.5": 00 00 00 00 00 00 9F 03 00 00 00 00 00 F8 3C
574
- - "-0.5": FF FF FF FF FF FF 60 FC FF FF FF FF FF 07 C3
575
- - "29.2": 9A 99 99 99 99 99 A4 93 99 99 99 99 99 4E 3D
576
- - "-29.2": 65 66 66 66 66 66 5B 6C 66 66 66 66 66 B1 C2
577
- - "0.03125": 00 00 00 00 00 00 9B 03 00 00 00 00 00 B8 3C
578
- - "-0.03125": FF FF FF FF FF FF 64 FC FF FF FF FF FF 47 C3
579
- - "-0.3125": FF FF FF FF FF FF 61 FC FF FF FF FF FF 15 C3
580
- - 1.234E2: CD CC CC CC CC CC A6 C3 CC CC CC CC 6C 6F 3D
581
- - "-1.234E-6": 4D 1F F6 4C 73 4E 73 3C 99 5E 53 01 A6 35 C4
582
- - "65536.0": 00 00 00 00 00 00 B0 03 00 00 00 00 00 08 3E
583
- - "-65536.0": FF FF FF FF FF FF 4F FC FF FF FF FF FF F7 C1
584
- - "-7.50": FF FF FF FF FF FF 5D FC FF FF FF FF FF D0 C2
585
- - "4.40721283170124408220034687787E-280": 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
586
- - 2.53002816634138272940619183395E322: FF FF FF FF FF FF FF F7 FF FF FF FF FF FF 7F
587
- - "2.5243548967072377773175314089E-29": 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
588
- - "2.5243548967072377773175314089E-29": 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
589
- base: :bytes
590
- PDP11_F:
591
- parameters:
592
- - total_bits: 32
593
- - radix: 2
594
- - significand_digits: 24
595
- - radix_min_exp: -129
596
- - radix_max_exp: 126
597
- - decimal_digits_stored: 6
598
- - decimal_digits_necessary: 9
599
- - decimal_min_exp: -38
600
- - decimal_max_exp: 38
601
- values:
602
- - Rational(1, 3): AA 3F AB AA
603
- - Rational(1, 10): CC 3E CD CC
604
- - Rational(2, 3): 2A 40 AB AA
605
- - Rational(1, 1024): 80 3B 00 00
606
- - Rational(1, 1000): 83 3B 6F 12
607
- - Rational(1024, 1): 80 45 00 00
608
- - Rational(1024, 1): 80 45 00 00
609
- special:
610
- - min_value: 00 00 01 00
611
- - min_normalized_value: 00 00 01 00
612
- - max_value: FF 7F FF FF
613
- - epsilon: 00 35 00 00
614
- - strict_epsilon: 00 35 00 00
615
- numerals:
616
- - "+0": 00 00 00 00
617
- - "-0": 00 80 00 00
618
- - "+1": 80 40 00 00
619
- - "-1": 80 C0 00 00
620
- - "+0.1": CC 3E CD CC
621
- - "-0.1": CC BE CD CC
622
- - "0.5": 00 40 00 00
623
- - "-0.5": 00 C0 00 00
624
- - "29.2": E9 42 9A 99
625
- - "-29.2": E9 C2 9A 99
626
- - "0.03125": 00 3E 00 00
627
- - "-0.03125": 00 BE 00 00
628
- - "-0.3125": A0 BF 00 00
629
- - 1.234E2: F6 43 CD CC
630
- - "-1.234E-6": A5 B6 EB 9F
631
- - "65536.0": 80 48 00 00
632
- - "-65536.0": 80 C8 00 00
633
- - "-7.50": F0 C1 00 00
634
- - "1.46936811E-39": 00 00 01 00
635
- - 1.70141173E38: FF 7F FF FF
636
- - "1.1920929E-7": 00 35 00 00
637
- - "1.1920929E-7": 00 35 00 00
638
- base: :bytes
639
- VAX_G:
640
- parameters:
641
- - total_bits: 64
642
- - radix: 2
643
- - significand_digits: 53
644
- - radix_min_exp: -1024
645
- - radix_max_exp: 1022
646
- - decimal_digits_stored: 15
647
- - decimal_digits_necessary: 17
648
- - decimal_min_exp: -307
649
- - decimal_max_exp: 308
650
- values:
651
- - Rational(1, 3): F5 3F 55 55 55 55 55 55
652
- - Rational(1, 10): D9 3F 99 99 99 99 9A 99
653
- - Rational(2, 3): 05 40 55 55 55 55 55 55
654
- - Rational(1, 1024): 70 3F 00 00 00 00 00 00
655
- - Rational(1, 1000): 70 3F 4D 62 F1 D2 FC A9
656
- - Rational(1024, 1): B0 40 00 00 00 00 00 00
657
- - Rational(1024, 1): B0 40 00 00 00 00 00 00
658
- special:
659
- - min_value: 10 00 00 00 00 00 00 00
660
- - min_normalized_value: 10 00 00 00 00 00 00 00
661
- - max_value: FF 7F FF FF FF FF FF FF
662
- - epsilon: D0 3C 00 00 00 00 00 00
663
- - strict_epsilon: D0 3C 00 00 00 00 00 00
664
- numerals:
665
- - "+0": 00 00 00 00 00 00 00 00
666
- - "-0": 00 80 00 00 00 00 00 00
667
- - "+1": 10 40 00 00 00 00 00 00
668
- - "-1": 10 C0 00 00 00 00 00 00
669
- - "+0.1": D9 3F 99 99 99 99 9A 99
670
- - "-0.1": D9 BF 99 99 99 99 9A 99
671
- - "0.5": 00 40 00 00 00 00 00 00
672
- - "-0.5": 00 C0 00 00 00 00 00 00
673
- - "29.2": 5D 40 33 33 33 33 33 33
674
- - "-29.2": 5D C0 33 33 33 33 33 33
675
- - "0.03125": C0 3F 00 00 00 00 00 00
676
- - "-0.03125": C0 BF 00 00 00 00 00 00
677
- - "-0.3125": F4 BF 00 00 00 00 00 00
678
- - 1.234E2: 7E 40 99 D9 99 99 9A 99
679
- - "-1.234E-6": D4 BE FD B3 42 59 96 CD
680
- - "65536.0": 10 41 00 00 00 00 00 00
681
- - "-65536.0": 10 C1 00 00 00 00 00 00
682
- - "-7.50": 3E C0 00 00 00 00 00 00
683
- - "5.5626846462680035E-309": 10 00 00 00 00 00 00 00
684
- - 8.9884656743115785E307: FF 7F FF FF FF FF FF FF
685
- - "2.2204460492503131E-16": D0 3C 00 00 00 00 00 00
686
- - "2.2204460492503131E-16": D0 3C 00 00 00 00 00 00
687
- base: :bytes
688
- SATURN_X:
689
- parameters:
690
- - total_bits: 104
691
- - radix: 10
692
- - significand_digits: 15
693
- - radix_min_exp: -49999
694
- - radix_max_exp: 49999
695
- - decimal_digits_stored: 15
696
- - decimal_digits_necessary: 15
697
- - decimal_min_exp: -49999
698
- - decimal_max_exp: 49999
699
- values:
700
- - Rational(1, 3): 03333333333333339999902955
701
- - Rational(1, 10): 01000000000000009999902955
702
- - Rational(2, 3): 06666666666666679999902955
703
- - Rational(1, 1024): 09765625000000009999602955
704
- - Rational(1, 1000): 01000000000000009999702955
705
- - Rational(1024, 1): 01024000000000000000302955
706
- - Rational(1024, 1): 01024000000000000000302955
707
- special:
708
- - min_value: 01000000000000005000102955
709
- - min_normalized_value: 01000000000000005000102955
710
- - max_value: 09999999999999994999902955
711
- - epsilon: 01000000000000009998602955
712
- - strict_epsilon: 05000000000000019998502955
713
- numerals:
714
- - "+0": 00000000000000000000002955
715
- - "-0": "90000000000000000000002955"
716
- - "+1": 01000000000000000000002955
717
- - "-1": "91000000000000000000002955"
718
- - "+0.1": 01000000000000009999902955
719
- - "-0.1": "91000000000000009999902955"
720
- - "0.5": 05000000000000009999902955
721
- - "-0.5": "95000000000000009999902955"
722
- - "29.2": 02920000000000000000102955
723
- - "-29.2": "92920000000000000000102955"
724
- - "0.03125": 03125000000000009999802955
725
- - "-0.03125": "93125000000000009999802955"
726
- - "-0.3125": "93125000000000009999902955"
727
- - 1.234E2: 01234000000000000000202955
728
- - "-1.234E-6": "91234000000000009999402955"
729
- - "65536.0": 06553600000000000000402955
730
- - "-65536.0": "96553600000000000000402955"
731
- - "-7.50": "97500000000000000000002955"
732
- - 1E-49999: 01000000000000005000102955
733
- - 9.99999999999999E49999: 09999999999999994999902955
734
- - 1E-14: 01000000000000009998602955
735
- - "5.00000000000001E-15": 05000000000000019998502955
736
- base: 16
737
- SATURN:
738
- parameters:
739
- - total_bits: 84
740
- - radix: 10
741
- - significand_digits: 12
742
- - radix_min_exp: -499
743
- - radix_max_exp: 499
744
- - decimal_digits_stored: 12
745
- - decimal_digits_necessary: 12
746
- - decimal_min_exp: -499
747
- - decimal_max_exp: 499
748
- values:
749
- - Rational(1, 3): 033333333333399902933
750
- - Rational(1, 10): 010000000000099902933
751
- - Rational(2, 3): 066666666666799902933
752
- - Rational(1, 1024): 097656250000099602933
753
- - Rational(1, 1000): 010000000000099702933
754
- - Rational(1024, 1): 010240000000000302933
755
- - Rational(1024, 1): 010240000000000302933
756
- special:
757
- - min_value: 010000000000050102933
758
- - min_normalized_value: 010000000000050102933
759
- - max_value: 099999999999949902933
760
- - epsilon: 010000000000098902933
761
- - strict_epsilon: 050000000000198802933
762
- numerals:
763
- - "+0": 000000000000000002933
764
- - "-0": "900000000000000002933"
765
- - "+1": 010000000000000002933
766
- - "-1": "910000000000000002933"
767
- - "+0.1": 010000000000099902933
768
- - "-0.1": "910000000000099902933"
769
- - "0.5": 050000000000099902933
770
- - "-0.5": "950000000000099902933"
771
- - "29.2": 029200000000000102933
772
- - "-29.2": "929200000000000102933"
773
- - "0.03125": 031250000000099802933
774
- - "-0.03125": "931250000000099802933"
775
- - "-0.3125": "931250000000099902933"
776
- - 1.234E2: 012340000000000202933
777
- - "-1.234E-6": "912340000000099402933"
778
- - "65536.0": 065536000000000402933
779
- - "-65536.0": "965536000000000402933"
780
- - "-7.50": "975000000000000002933"
781
- - 1E-499: 010000000000050102933
782
- - 9.99999999999E499: 099999999999949902933
783
- - 1E-11: 010000000000098902933
784
- - "5.00000000001E-12": 050000000000198802933
785
- base: 16
786
- VAX_H:
787
- parameters:
788
- - total_bits: 128
789
- - radix: 2
790
- - significand_digits: 113
791
- - radix_min_exp: -16384
792
- - radix_max_exp: 16382
793
- - decimal_digits_stored: 33
794
- - decimal_digits_necessary: 36
795
- - decimal_min_exp: -4931
796
- - decimal_max_exp: 4932
797
- values:
798
- - Rational(1, 3): FF 3F 55 55 55 55 55 55 55 55 55 55 55 55 55 55
799
- - Rational(1, 10): FD 3F 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
800
- - Rational(2, 3): 00 40 55 55 55 55 55 55 55 55 55 55 55 55 55 55
801
- - Rational(1, 1024): F7 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
802
- - Rational(1, 1000): F7 3F 24 06 2F DD 9F 1A 76 BE B4 C8 58 39 62 10
803
- - Rational(1024, 1): 0B 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
804
- - Rational(1024, 1): 0B 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
805
- special:
806
- - min_value: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
807
- - min_normalized_value: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
808
- - max_value: FF 7F FF FF FF FF FF FF FF FF FF FF FF FF FF FF
809
- - epsilon: 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
810
- - strict_epsilon: 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
811
- numerals:
812
- - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
813
- - "-0": 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
814
- - "+1": 01 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
815
- - "-1": 01 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
816
- - "+0.1": FD 3F 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
817
- - "-0.1": FD BF 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
818
- - "0.5": 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
819
- - "-0.5": 00 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
820
- - "29.2": 05 40 33 D3 33 33 33 33 33 33 33 33 33 33 33 33
821
- - "-29.2": 05 C0 33 D3 33 33 33 33 33 33 33 33 33 33 33 33
822
- - "0.03125": FC 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
823
- - "-0.03125": FC BF 00 00 00 00 00 00 00 00 00 00 00 00 00 00
824
- - "-0.3125": FF BF 00 40 00 00 00 00 00 00 00 00 00 00 00 00
825
- - 1.234E2: 07 40 99 ED 99 99 99 99 99 99 99 99 99 99 9A 99
826
- - "-1.234E-6": ED BF 3F 4B 94 D5 D9 2C 19 63 13 66 64 C1 20 1F
827
- - "65536.0": 11 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
828
- - "-65536.0": 11 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
829
- - "-7.50": 03 C0 00 E0 00 00 00 00 00 00 00 00 00 00 00 00
830
- - "8.40525785778023376565669454330438151E-4933": 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
831
- - 5.94865747678615882542879663314003508E4931: FF 7F FF FF FF FF FF FF FF FF FF FF FF FF FF FF
832
- - "1.92592994438723585305597794258492732E-34": 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
833
- - "1.92592994438723585305597794258492732E-34": 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
834
- base: :bytes
835
- MBF_SINGLE:
836
- parameters:
837
- - total_bits: 32
838
- - radix: 2
839
- - significand_digits: 24
840
- - radix_min_exp: -128
841
- - radix_max_exp: 126
842
- - decimal_digits_stored: 6
843
- - decimal_digits_necessary: 9
844
- - decimal_min_exp: -38
845
- - decimal_max_exp: 38
846
- values:
847
- - Rational(1, 3): AB AA 2A 7F
848
- - Rational(1, 10): CD CC 4C 7D
849
- - Rational(2, 3): AB AA 2A 80
850
- - Rational(1, 1024): 00 00 00 77
851
- - Rational(1, 1000): 6F 12 03 77
852
- - Rational(1024, 1): 00 00 00 8B
853
- - Rational(1024, 1): 00 00 00 8B
854
- special:
855
- - min_value: 00 00 00 01
856
- - min_normalized_value: 00 00 00 01
857
- - max_value: FF FF 7F FF
858
- - epsilon: 00 00 00 6A
859
- - strict_epsilon: 00 00 00 6A
860
- numerals:
861
- - "+0": 00 00 00 00
862
- - "-0": 00 00 80 00
863
- - "+1": 00 00 00 81
864
- - "-1": 00 00 80 81
865
- - "+0.1": CD CC 4C 7D
866
- - "-0.1": CD CC CC 7D
867
- - "0.5": 00 00 00 80
868
- - "-0.5": 00 00 80 80
869
- - "29.2": 9A 99 69 85
870
- - "-29.2": 9A 99 E9 85
871
- - "0.03125": 00 00 00 7C
872
- - "-0.03125": 00 00 80 7C
873
- - "-0.3125": 00 00 A0 7F
874
- - 1.234E2: CD CC 76 87
875
- - "-1.234E-6": EB 9F A5 6D
876
- - "65536.0": 00 00 00 91
877
- - "-65536.0": 00 00 80 91
878
- - "-7.50": 00 00 F0 83
879
- - "2.93873588E-39": 00 00 00 01
880
- - 1.70141173E38: FF FF 7F FF
881
- - "1.1920929E-7": 00 00 00 6A
882
- - "1.1920929E-7": 00 00 00 6A
883
- base: :bytes
884
- HP_CLASSIC:
885
- parameters:
886
- - total_bits: 56
887
- - radix: 10
888
- - significand_digits: 10
889
- - radix_min_exp: -99
890
- - radix_max_exp: 99
891
- - decimal_digits_stored: 10
892
- - decimal_digits_necessary: 10
893
- - decimal_min_exp: -99
894
- - decimal_max_exp: 99
895
- values:
896
- - Rational(1, 3): 03 33 33 33 33 39 99
897
- - Rational(1, 10): 01 00 00 00 00 09 99
898
- - Rational(2, 3): 06 66 66 66 66 79 99
899
- - Rational(1, 1024): 09 76 56 25 00 09 96
900
- - Rational(1, 1000): 01 00 00 00 00 09 97
901
- - Rational(1024, 1): 01 02 40 00 00 00 03
902
- - Rational(1024, 1): 01 02 40 00 00 00 03
903
- special:
904
- - min_value: 01 00 00 00 00 09 01
905
- - min_normalized_value: 01 00 00 00 00 09 01
906
- - max_value: 09 99 99 99 99 90 99
907
- - epsilon: 01 00 00 00 00 09 91
908
- - strict_epsilon: 05 00 00 00 00 09 90
909
- numerals:
910
- - "+0": 00 00 00 00 00 00 00
911
- - "-0": 90 00 00 00 00 00 00
912
- - "+1": 01 00 00 00 00 00 00
913
- - "-1": 91 00 00 00 00 00 00
914
- - "+0.1": 01 00 00 00 00 09 99
915
- - "-0.1": 91 00 00 00 00 09 99
916
- - "0.5": 05 00 00 00 00 09 99
917
- - "-0.5": 95 00 00 00 00 09 99
918
- - "29.2": 02 92 00 00 00 00 01
919
- - "-29.2": 92 92 00 00 00 00 01
920
- - "0.03125": 03 12 50 00 00 09 98
921
- - "-0.03125": 93 12 50 00 00 09 98
922
- - "-0.3125": 93 12 50 00 00 09 99
923
- - 1.234E2: 01 23 40 00 00 00 02
924
- - "-1.234E-6": 91 23 40 00 00 09 94
925
- - "65536.0": 06 55 36 00 00 00 04
926
- - "-65536.0": 96 55 36 00 00 00 04
927
- - "-7.50": 97 50 00 00 00 00 00
928
- - 1E-99: 01 00 00 00 00 09 01
929
- - 9.999999999E99: 09 99 99 99 99 90 99
930
- - 1E-9: 01 00 00 00 00 09 91
931
- - 5E-10: 05 00 00 00 00 09 90
932
- base: :bytes
933
- C51_BCD_LONG_DOUBLE:
934
- parameters:
935
- - total_bits: 56
936
- - radix: 10
937
- - significand_digits: 12
938
- - radix_min_exp: -65
939
- - radix_max_exp: 62
940
- - decimal_digits_stored: 12
941
- - decimal_digits_necessary: 12
942
- - decimal_min_exp: -65
943
- - decimal_max_exp: 62
944
- values:
945
- - Rational(1, 3): 40 33 33 33 33 33 33
946
- - Rational(1, 10): 40 00 00 00 00 00 10
947
- - Rational(2, 3): 40 67 66 66 66 66 66
948
- - Rational(1, 1024): 3D 00 00 50 62 65 97
949
- - Rational(1, 1000): 3E 00 00 00 00 00 10
950
- - Rational(1024, 1): 44 00 00 00 00 24 10
951
- - Rational(1024, 1): 44 00 00 00 00 24 10
952
- special:
953
- - min_value: 00 00 00 00 00 00 10
954
- - min_normalized_value: 00 00 00 00 00 00 10
955
- - max_value: 7F 99 99 99 99 99 99
956
- - epsilon: 36 00 00 00 00 00 10
957
- - strict_epsilon: 36 00 00 00 00 00 10
958
- numerals:
959
- - "+0": 00 00 00 00 00 00 00
960
- - "-0": 80 00 00 00 00 00 00
961
- - "+1": 41 00 00 00 00 00 10
962
- - "-1": C1 00 00 00 00 00 10
963
- - "+0.1": 40 00 00 00 00 00 10
964
- - "-0.1": C0 00 00 00 00 00 10
965
- - "0.5": 40 00 00 00 00 00 50
966
- - "-0.5": C0 00 00 00 00 00 50
967
- - "29.2": 42 00 00 00 00 20 29
968
- - "-29.2": C2 00 00 00 00 20 29
969
- - "0.03125": 3F 00 00 00 00 25 31
970
- - "-0.03125": BF 00 00 00 00 25 31
971
- - "-0.3125": C0 00 00 00 00 25 31
972
- - 1.234E2: 43 00 00 00 00 34 12
973
- - "-1.234E-6": BB 00 00 00 00 34 12
974
- - "65536.0": 45 00 00 00 60 53 65
975
- - "-65536.0": C5 00 00 00 60 53 65
976
- - "-7.50": C1 00 00 00 00 00 75
977
- - 1E-65: 00 00 00 00 00 00 10
978
- - 9.99999999999E62: 7F 99 99 99 99 99 99
979
- - 1E-11: 36 00 00 00 00 00 10
980
- - 1E-11: 36 00 00 00 00 00 10
981
- base: :bytes
982
- IEEE_DEC128:
983
- parameters:
984
- - total_bits: 128
985
- - radix: 10
986
- - significand_digits: 34
987
- - radix_min_exp: -6143
988
- - radix_max_exp: 6144
989
- - decimal_digits_stored: 34
990
- - decimal_digits_necessary: 34
991
- - decimal_min_exp: -6143
992
- - decimal_max_exp: 6144
993
- values:
994
- - Rational(1, 3): 2D FF 9B 36 CD B3 6C DB 36 CD B3 6C DB 36 CD B3
995
- - Rational(1, 10): 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
996
- - Rational(2, 3): 39 FF B6 6D 9B 66 D9 B6 6D 9B 66 D9 B6 6D 9B 67
997
- - Rational(1, 1024): 22 05 80 00 00 00 00 00 00 00 00 00 00 9F 97 25
998
- - Rational(1, 1000): 22 07 40 00 00 00 00 00 00 00 00 00 00 00 00 01
999
- - Rational(1024, 1): 22 08 00 00 00 00 00 00 00 00 00 00 00 00 04 24
1000
- - Rational(1024, 1): 22 08 00 00 00 00 00 00 00 00 00 00 00 00 04 24
1001
- special:
1002
- - min_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1003
- - min_normalized_value: 00 08 40 00 00 00 00 00 00 00 00 00 00 00 00 01
1004
- - max_value: 77 FF CF F3 FC FF 3F CF F3 FC FF 3F CF F3 FC FF
1005
- - epsilon: 25 F7 80 00 00 00 00 00 00 00 00 00 00 00 00 00
1006
- - strict_epsilon: 25 F7 80 00 00 00 00 00 00 00 00 00 00 00 00 00
1007
- numerals:
1008
- - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1009
- - "-0": 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1010
- - "+1": 22 08 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1011
- - "-1": A2 08 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1012
- - "+0.1": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1013
- - "-0.1": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1014
- - "0.5": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 05
1015
- - "-0.5": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 05
1016
- - "29.2": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 01 3A
1017
- - "-29.2": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 01 3A
1018
- - "0.03125": 22 06 C0 00 00 00 00 00 00 00 00 00 00 00 0C A5
1019
- - "-0.03125": A2 06 C0 00 00 00 00 00 00 00 00 00 00 00 0C A5
1020
- - "-0.3125": A2 07 00 00 00 00 00 00 00 00 00 00 00 00 0C A5
1021
- - 1.234E2: 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 05 34
1022
- - "-1.234E-6": A2 05 C0 00 00 00 00 00 00 00 00 00 00 00 05 34
1023
- - "65536.0": 22 08 00 00 00 00 00 00 00 00 00 00 00 01 96 B6
1024
- - "-65536.0": A2 08 00 00 00 00 00 00 00 00 00 00 00 01 96 B6
1025
- - "-7.50": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 75
1026
- - 1E-6143: 00 08 40 00 00 00 00 00 00 00 00 00 00 00 00 01
1027
- - 9.999999999999999999999999999999999E6144: 77 FF CF F3 FC FF 3F CF F3 FC FF 3F CF F3 FC FF
1028
- - 1E-33: 21 FF C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1029
- - 1E-33: 21 FF C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1030
- base: :bytes
1031
- XS256:
1032
- parameters:
1033
- - total_bits: 32
1034
- - radix: 2
1035
- - significand_digits: 23
1036
- - radix_min_exp: -256
1037
- - radix_max_exp: 255
1038
- - decimal_digits_stored: 6
1039
- - decimal_digits_necessary: 8
1040
- - decimal_min_exp: -76
1041
- - decimal_max_exp: 77
1042
- values:
1043
- - Rational(1, 3): 3F 95 55 55
1044
- - Rational(1, 10): 3F 26 66 66
1045
- - Rational(2, 3): 3F D5 55 55
1046
- - Rational(1, 1024): 3D 80 00 00
1047
- - Rational(1, 1000): 3D 81 89 37
1048
- - Rational(1024, 1): 42 80 00 00
1049
- - Rational(1024, 1): 42 80 00 00
1050
- special:
1051
- - min_value: 00 00 00 01
1052
- - min_normalized_value: 00 00 00 01
1053
- - max_value: 7F FF FF FF
1054
- - epsilon: 3A 80 00 00
1055
- - strict_epsilon: 3A 40 00 00
1056
- numerals:
1057
- - "+0": 00 00 00 00
1058
- - "-0": 80 00 00 00
1059
- - "+1": 40 00 00 00
1060
- - "-1": C0 00 00 00
1061
- - "+0.1": 3F 26 66 66
1062
- - "-0.1": BF 26 66 66
1063
- - "0.5": 3F C0 00 00
1064
- - "-0.5": BF C0 00 00
1065
- - "29.2": 41 34 CC CD
1066
- - "-29.2": C1 34 CC CD
1067
- - "0.03125": 3E C0 00 00
1068
- - "-0.03125": BE C0 00 00
1069
- - "-0.3125": BF 90 00 00
1070
- - 1.234E2: 41 BB 66 66
1071
- - "-1.234E-6": BB 12 CF F5
1072
- - "65536.0": 44 00 00 00
1073
- - "-65536.0": C4 00 00 00
1074
- - "-7.50": C0 B8 00 00
1075
- - "8.6361706E-78": 00 00 00 01
1076
- - 1.1579208E77: 7F FF FF FF
1077
- - "2.3841858E-7": 3A 80 00 00
1078
- - "1.1920929E-7": 3A 40 00 00
1079
- base: :bytes
1080
- IEEE_EXTENDED:
1081
- parameters:
1082
- - total_bits: 80
1083
- - radix: 2
1084
- - significand_digits: 64
1085
- - radix_min_exp: -16382
1086
- - radix_max_exp: 16383
1087
- - decimal_digits_stored: 18
1088
- - decimal_digits_necessary: 21
1089
- - decimal_min_exp: -4931
1090
- - decimal_max_exp: 4932
1091
- values:
1092
- - Rational(1, 3): AB AA AA AA AA AA AA AA FD 3F
1093
- - Rational(1, 10): CD CC CC CC CC CC CC CC FB 3F
1094
- - Rational(2, 3): AB AA AA AA AA AA AA AA FE 3F
1095
- - Rational(1, 1024): 00 00 00 00 00 00 00 80 F5 3F
1096
- - Rational(1, 1000): 3B DF 4F 8D 97 6E 12 83 F5 3F
1097
- - Rational(1024, 1): 00 00 00 00 00 00 00 80 09 40
1098
- - Rational(1024, 1): 00 00 00 00 00 00 00 80 09 40
1099
- special:
1100
- - min_value: 01 00 00 00 00 00 00 00 00 00
1101
- - min_normalized_value: 00 00 00 00 00 00 00 80 01 00
1102
- - max_value: FF FF FF FF FF FF FF FF FE 7F
1103
- - epsilon: 00 00 00 00 00 00 00 80 C0 3F
1104
- - strict_epsilon: 01 00 00 00 00 00 00 80 BF 3F
1105
- numerals:
1106
- - "+0": 00 00 00 00 00 00 00 00 00 00
1107
- - "-0": 00 00 00 00 00 00 00 00 00 80
1108
- - "+1": 00 00 00 00 00 00 00 80 FF 3F
1109
- - "-1": 00 00 00 00 00 00 00 80 FF BF
1110
- - "+0.1": CD CC CC CC CC CC CC CC FB 3F
1111
- - "-0.1": CD CC CC CC CC CC CC CC FB BF
1112
- - "0.5": 00 00 00 00 00 00 00 80 FE 3F
1113
- - "-0.5": 00 00 00 00 00 00 00 80 FE BF
1114
- - "29.2": 9A 99 99 99 99 99 99 E9 03 40
1115
- - "-29.2": 9A 99 99 99 99 99 99 E9 03 C0
1116
- - "0.03125": 00 00 00 00 00 00 00 80 FA 3F
1117
- - "-0.03125": 00 00 00 00 00 00 00 80 FA BF
1118
- - "-0.3125": 00 00 00 00 00 00 00 A0 FD BF
1119
- - 1.234E2: CD CC CC CC CC CC CC F6 05 40
1120
- - "-1.234E-6": 8D B1 6C 16 CA EA 9F A5 EB BF
1121
- - "65536.0": 00 00 00 00 00 00 00 80 0F 40
1122
- - "-65536.0": 00 00 00 00 00 00 00 80 0F C0
1123
- - "-7.50": 00 00 00 00 00 00 00 F0 01 C0
1124
- - "3.36210314311209350626E-4932": 00 00 00 00 00 00 00 80 01 00
1125
- - 1.18973149535723176502E4932: FF FF FF FF FF FF FF FF FE 7F
1126
- - "1.08420217248550443401E-19": 00 00 00 00 00 00 00 80 C0 3F
1127
- - "5.42101086242752217063E-20": 01 00 00 00 00 00 00 80 BF 3F
1128
- base: :bytes
1129
- WANG2200:
1130
- parameters:
1131
- - total_bits: 64
1132
- - radix: 10
1133
- - significand_digits: 13
1134
- - radix_min_exp: -99
1135
- - radix_max_exp: 99
1136
- - decimal_digits_stored: 13
1137
- - decimal_digits_necessary: 13
1138
- - decimal_min_exp: -99
1139
- - decimal_max_exp: 99
1140
- values:
1141
- - Rational(1, 3): 33 33 33 33 33 33 03 81
1142
- - Rational(1, 10): 00 00 00 00 00 00 01 81
1143
- - Rational(2, 3): 67 66 66 66 66 66 06 81
1144
- - Rational(1, 1024): 00 00 00 25 56 76 09 84
1145
- - Rational(1, 1000): 00 00 00 00 00 00 01 83
1146
- - Rational(1024, 1): 00 00 00 00 40 02 01 03
1147
- - Rational(1024, 1): 00 00 00 00 40 02 01 03
1148
- special:
1149
- - min_value: 00 00 00 00 00 00 91 89
1150
- - min_normalized_value: 00 00 00 00 00 00 91 89
1151
- - max_value: 99 99 99 99 99 99 99 09
1152
- - epsilon: 00 00 00 00 00 00 11 82
1153
- - strict_epsilon: 00 00 00 00 00 00 11 82
1154
- numerals:
1155
- - "+0": 00 00 00 00 00 00 00 00
1156
- - "-0": 00 00 00 00 00 00 00 10
1157
- - "+1": 00 00 00 00 00 00 01 00
1158
- - "-1": 00 00 00 00 00 00 01 10
1159
- - "+0.1": 00 00 00 00 00 00 01 81
1160
- - "-0.1": 00 00 00 00 00 00 01 91
1161
- - "0.5": 00 00 00 00 00 00 05 81
1162
- - "-0.5": 00 00 00 00 00 00 05 91
1163
- - "29.2": 00 00 00 00 00 92 02 01
1164
- - "-29.2": 00 00 00 00 00 92 02 11
1165
- - "0.03125": 00 00 00 00 50 12 03 82
1166
- - "-0.03125": 00 00 00 00 50 12 03 92
1167
- - "-0.3125": 00 00 00 00 50 12 03 91
1168
- - 1.234E2: 00 00 00 00 40 23 01 02
1169
- - "-1.234E-6": 00 00 00 00 40 23 01 96
1170
- - "65536.0": 00 00 00 00 36 55 06 04
1171
- - "-65536.0": 00 00 00 00 36 55 06 14
1172
- - "-7.50": 00 00 00 00 00 50 07 10
1173
- - 1E-99: 00 00 00 00 00 00 91 89
1174
- - 9.999999999999E99: 99 99 99 99 99 99 99 09
1175
- - 1E-12: 00 00 00 00 00 00 11 82
1176
- - 1E-12: 00 00 00 00 00 00 11 82
1177
- base: :bytes
1178
- CRAY:
1179
- parameters:
1180
- - total_bits: 64
1181
- - radix: 2
1182
- - significand_digits: 48
1183
- - radix_min_exp: -8193
1184
- - radix_max_exp: 8190
1185
- - decimal_digits_stored: 14
1186
- - decimal_digits_necessary: 16
1187
- - decimal_min_exp: -2466
1188
- - decimal_max_exp: 2466
1189
- values:
1190
- - Rational(1, 3): 3F FF AA AA AA AA AA AB
1191
- - Rational(1, 10): 3F FD CC CC CC CC CC CD
1192
- - Rational(2, 3): 40 00 AA AA AA AA AA AB
1193
- - Rational(1, 1024): 3F F7 80 00 00 00 00 00
1194
- - Rational(1, 1000): 3F F7 83 12 6E 97 8D 50
1195
- - Rational(1024, 1): 40 0B 80 00 00 00 00 00
1196
- - Rational(1024, 1): 40 0B 80 00 00 00 00 00
1197
- special:
1198
- - min_value: 20 00 80 00 00 00 00 00
1199
- - min_normalized_value: 20 00 80 00 00 00 00 00
1200
- - max_value: 5F FF FF FF FF FF FF FF
1201
- - epsilon: 3F D2 80 00 00 00 00 00
1202
- - strict_epsilon: 3F D2 80 00 00 00 00 00
1203
- numerals:
1204
- - "+0": 00 00 00 00 00 00 00 00
1205
- - "-0": 80 00 00 00 00 00 00 00
1206
- - "+1": 40 01 80 00 00 00 00 00
1207
- - "-1": C0 01 80 00 00 00 00 00
1208
- - "+0.1": 3F FD CC CC CC CC CC CD
1209
- - "-0.1": BF FD CC CC CC CC CC CD
1210
- - "0.5": 40 00 80 00 00 00 00 00
1211
- - "-0.5": C0 00 80 00 00 00 00 00
1212
- - "29.2": 40 05 E9 99 99 99 99 9A
1213
- - "-29.2": C0 05 E9 99 99 99 99 9A
1214
- - "0.03125": 3F FC 80 00 00 00 00 00
1215
- - "-0.03125": BF FC 80 00 00 00 00 00
1216
- - "-0.3125": BF FF A0 00 00 00 00 00
1217
- - 1.234E2: 40 07 F6 CC CC CC CC CD
1218
- - "-1.234E-6": BF ED A5 9F EA CA 16 6D
1219
- - "65536.0": 40 11 80 00 00 00 00 00
1220
- - "-65536.0": C0 11 80 00 00 00 00 00
1221
- - "-7.50": C0 03 F0 00 00 00 00 00
1222
- - "4.584009668887118E-2467": 20 00 80 00 00 00 00 00
1223
- - 5.45374067809706E2465: 5F FF FF FF FF FF FF FF
1224
- - "7.105427357601002E-15": 3F D2 80 00 00 00 00 00
1225
- - "7.105427357601002E-15": 3F D2 80 00 00 00 00 00
1226
- base: :bytes
1227
- IBM128:
1228
- parameters:
1229
- - total_bits: 128
1230
- - radix: 16
1231
- - significand_digits: 28
1232
- - radix_min_exp: -51
1233
- - radix_max_exp: 62
1234
- - decimal_digits_stored: 32
1235
- - decimal_digits_necessary: 35
1236
- - decimal_min_exp: -60
1237
- - decimal_max_exp: 77
1238
- values:
1239
- - Rational(1, 3): 40 55 55 55 55 55 55 55 32 55 55 55 55 55 55 55
1240
- - Rational(1, 10): 40 19 99 99 99 99 99 99 32 99 99 99 99 99 99 9A
1241
- - Rational(2, 3): 40 AA AA AA AA AA AA AA 32 AA AA AA AA AA AA AB
1242
- - Rational(1, 1024): 3E 40 00 00 00 00 00 00 30 00 00 00 00 00 00 00
1243
- - Rational(1, 1000): 3E 41 89 37 4B C6 A7 EF 30 9D B2 2D 0E 56 04 19
1244
- - Rational(1024, 1): 43 40 00 00 00 00 00 00 35 00 00 00 00 00 00 00
1245
- - Rational(1024, 1): 43 40 00 00 00 00 00 00 35 00 00 00 00 00 00 00
1246
- special:
1247
- - min_value: 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1248
- - min_normalized_value: 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1249
- - max_value: 7F FF FF FF FF FF FF FF 7F FF FF FF FF FF FF FF
1250
- - epsilon: 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1251
- - strict_epsilon: 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1252
- numerals:
1253
- - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1254
- - "-0": 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00
1255
- - "+1": 41 10 00 00 00 00 00 00 33 00 00 00 00 00 00 00
1256
- - "-1": C1 10 00 00 00 00 00 00 B3 00 00 00 00 00 00 00
1257
- - "+0.1": 40 19 99 99 99 99 99 99 32 99 99 99 99 99 99 9A
1258
- - "-0.1": C0 19 99 99 99 99 99 99 B2 99 99 99 99 99 99 9A
1259
- - "0.5": 40 80 00 00 00 00 00 00 32 00 00 00 00 00 00 00
1260
- - "-0.5": C0 80 00 00 00 00 00 00 B2 00 00 00 00 00 00 00
1261
- - "29.2": 42 1D 33 33 33 33 33 33 34 33 33 33 33 33 33 33
1262
- - "-29.2": C2 1D 33 33 33 33 33 33 B4 33 33 33 33 33 33 33
1263
- - "0.03125": 3F 80 00 00 00 00 00 00 31 00 00 00 00 00 00 00
1264
- - "-0.03125": BF 80 00 00 00 00 00 00 B1 00 00 00 00 00 00 00
1265
- - "-0.3125": C0 50 00 00 00 00 00 00 B2 00 00 00 00 00 00 00
1266
- - 1.234E2: 42 7B 66 66 66 66 66 66 34 66 66 66 66 66 66 66
1267
- - "-1.234E-6": BC 14 B3 FD 59 42 CD 96 AE 31 96 61 3C 16 41 F2
1268
- - "65536.0": 45 10 00 00 00 00 00 00 37 00 00 00 00 00 00 00
1269
- - "-65536.0": C5 10 00 00 00 00 00 00 B7 00 00 00 00 00 00 00
1270
- - "-7.50": C1 78 00 00 00 00 00 00 B3 00 00 00 00 00 00 00
1271
- - "3.8893845486632135669650400336125777E-62": 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1272
- - 7.2370055773322622139731865630429928E75: 7F FF FF FF FF FF FF FF 7F FF FF FF FF FF FF FF
1273
- - "3.0814879110195773648895647081358837E-33": 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1274
- - "3.0814879110195773648895647081358837E-33": 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1275
- base: :bytes
1276
- IEEE_DEC64:
1277
- parameters:
1278
- - total_bits: 64
1279
- - radix: 10
1280
- - significand_digits: 16
1281
- - radix_min_exp: -383
1282
- - radix_max_exp: 384
1283
- - decimal_digits_stored: 16
1284
- - decimal_digits_necessary: 16
1285
- - decimal_min_exp: -383
1286
- - decimal_max_exp: 384
1287
- values:
1288
- - Rational(1, 3): 2D F9 B3 6C DB 36 CD B3
1289
- - Rational(1, 10): 22 34 00 00 00 00 00 01
1290
- - Rational(2, 3): 39 FB 66 D9 B6 6D 9B 67
1291
- - Rational(1, 1024): 22 10 00 00 00 9F 97 25
1292
- - Rational(1, 1000): 22 2C 00 00 00 00 00 01
1293
- - Rational(1024, 1): 22 38 00 00 00 00 04 24
1294
- - Rational(1024, 1): 22 38 00 00 00 00 04 24
1295
- special:
1296
- - min_value: 00 00 00 00 00 00 00 01
1297
- - min_normalized_value: 00 3C 00 00 00 00 00 01
1298
- - max_value: 77 FC FF 3F CF F3 FC FF
1299
- - epsilon: 25 C0 00 00 00 00 00 00
1300
- - strict_epsilon: 25 C0 00 00 00 00 00 00
1301
- numerals:
1302
- - "+0": 00 00 00 00 00 00 00 00
1303
- - "-0": 80 00 00 00 00 00 00 00
1304
- - "+1": 22 38 00 00 00 00 00 01
1305
- - "-1": A2 38 00 00 00 00 00 01
1306
- - "+0.1": 22 34 00 00 00 00 00 01
1307
- - "-0.1": A2 34 00 00 00 00 00 01
1308
- - "0.5": 22 34 00 00 00 00 00 05
1309
- - "-0.5": A2 34 00 00 00 00 00 05
1310
- - "29.2": 22 34 00 00 00 00 01 3A
1311
- - "-29.2": A2 34 00 00 00 00 01 3A
1312
- - "0.03125": 22 24 00 00 00 00 0C A5
1313
- - "-0.03125": A2 24 00 00 00 00 0C A5
1314
- - "-0.3125": A2 28 00 00 00 00 0C A5
1315
- - 1.234E2: 22 34 00 00 00 00 05 34
1316
- - "-1.234E-6": A2 14 00 00 00 00 05 34
1317
- - "65536.0": 22 38 00 00 00 01 96 B6
1318
- - "-65536.0": A2 38 00 00 00 01 96 B6
1319
- - "-7.50": A2 34 00 00 00 00 00 75
1320
- - 1E-383: 00 3C 00 00 00 00 00 01
1321
- - 9.999999999999999E384: 77 FC FF 3F CF F3 FC FF
1322
- - 1E-15: 21 FC 00 00 00 00 00 01
1323
- - 1E-15: 21 FC 00 00 00 00 00 01
1324
- base: :bytes
1325
- APPLE:
1326
- parameters:
1327
- - total_bits: 32
1328
- - radix: 2
1329
- - significand_digits: 23
1330
- - radix_min_exp: -128
1331
- - radix_max_exp: 127
1332
- - decimal_digits_stored: 6
1333
- - decimal_digits_necessary: 8
1334
- - decimal_min_exp: -38
1335
- - decimal_max_exp: 38
1336
- values:
1337
- - Rational(1, 3): 7E 55 55 55
1338
- - Rational(1, 10): 7C 66 66 66
1339
- - Rational(2, 3): 7F 55 55 55
1340
- - Rational(1, 1024): 76 40 00 00
1341
- - Rational(1, 1000): 76 41 89 37
1342
- - Rational(1024, 1): 8A 40 00 00
1343
- - Rational(1024, 1): 8A 40 00 00
1344
- special:
1345
- - min_value: 00 00 00 01
1346
- - min_normalized_value: 00 40 00 00
1347
- - max_value: FF 7F FF FF
1348
- - epsilon: 6A 40 00 00
1349
- - strict_epsilon: 6A 40 00 00
1350
- numerals:
1351
- - "+0": 00 00 00 00
1352
- - "-0": 00 80 00 00
1353
- - "+1": 80 40 00 00
1354
- - "-1": 7F 80 00 00
1355
- - "+0.1": 7C 66 66 66
1356
- - "-0.1": 7C 99 99 9A
1357
- - "0.5": 7F 40 00 00
1358
- - "-0.5": 7E 80 00 00
1359
- - "29.2": 84 74 CC CD
1360
- - "-29.2": 84 8B 33 33
1361
- - "0.03125": 7B 40 00 00
1362
- - "-0.03125": 7A 80 00 00
1363
- - "-0.3125": 7E B0 00 00
1364
- - 1.234E2: 86 7B 66 66
1365
- - "-1.234E-6": 6C AD 30 0B
1366
- - "65536.0": 90 40 00 00
1367
- - "-65536.0": 8F 80 00 00
1368
- - "-7.50": 82 88 00 00
1369
- - "5.8774718E-39": 01 40 00 00
1370
- - 3.4028233E38: FF 7F FF FF
1371
- - "2.3841858E-7": 6A 40 00 00
1372
- - "2.3841858E-7": 6A 40 00 00
1373
- base: :bytes
1374
- IEEE_DEC32:
1375
- parameters:
1376
- - total_bits: 32
1377
- - radix: 10
1378
- - significand_digits: 7
1379
- - radix_min_exp: -95
1380
- - radix_max_exp: 96
1381
- - decimal_digits_stored: 7
1382
- - decimal_digits_necessary: 7
1383
- - decimal_min_exp: -95
1384
- - decimal_max_exp: 96
1385
- values:
1386
- - Rational(1, 3): 2D E6 CD B3
1387
- - Rational(1, 10): 22 40 00 01
1388
- - Rational(2, 3): 39 ED 9B 67
1389
- - Rational(1, 1024): 6D BF 97 25
1390
- - Rational(1, 1000): 22 20 00 01
1391
- - Rational(1024, 1): 22 50 04 24
1392
- - Rational(1024, 1): 22 50 04 24
1393
- special:
1394
- - min_value: 00 00 00 01
1395
- - min_normalized_value: 00 60 00 01
1396
- - max_value: 77 F3 FC FF
1397
- - epsilon: 25 90 00 00
1398
- - strict_epsilon: 25 90 00 00
1399
- numerals:
1400
- - "+0": 00 00 00 00
1401
- - "-0": 80 00 00 00
1402
- - "+1": 22 50 00 01
1403
- - "-1": A2 50 00 01
1404
- - "+0.1": 22 40 00 01
1405
- - "-0.1": A2 40 00 01
1406
- - "0.5": 22 40 00 05
1407
- - "-0.5": A2 40 00 05
1408
- - "29.2": 22 40 01 3A
1409
- - "-29.2": A2 40 01 3A
1410
- - "0.03125": 22 00 0C A5
1411
- - "-0.03125": A2 00 0C A5
1412
- - "-0.3125": A2 10 0C A5
1413
- - 1.234E2: 22 40 05 34
1414
- - "-1.234E-6": A1 C0 05 34
1415
- - "65536.0": 22 51 96 B6
1416
- - "-65536.0": A2 51 96 B6
1417
- - "-7.50": A2 40 00 75
1418
- - 1E-95: 00 60 00 01
1419
- - 9.999999E96: 77 F3 FC FF
1420
- - 1E-6: 21 F0 00 01
1421
- - 1E-6: 21 F0 00 01
1422
- base: :bytes
1423
- CDC_SINGLE:
1424
- parameters:
1425
- - total_bits: 60
1426
- - radix: 2
1427
- - significand_digits: 48
1428
- - radix_min_exp: -976
1429
- - radix_max_exp: 1070
1430
- - decimal_digits_stored: 14
1431
- - decimal_digits_necessary: 16
1432
- - decimal_min_exp: -293
1433
- - decimal_max_exp: 322
1434
- values:
1435
- - Rational(1, 3): 3CEAAAAAAAAAAAB
1436
- - Rational(1, 10): 3CCCCCCCCCCCCCD
1437
- - Rational(2, 3): 3CFAAAAAAAAAAAB
1438
- - Rational(1, 1024): 3C6800000000000
1439
- - Rational(1, 1000): 3C683126E978D50
1440
- - Rational(1024, 1): 3DA800000000000
1441
- - Rational(1024, 1): 3DA800000000000
1442
- special:
1443
- - min_value: 000800000000000
1444
- - min_normalized_value: 000800000000000
1445
- - max_value: 7FFFFFFFFFFFFFF
1446
- - epsilon: 3A1800000000000
1447
- - strict_epsilon: 3A1800000000000
1448
- numerals:
1449
- - "+0": "000000000000000"
1450
- - "-0": FFFFFFFFFFFFFFF
1451
- - "+1": 3D0800000000000
1452
- - "-1": C2F7FFFFFFFFFFF
1453
- - "+0.1": 3CCCCCCCCCCCCCD
1454
- - "-0.1": C33333333333332
1455
- - "0.5": 3CF800000000000
1456
- - "-0.5": C307FFFFFFFFFFF
1457
- - "29.2": 3D4E9999999999A
1458
- - "-29.2": C2B166666666665
1459
- - "0.03125": 3CB800000000000
1460
- - "-0.03125": C347FFFFFFFFFFF
1461
- - "-0.3125": C315FFFFFFFFFFF
1462
- - 1.234E2: 3D6F6CCCCCCCCCD
1463
- - "-1.234E-6": C435A601535E992
1464
- - "65536.0": 3E0800000000000
1465
- - "-65536.0": C1F7FFFFFFFFFFF
1466
- - "-7.50": C2D0FFFFFFFFFFF
1467
- - "1.56575653125701E-294": 000800000000000
1468
- - 2.530028166341374E322: 7FFFFFFFFFFFFFF
1469
- - "7.105427357601002E-15": 3A1800000000000
1470
- - "7.105427357601002E-15": 3A1800000000000
1471
- base: 16
1472
- UNIVAC_SINGLE:
1473
- parameters:
1474
- - total_bits: 36
1475
- - radix: 2
1476
- - significand_digits: 27
1477
- - radix_min_exp: -129
1478
- - radix_max_exp: 126
1479
- - decimal_digits_stored: 7
1480
- - decimal_digits_necessary: 10
1481
- - decimal_min_exp: -38
1482
- - decimal_max_exp: 38
1483
- values:
1484
- - Rational(1, 3): 3FD555555
1485
- - Rational(1, 10): 3EE666666
1486
- - Rational(2, 3): "405555555"
1487
- - Rational(1, 1024): 3BC000000
1488
- - Rational(1, 1000): 3BC189375
1489
- - Rational(1024, 1): 45C000000
1490
- - Rational(1024, 1): 45C000000
1491
- special:
1492
- - min_value: "004000000"
1493
- - min_normalized_value: "004000000"
1494
- - max_value: 7FFFFFFFF
1495
- - epsilon: 33C000000
1496
- - strict_epsilon: 33C000000
1497
- numerals:
1498
- - "+0": "000000000"
1499
- - "-0": FFFFFFFFF
1500
- - "+1": 40C000000
1501
- - "-1": BF3FFFFFF
1502
- - "+0.1": 3EE666666
1503
- - "-0.1": C11999999
1504
- - "0.5": "404000000"
1505
- - "-0.5": BFBFFFFFF
1506
- - "29.2": 42F4CCCCD
1507
- - "-29.2": BD0B33332
1508
- - "0.03125": 3E4000000
1509
- - "-0.03125": C1BFFFFFF
1510
- - "-0.3125": C02FFFFFF
1511
- - 1.234E2: 43FB66666
1512
- - "-1.234E-6": C92D300A9
1513
- - "65536.0": 48C000000
1514
- - "-65536.0": B73FFFFFF
1515
- - "-7.50": BE07FFFFF
1516
- - "1.469367939E-39": "004000000"
1517
- - 1.701411822E38: 7FFFFFFFF
1518
- - "1.490116119E-8": 33C000000
1519
- - "1.490116119E-8": 33C000000
1520
- base: 16
1521
- MBF_DOUBLE:
1522
- parameters:
1523
- - total_bits: 64
1524
- - radix: 2
1525
- - significand_digits: 56
1526
- - radix_min_exp: -128
1527
- - radix_max_exp: 126
1528
- - decimal_digits_stored: 16
1529
- - decimal_digits_necessary: 18
1530
- - decimal_min_exp: -38
1531
- - decimal_max_exp: 38
1532
- values:
1533
- - Rational(1, 3): AB AA AA AA AA AA 2A 7F
1534
- - Rational(1, 10): CD CC CC CC CC CC 4C 7D
1535
- - Rational(2, 3): AB AA AA AA AA AA 2A 80
1536
- - Rational(1, 1024): 00 00 00 00 00 00 00 77
1537
- - Rational(1, 1000): DF 4F 8D 97 6E 12 03 77
1538
- - Rational(1024, 1): 00 00 00 00 00 00 00 8B
1539
- - Rational(1024, 1): 00 00 00 00 00 00 00 8B
1540
- special:
1541
- - min_value: 00 00 00 00 00 00 00 01
1542
- - min_normalized_value: 00 00 00 00 00 00 00 01
1543
- - max_value: FF FF FF FF FF FF 7F FF
1544
- - epsilon: 00 00 00 00 00 00 00 4A
1545
- - strict_epsilon: 00 00 00 00 00 00 00 4A
1546
- numerals:
1547
- - "+0": 00 00 00 00 00 00 00 00
1548
- - "-0": 00 00 00 00 00 00 80 00
1549
- - "+1": 00 00 00 00 00 00 00 81
1550
- - "-1": 00 00 00 00 00 00 80 81
1551
- - "+0.1": CD CC CC CC CC CC 4C 7D
1552
- - "-0.1": CD CC CC CC CC CC CC 7D
1553
- - "0.5": 00 00 00 00 00 00 00 80
1554
- - "-0.5": 00 00 00 00 00 00 80 80
1555
- - "29.2": 9A 99 99 99 99 99 69 85
1556
- - "-29.2": 9A 99 99 99 99 99 E9 85
1557
- - "0.03125": 00 00 00 00 00 00 00 7C
1558
- - "-0.03125": 00 00 00 00 00 00 80 7C
1559
- - "-0.3125": 00 00 00 00 00 00 A0 7F
1560
- - 1.234E2: CD CC CC CC CC CC 76 87
1561
- - "-1.234E-6": B2 6C 16 CA EA 9F A5 6D
1562
- - "65536.0": 00 00 00 00 00 00 00 91
1563
- - "-65536.0": 00 00 00 00 00 00 80 91
1564
- - "-7.50": 00 00 00 00 00 00 F0 83
1565
- - "2.93873587705571877E-39": 00 00 00 00 00 00 00 01
1566
- - 1.70141183460469229E38: FF FF FF FF FF FF 7F FF
1567
- - "2.77555756156289135E-17": 00 00 00 00 00 00 00 4A
1568
- - "2.77555756156289135E-17": 00 00 00 00 00 00 00 4A
1569
- base: :bytes
1570
- BORLAND48:
1571
- parameters:
1572
- - total_bits: 48
1573
- - radix: 2
1574
- - significand_digits: 40
1575
- - radix_min_exp: -128
1576
- - radix_max_exp: 126
1577
- - decimal_digits_stored: 11
1578
- - decimal_digits_necessary: 14
1579
- - decimal_min_exp: -38
1580
- - decimal_max_exp: 38
1581
- values:
1582
- - Rational(1, 3): 7F AB AA AA AA 2A
1583
- - Rational(1, 10): 7D CD CC CC CC 4C
1584
- - Rational(2, 3): 80 AB AA AA AA 2A
1585
- - Rational(1, 1024): 77 00 00 00 00 00
1586
- - Rational(1, 1000): 77 8D 97 6E 12 03
1587
- - Rational(1024, 1): 8B 00 00 00 00 00
1588
- - Rational(1024, 1): 8B 00 00 00 00 00
1589
- special:
1590
- - min_value: 01 00 00 00 00 00
1591
- - min_normalized_value: 01 00 00 00 00 00
1592
- - max_value: FF FF FF FF FF 7F
1593
- - epsilon: 5A 00 00 00 00 00
1594
- - strict_epsilon: 5A 00 00 00 00 00
1595
- numerals:
1596
- - "+0": 00 00 00 00 00 00
1597
- - "-0": 00 00 00 00 00 80
1598
- - "+1": 81 00 00 00 00 00
1599
- - "-1": 81 00 00 00 00 80
1600
- - "+0.1": 7D CD CC CC CC 4C
1601
- - "-0.1": 7D CD CC CC CC CC
1602
- - "0.5": 80 00 00 00 00 00
1603
- - "-0.5": 80 00 00 00 00 80
1604
- - "29.2": 85 9A 99 99 99 69
1605
- - "-29.2": 85 9A 99 99 99 E9
1606
- - "0.03125": 7C 00 00 00 00 00
1607
- - "-0.03125": 7C 00 00 00 00 80
1608
- - "-0.3125": 7F 00 00 00 00 A0
1609
- - 1.234E2: 87 CD CC CC CC 76
1610
- - "-1.234E-6": 6D 16 CA EA 9F A5
1611
- - "65536.0": 91 00 00 00 00 00
1612
- - "-65536.0": 91 00 00 00 00 80
1613
- - "-7.50": 83 00 00 00 00 F0
1614
- - "2.9387358770557E-39": 01 00 00 00 00 00
1615
- - 1.7014118346031E38: FF FF FF FF FF 7F
1616
- - "1.8189894035459E-12": 5A 00 00 00 00 00
1617
- - "1.8189894035459E-12": 5A 00 00 00 00 00
1618
- base: :bytes
1619
- XS128:
1620
- parameters:
1621
- - total_bits: 40
1622
- - radix: 2
1623
- - significand_digits: 32
1624
- - radix_min_exp: -128
1625
- - radix_max_exp: 126
1626
- - decimal_digits_stored: 9
1627
- - decimal_digits_necessary: 11
1628
- - decimal_min_exp: -38
1629
- - decimal_max_exp: 38
1630
- values:
1631
- - Rational(1, 3): 7F 2A AA AA AB
1632
- - Rational(1, 10): 7D 4C CC CC CD
1633
- - Rational(2, 3): 80 2A AA AA AB
1634
- - Rational(1, 1024): 77 00 00 00 00
1635
- - Rational(1, 1000): 77 03 12 6E 98
1636
- - Rational(1024, 1): 8B 00 00 00 00
1637
- - Rational(1024, 1): 8B 00 00 00 00
1638
- special:
1639
- - min_value: 01 00 00 00 00
1640
- - min_normalized_value: 01 00 00 00 00
1641
- - max_value: FF 7F FF FF FF
1642
- - epsilon: 62 00 00 00 00
1643
- - strict_epsilon: 61 00 00 00 00
1644
- numerals:
1645
- - "+0": 00 00 00 00 00
1646
- - "-0": 00 80 00 00 00
1647
- - "+1": 81 00 00 00 00
1648
- - "-1": 81 80 00 00 00
1649
- - "+0.1": 7D 4C CC CC CD
1650
- - "-0.1": 7D CC CC CC CD
1651
- - "0.5": 80 00 00 00 00
1652
- - "-0.5": 80 80 00 00 00
1653
- - "29.2": 85 69 99 99 9A
1654
- - "-29.2": 85 E9 99 99 9A
1655
- - "0.03125": 7C 00 00 00 00
1656
- - "-0.03125": 7C 80 00 00 00
1657
- - "-0.3125": 7F A0 00 00 00
1658
- - 1.234E2: 87 76 CC CC CD
1659
- - "-1.234E-6": 6D A5 9F EA CA
1660
- - "65536.0": 91 00 00 00 00
1661
- - "-65536.0": 91 80 00 00 00
1662
- - "-7.50": 83 F0 00 00 00
1663
- - "2.9387358771E-39": 01 00 00 00 00
1664
- - 1.7014118342E38: FF 7F FF FF FF
1665
- - "4.6566128731E-10": 62 00 00 00 00
1666
- - "2.3283064365E-10": 61 00 00 00 00
1667
- base: :bytes
1
+ ---
2
+ C51_BCD_FLOAT:
3
+ parameters:
4
+ - total_bits: 32
5
+ - radix: 10
6
+ - significand_digits: 6
7
+ - radix_min_exp: -65
8
+ - radix_max_exp: 62
9
+ - decimal_digits_stored: 6
10
+ - decimal_digits_necessary: 6
11
+ - decimal_min_exp: -65
12
+ - decimal_max_exp: 62
13
+ values:
14
+ - Rational(1, 3): 40 33 33 33
15
+ - Rational(1, 10): 40 00 00 10
16
+ - Rational(2, 3): 40 67 66 66
17
+ - Rational(1, 1024): 3C 25 56 76 09
18
+ - Rational(1, 1000): 3E 00 00 10
19
+ - Rational(1024, 1): 44 00 24 10
20
+ - Rational(1024, 1): 44 00 24 10
21
+ special:
22
+ - min_value: 00 00 00 10
23
+ - min_normalized_value: 00 00 00 10
24
+ - max_value: 7F 99 99 99
25
+ - epsilon: 3C 00 00 10
26
+ - strict_epsilon: 3C 00 00 10
27
+ numerals:
28
+ - "+0": 00 00 00 00
29
+ - "-0": 80 00 00 00
30
+ - "+1": 41 00 00 10
31
+ - "-1": C1 00 00 10
32
+ - "+0.1": 40 00 00 10
33
+ - "-0.1": C0 00 00 10
34
+ - "0.5": 40 00 00 50
35
+ - "-0.5": C0 00 00 50
36
+ - "29.2": 42 00 20 29
37
+ - "-29.2": C2 00 20 29
38
+ - "0.03125": 3F 00 25 31
39
+ - "-0.03125": BF 00 25 31
40
+ - "-0.3125": C0 00 25 31
41
+ - 1.234E2: 43 00 34 12
42
+ - "-1.234E-6": BB 00 34 12
43
+ - "65536.0": 45 60 53 65
44
+ - "-65536.0": C5 60 53 65
45
+ - "-7.50": C1 00 00 75
46
+ - 1E-65: 00 00 00 10
47
+ - 9.99999E62: 7F 99 99 99
48
+ - 1E-5: 3C 00 00 10
49
+ - 1E-5: 3C 00 00 10
50
+ base: :bytes
51
+ IBM64:
52
+ parameters:
53
+ - total_bits: 64
54
+ - radix: 16
55
+ - significand_digits: 14
56
+ - radix_min_exp: -65
57
+ - radix_max_exp: 62
58
+ - decimal_digits_stored: 15
59
+ - decimal_digits_necessary: 18
60
+ - decimal_min_exp: -77
61
+ - decimal_max_exp: 77
62
+ values:
63
+ - Rational(1, 3): 40 55 55 55 55 55 55 55
64
+ - Rational(1, 10): 40 19 99 99 99 99 99 9A
65
+ - Rational(2, 3): 40 AA AA AA AA AA AA AB
66
+ - Rational(1, 1024): 3E 40 00 00 00 00 00 00
67
+ - Rational(1, 1000): 3E 41 89 37 4B C6 A7 F0
68
+ - Rational(1024, 1): 43 40 00 00 00 00 00 00
69
+ - Rational(1024, 1): 43 40 00 00 00 00 00 00
70
+ special:
71
+ - min_value: 00 10 00 00 00 00 00 00
72
+ - min_normalized_value: 00 10 00 00 00 00 00 00
73
+ - max_value: 7F FF FF FF FF FF FF FF
74
+ - epsilon: 34 10 00 00 00 00 00 00
75
+ - strict_epsilon: 34 10 00 00 00 00 00 00
76
+ numerals:
77
+ - "+0": 00 00 00 00 00 00 00 00
78
+ - "-0": 80 00 00 00 00 00 00 00
79
+ - "+1": 41 10 00 00 00 00 00 00
80
+ - "-1": C1 10 00 00 00 00 00 00
81
+ - "+0.1": 40 19 99 99 99 99 99 9A
82
+ - "-0.1": C0 19 99 99 99 99 99 9A
83
+ - "0.5": 40 80 00 00 00 00 00 00
84
+ - "-0.5": C0 80 00 00 00 00 00 00
85
+ - "29.2": 42 1D 33 33 33 33 33 33
86
+ - "-29.2": C2 1D 33 33 33 33 33 33
87
+ - "0.03125": 3F 80 00 00 00 00 00 00
88
+ - "-0.03125": BF 80 00 00 00 00 00 00
89
+ - "-0.3125": C0 50 00 00 00 00 00 00
90
+ - 1.234E2: 42 7B 66 66 66 66 66 66
91
+ - "-1.234E-6": BC 14 B3 FD 59 42 CD 96
92
+ - "65536.0": 45 10 00 00 00 00 00 00
93
+ - "-65536.0": C5 10 00 00 00 00 00 00
94
+ - "-7.50": C1 78 00 00 00 00 00 00
95
+ - "5.39760534693402789E-79": 00 10 00 00 00 00 00 00
96
+ - 7.23700557733226211E75: 7F FF FF FF FF FF FF FF
97
+ - "2.22044604925031308E-16": 34 10 00 00 00 00 00 00
98
+ - "2.22044604925031308E-16": 34 10 00 00 00 00 00 00
99
+ base: :bytes
100
+ VAX_D:
101
+ parameters:
102
+ - total_bits: 64
103
+ - radix: 2
104
+ - significand_digits: 56
105
+ - radix_min_exp: -128
106
+ - radix_max_exp: 126
107
+ - decimal_digits_stored: 16
108
+ - decimal_digits_necessary: 18
109
+ - decimal_min_exp: -38
110
+ - decimal_max_exp: 38
111
+ values:
112
+ - Rational(1, 3): AA 3F AA AA AA AA AB AA
113
+ - Rational(1, 10): CC 3E CC CC CC CC CD CC
114
+ - Rational(2, 3): 2A 40 AA AA AA AA AB AA
115
+ - Rational(1, 1024): 80 3B 00 00 00 00 00 00
116
+ - Rational(1, 1000): 83 3B 6E 12 8D 97 DF 4F
117
+ - Rational(1024, 1): 80 45 00 00 00 00 00 00
118
+ - Rational(1024, 1): 80 45 00 00 00 00 00 00
119
+ special:
120
+ - min_value: 80 00 00 00 00 00 00 00
121
+ - min_normalized_value: 80 00 00 00 00 00 00 00
122
+ - max_value: FF 7F FF FF FF FF FF FF
123
+ - epsilon: 00 25 00 00 00 00 00 00
124
+ - strict_epsilon: 00 25 00 00 00 00 00 00
125
+ numerals:
126
+ - "+0": 00 00 00 00 00 00 00 00
127
+ - "-0": 00 80 00 00 00 00 00 00
128
+ - "+1": 80 40 00 00 00 00 00 00
129
+ - "-1": 80 C0 00 00 00 00 00 00
130
+ - "+0.1": CC 3E CC CC CC CC CD CC
131
+ - "-0.1": CC BE CC CC CC CC CD CC
132
+ - "0.5": 00 40 00 00 00 00 00 00
133
+ - "-0.5": 00 C0 00 00 00 00 00 00
134
+ - "29.2": E9 42 99 99 99 99 9A 99
135
+ - "-29.2": E9 C2 99 99 99 99 9A 99
136
+ - "0.03125": 00 3E 00 00 00 00 00 00
137
+ - "-0.03125": 00 BE 00 00 00 00 00 00
138
+ - "-0.3125": A0 BF 00 00 00 00 00 00
139
+ - 1.234E2: F6 43 CC CC CC CC CD CC
140
+ - "-1.234E-6": A5 B6 EA 9F 16 CA B2 6C
141
+ - "65536.0": 80 48 00 00 00 00 00 00
142
+ - "-65536.0": 80 C8 00 00 00 00 00 00
143
+ - "-7.50": F0 C1 00 00 00 00 00 00
144
+ - "2.93873587705571877E-39": 80 00 00 00 00 00 00 00
145
+ - 1.70141183460469229E38: FF 7F FF FF FF FF FF FF
146
+ - "2.77555756156289135E-17": 00 25 00 00 00 00 00 00
147
+ - "2.77555756156289135E-17": 00 25 00 00 00 00 00 00
148
+ base: :bytes
149
+ IEEE_SINGLE:
150
+ parameters:
151
+ - total_bits: 32
152
+ - radix: 2
153
+ - significand_digits: 24
154
+ - radix_min_exp: -126
155
+ - radix_max_exp: 127
156
+ - decimal_digits_stored: 6
157
+ - decimal_digits_necessary: 9
158
+ - decimal_min_exp: -37
159
+ - decimal_max_exp: 38
160
+ values:
161
+ - Rational(1, 3): AB AA AA 3E
162
+ - Rational(1, 10): CD CC CC 3D
163
+ - Rational(2, 3): AB AA 2A 3F
164
+ - Rational(1, 1024): 00 00 80 3A
165
+ - Rational(1, 1000): 6F 12 83 3A
166
+ - Rational(1024, 1): 00 00 80 44
167
+ - Rational(1024, 1): 00 00 80 44
168
+ special:
169
+ - min_value: 01 00 00 00
170
+ - min_normalized_value: 00 00 80 00
171
+ - max_value: FF FF 7F 7F
172
+ - epsilon: 00 00 00 34
173
+ - strict_epsilon: 01 00 80 33
174
+ numerals:
175
+ - "+0": 00 00 00 00
176
+ - "-0": 00 00 00 80
177
+ - "+1": 00 00 80 3F
178
+ - "-1": 00 00 80 BF
179
+ - "+0.1": CD CC CC 3D
180
+ - "-0.1": CD CC CC BD
181
+ - "0.5": 00 00 00 3F
182
+ - "-0.5": 00 00 00 BF
183
+ - "29.2": 9A 99 E9 41
184
+ - "-29.2": 9A 99 E9 C1
185
+ - "0.03125": 00 00 00 3D
186
+ - "-0.03125": 00 00 00 BD
187
+ - "-0.3125": 00 00 A0 BE
188
+ - 1.234E2: CD CC F6 42
189
+ - "-1.234E-6": EB 9F A5 B5
190
+ - "65536.0": 00 00 80 47
191
+ - "-65536.0": 00 00 80 C7
192
+ - "-7.50": 00 00 F0 C0
193
+ - "1.17549435E-38": 00 00 80 00
194
+ - 3.40282347E38: FF FF 7F 7F
195
+ - "1.1920929E-7": 00 00 00 34
196
+ - "5.96046519E-8": 01 00 80 33
197
+ base: :bytes
198
+ UNIVAC_DOUBLE:
199
+ parameters:
200
+ - total_bits: 72
201
+ - radix: 2
202
+ - significand_digits: 60
203
+ - radix_min_exp: -1025
204
+ - radix_max_exp: 1022
205
+ - decimal_digits_stored: 17
206
+ - decimal_digits_necessary: 20
207
+ - decimal_min_exp: -308
208
+ - decimal_max_exp: 308
209
+ values:
210
+ - Rational(1, 3): 3FFAAAAAAAAAAAAAAB
211
+ - Rational(1, 10): 3FDCCCCCCCCCCCCCCD
212
+ - Rational(2, 3): 400AAAAAAAAAAAAAAB
213
+ - Rational(1, 1024): 3F7800000000000000
214
+ - Rational(1, 1000): 3F783126E978D4FDF4
215
+ - Rational(1024, 1): 40B800000000000000
216
+ - Rational(1024, 1): 40B800000000000000
217
+ special:
218
+ - min_value: 000800000000000000
219
+ - min_normalized_value: 000800000000000000
220
+ - max_value: 7FFFFFFFFFFFFFFFFF
221
+ - epsilon: 3C6800000000000000
222
+ - strict_epsilon: 3C6800000000000000
223
+ numerals:
224
+ - "+0": "000000000000000000"
225
+ - "-0": FFFFFFFFFFFFFFFFFF
226
+ - "+1": "401800000000000000"
227
+ - "-1": BFE7FFFFFFFFFFFFFF
228
+ - "+0.1": 3FDCCCCCCCCCCCCCCD
229
+ - "-0.1": C02333333333333332
230
+ - "0.5": "400800000000000000"
231
+ - "-0.5": BFF7FFFFFFFFFFFFFF
232
+ - "29.2": 405E9999999999999A
233
+ - "-29.2": BFA166666666666665
234
+ - "0.03125": 3FC800000000000000
235
+ - "-0.03125": C037FFFFFFFFFFFFFF
236
+ - "-0.3125": C005FFFFFFFFFFFFFF
237
+ - 1.234E2: 407F6CCCCCCCCCCCCD
238
+ - "-1.234E-6": C125A601535E9934E6
239
+ - "65536.0": "411800000000000000"
240
+ - "-65536.0": BEE7FFFFFFFFFFFFFF
241
+ - "-7.50": BFC0FFFFFFFFFFFFFF
242
+ - "2.7813423231340017289E-309": 000800000000000000
243
+ - 8.9884656743115795309E307: 7FFFFFFFFFFFFFFFFF
244
+ - "1.7347234759768070944E-18": 3C6800000000000000
245
+ - "1.7347234759768070944E-18": 3C6800000000000000
246
+ base: 16
247
+ IBM32:
248
+ parameters:
249
+ - total_bits: 32
250
+ - radix: 16
251
+ - significand_digits: 6
252
+ - radix_min_exp: -65
253
+ - radix_max_exp: 62
254
+ - decimal_digits_stored: 6
255
+ - decimal_digits_necessary: 9
256
+ - decimal_min_exp: -77
257
+ - decimal_max_exp: 77
258
+ values:
259
+ - Rational(1, 3): 40 55 55 55
260
+ - Rational(1, 10): 40 19 99 9A
261
+ - Rational(2, 3): 40 AA AA AB
262
+ - Rational(1, 1024): 3E 40 00 00
263
+ - Rational(1, 1000): 3E 41 89 37
264
+ - Rational(1024, 1): 43 40 00 00
265
+ - Rational(1024, 1): 43 40 00 00
266
+ special:
267
+ - min_value: 00 10 00 00
268
+ - min_normalized_value: 00 10 00 00
269
+ - max_value: 7F FF FF FF
270
+ - epsilon: 3C 10 00 00
271
+ - strict_epsilon: 3C 10 00 00
272
+ numerals:
273
+ - "+0": 00 00 00 00
274
+ - "-0": 80 00 00 00
275
+ - "+1": 41 10 00 00
276
+ - "-1": C1 10 00 00
277
+ - "+0.1": 40 19 99 9A
278
+ - "-0.1": C0 19 99 9A
279
+ - "0.5": 40 80 00 00
280
+ - "-0.5": C0 80 00 00
281
+ - "29.2": 42 1D 33 33
282
+ - "-29.2": C2 1D 33 33
283
+ - "0.03125": 3F 80 00 00
284
+ - "-0.03125": BF 80 00 00
285
+ - "-0.3125": C0 50 00 00
286
+ - 1.234E2: 42 7B 66 66
287
+ - "-1.234E-6": BC 14 B3 FD
288
+ - "65536.0": 45 10 00 00
289
+ - "-65536.0": C5 10 00 00
290
+ - "-7.50": C1 78 00 00
291
+ - "5.39760535E-79": 00 10 00 00
292
+ - 7.23700515E75: 7F FF FF FF
293
+ - "9.53674316E-7": 3C 10 00 00
294
+ - "9.53674316E-7": 3C 10 00 00
295
+ base: :bytes
296
+ PDP11_D:
297
+ parameters:
298
+ - total_bits: 64
299
+ - radix: 2
300
+ - significand_digits: 56
301
+ - radix_min_exp: -129
302
+ - radix_max_exp: 126
303
+ - decimal_digits_stored: 16
304
+ - decimal_digits_necessary: 18
305
+ - decimal_min_exp: -38
306
+ - decimal_max_exp: 38
307
+ values:
308
+ - Rational(1, 3): AA 3F AA AA AA AA AB AA
309
+ - Rational(1, 10): CC 3E CC CC CC CC CD CC
310
+ - Rational(2, 3): 2A 40 AA AA AA AA AB AA
311
+ - Rational(1, 1024): 80 3B 00 00 00 00 00 00
312
+ - Rational(1, 1000): 83 3B 6E 12 8D 97 DF 4F
313
+ - Rational(1024, 1): 80 45 00 00 00 00 00 00
314
+ - Rational(1024, 1): 80 45 00 00 00 00 00 00
315
+ special:
316
+ - min_value: 00 00 00 00 00 00 01 00
317
+ - min_normalized_value: 00 00 00 00 00 00 01 00
318
+ - max_value: FF 7F FF FF FF FF FF FF
319
+ - epsilon: 00 25 00 00 00 00 00 00
320
+ - strict_epsilon: 00 25 00 00 00 00 00 00
321
+ numerals:
322
+ - "+0": 00 00 00 00 00 00 00 00
323
+ - "-0": 00 80 00 00 00 00 00 00
324
+ - "+1": 80 40 00 00 00 00 00 00
325
+ - "-1": 80 C0 00 00 00 00 00 00
326
+ - "+0.1": CC 3E CC CC CC CC CD CC
327
+ - "-0.1": CC BE CC CC CC CC CD CC
328
+ - "0.5": 00 40 00 00 00 00 00 00
329
+ - "-0.5": 00 C0 00 00 00 00 00 00
330
+ - "29.2": E9 42 99 99 99 99 9A 99
331
+ - "-29.2": E9 C2 99 99 99 99 9A 99
332
+ - "0.03125": 00 3E 00 00 00 00 00 00
333
+ - "-0.03125": 00 BE 00 00 00 00 00 00
334
+ - "-0.3125": A0 BF 00 00 00 00 00 00
335
+ - 1.234E2: F6 43 CC CC CC CC CD CC
336
+ - "-1.234E-6": A5 B6 EA 9F 16 CA B2 6C
337
+ - "65536.0": 80 48 00 00 00 00 00 00
338
+ - "-65536.0": 80 C8 00 00 00 00 00 00
339
+ - "-7.50": F0 C1 00 00 00 00 00 00
340
+ - "1.46936793852785943E-39": 00 00 00 00 00 00 01 00
341
+ - 1.70141183460469229E38: FF 7F FF FF FF FF FF FF
342
+ - "2.77555756156289135E-17": 00 25 00 00 00 00 00 00
343
+ - "2.77555756156289135E-17": 00 25 00 00 00 00 00 00
344
+ base: :bytes
345
+ C51_BCD_DOUBLE:
346
+ parameters:
347
+ - total_bits: 48
348
+ - radix: 10
349
+ - significand_digits: 10
350
+ - radix_min_exp: -65
351
+ - radix_max_exp: 62
352
+ - decimal_digits_stored: 10
353
+ - decimal_digits_necessary: 10
354
+ - decimal_min_exp: -65
355
+ - decimal_max_exp: 62
356
+ values:
357
+ - Rational(1, 3): 40 33 33 33 33 33
358
+ - Rational(1, 10): 40 00 00 00 00 10
359
+ - Rational(2, 3): 40 67 66 66 66 66
360
+ - Rational(1, 1024): 3D 00 50 62 65 97
361
+ - Rational(1, 1000): 3E 00 00 00 00 10
362
+ - Rational(1024, 1): 44 00 00 00 24 10
363
+ - Rational(1024, 1): 44 00 00 00 24 10
364
+ special:
365
+ - min_value: 00 00 00 00 00 10
366
+ - min_normalized_value: 00 00 00 00 00 10
367
+ - max_value: 7F 99 99 99 99 99
368
+ - epsilon: 38 00 00 00 00 10
369
+ - strict_epsilon: 38 00 00 00 00 10
370
+ numerals:
371
+ - "+0": 00 00 00 00 00 00
372
+ - "-0": 80 00 00 00 00 00
373
+ - "+1": 41 00 00 00 00 10
374
+ - "-1": C1 00 00 00 00 10
375
+ - "+0.1": 40 00 00 00 00 10
376
+ - "-0.1": C0 00 00 00 00 10
377
+ - "0.5": 40 00 00 00 00 50
378
+ - "-0.5": C0 00 00 00 00 50
379
+ - "29.2": 42 00 00 00 20 29
380
+ - "-29.2": C2 00 00 00 20 29
381
+ - "0.03125": 3F 00 00 00 25 31
382
+ - "-0.03125": BF 00 00 00 25 31
383
+ - "-0.3125": C0 00 00 00 25 31
384
+ - 1.234E2: 43 00 00 00 34 12
385
+ - "-1.234E-6": BB 00 00 00 34 12
386
+ - "65536.0": 45 00 00 60 53 65
387
+ - "-65536.0": C5 00 00 60 53 65
388
+ - "-7.50": C1 00 00 00 00 75
389
+ - 1E-65: 00 00 00 00 00 10
390
+ - 9.999999999E62: 7F 99 99 99 99 99
391
+ - 1E-9: 38 00 00 00 00 10
392
+ - 1E-9: 38 00 00 00 00 10
393
+ base: :bytes
394
+ VAX_F:
395
+ parameters:
396
+ - total_bits: 32
397
+ - radix: 2
398
+ - significand_digits: 24
399
+ - radix_min_exp: -128
400
+ - radix_max_exp: 126
401
+ - decimal_digits_stored: 6
402
+ - decimal_digits_necessary: 9
403
+ - decimal_min_exp: -38
404
+ - decimal_max_exp: 38
405
+ values:
406
+ - Rational(1, 3): AA 3F AB AA
407
+ - Rational(1, 10): CC 3E CD CC
408
+ - Rational(2, 3): 2A 40 AB AA
409
+ - Rational(1, 1024): 80 3B 00 00
410
+ - Rational(1, 1000): 83 3B 6F 12
411
+ - Rational(1024, 1): 80 45 00 00
412
+ - Rational(1024, 1): 80 45 00 00
413
+ special:
414
+ - min_value: 80 00 00 00
415
+ - min_normalized_value: 80 00 00 00
416
+ - max_value: FF 7F FF FF
417
+ - epsilon: 00 35 00 00
418
+ - strict_epsilon: 00 35 00 00
419
+ numerals:
420
+ - "+0": 00 00 00 00
421
+ - "-0": 00 80 00 00
422
+ - "+1": 80 40 00 00
423
+ - "-1": 80 C0 00 00
424
+ - "+0.1": CC 3E CD CC
425
+ - "-0.1": CC BE CD CC
426
+ - "0.5": 00 40 00 00
427
+ - "-0.5": 00 C0 00 00
428
+ - "29.2": E9 42 9A 99
429
+ - "-29.2": E9 C2 9A 99
430
+ - "0.03125": 00 3E 00 00
431
+ - "-0.03125": 00 BE 00 00
432
+ - "-0.3125": A0 BF 00 00
433
+ - 1.234E2: F6 43 CD CC
434
+ - "-1.234E-6": A5 B6 EB 9F
435
+ - "65536.0": 80 48 00 00
436
+ - "-65536.0": 80 C8 00 00
437
+ - "-7.50": F0 C1 00 00
438
+ - "2.93873588E-39": 80 00 00 00
439
+ - 1.70141173E38: FF 7F FF FF
440
+ - "1.1920929E-7": 00 35 00 00
441
+ - "1.1920929E-7": 00 35 00 00
442
+ base: :bytes
443
+ XS256_DOUBLE:
444
+ parameters:
445
+ - total_bits: 64
446
+ - radix: 2
447
+ - significand_digits: 55
448
+ - radix_min_exp: -256
449
+ - radix_max_exp: 255
450
+ - decimal_digits_stored: 16
451
+ - decimal_digits_necessary: 18
452
+ - decimal_min_exp: -76
453
+ - decimal_max_exp: 77
454
+ values:
455
+ - Rational(1, 3): 3F 95 55 55 55 55 55 55
456
+ - Rational(1, 10): 3F 26 66 66 66 66 66 66
457
+ - Rational(2, 3): 3F D5 55 55 55 55 55 55
458
+ - Rational(1, 1024): 3D 80 00 00 00 00 00 00
459
+ - Rational(1, 1000): 3D 81 89 37 4B C6 A7 F0
460
+ - Rational(1024, 1): 42 80 00 00 00 00 00 00
461
+ - Rational(1024, 1): 42 80 00 00 00 00 00 00
462
+ special:
463
+ - min_value: 00 00 00 00 00 00 00 01
464
+ - min_normalized_value: 00 00 00 00 00 00 00 01
465
+ - max_value: 7F FF FF FF FF FF FF FF
466
+ - epsilon: 32 80 00 00 00 00 00 00
467
+ - strict_epsilon: 32 40 00 00 00 00 00 00
468
+ numerals:
469
+ - "+0": 00 00 00 00 00 00 00 00
470
+ - "-0": 80 00 00 00 00 00 00 00
471
+ - "+1": 40 00 00 00 00 00 00 00
472
+ - "-1": C0 00 00 00 00 00 00 00
473
+ - "+0.1": 3F 26 66 66 66 66 66 66
474
+ - "-0.1": BF 26 66 66 66 66 66 66
475
+ - "0.5": 3F C0 00 00 00 00 00 00
476
+ - "-0.5": BF C0 00 00 00 00 00 00
477
+ - "29.2": 41 34 CC CC CC CC CC CD
478
+ - "-29.2": C1 34 CC CC CC CC CC CD
479
+ - "0.03125": 3E C0 00 00 00 00 00 00
480
+ - "-0.03125": BE C0 00 00 00 00 00 00
481
+ - "-0.3125": BF 90 00 00 00 00 00 00
482
+ - 1.234E2: 41 BB 66 66 66 66 66 66
483
+ - "-1.234E-6": BB 12 CF F5 65 0B 36 59
484
+ - "65536.0": 44 00 00 00 00 00 00 00
485
+ - "-65536.0": C4 00 00 00 00 00 00 00
486
+ - "-7.50": C0 B8 00 00 00 00 00 00
487
+ - "8.6361685550944451E-78": 00 00 00 00 00 00 00 01
488
+ - 1.15792089237316192E77: 7F FF FF FF FF FF FF FF
489
+ - "5.5511151231257827E-17": 32 80 00 00 00 00 00 00
490
+ - "2.77555756156289135E-17": 32 40 00 00 00 00 00 00
491
+ base: :bytes
492
+ IEEE_DOUBLE:
493
+ parameters:
494
+ - total_bits: 64
495
+ - radix: 2
496
+ - significand_digits: 53
497
+ - radix_min_exp: -1022
498
+ - radix_max_exp: 1023
499
+ - decimal_digits_stored: 15
500
+ - decimal_digits_necessary: 17
501
+ - decimal_min_exp: -307
502
+ - decimal_max_exp: 308
503
+ values:
504
+ - Rational(1, 3): 55 55 55 55 55 55 D5 3F
505
+ - Rational(1, 10): 9A 99 99 99 99 99 B9 3F
506
+ - Rational(2, 3): 55 55 55 55 55 55 E5 3F
507
+ - Rational(1, 1024): 00 00 00 00 00 00 50 3F
508
+ - Rational(1, 1000): FC A9 F1 D2 4D 62 50 3F
509
+ - Rational(1024, 1): 00 00 00 00 00 00 90 40
510
+ - Rational(1024, 1): 00 00 00 00 00 00 90 40
511
+ special:
512
+ - min_value: 01 00 00 00 00 00 00 00
513
+ - min_normalized_value: 00 00 00 00 00 00 10 00
514
+ - max_value: FF FF FF FF FF FF EF 7F
515
+ - epsilon: 00 00 00 00 00 00 B0 3C
516
+ - strict_epsilon: 01 00 00 00 00 00 A0 3C
517
+ numerals:
518
+ - "+0": 00 00 00 00 00 00 00 00
519
+ - "-0": 00 00 00 00 00 00 00 80
520
+ - "+1": 00 00 00 00 00 00 F0 3F
521
+ - "-1": 00 00 00 00 00 00 F0 BF
522
+ - "+0.1": 9A 99 99 99 99 99 B9 3F
523
+ - "-0.1": 9A 99 99 99 99 99 B9 BF
524
+ - "0.5": 00 00 00 00 00 00 E0 3F
525
+ - "-0.5": 00 00 00 00 00 00 E0 BF
526
+ - "29.2": 33 33 33 33 33 33 3D 40
527
+ - "-29.2": 33 33 33 33 33 33 3D C0
528
+ - "0.03125": 00 00 00 00 00 00 A0 3F
529
+ - "-0.03125": 00 00 00 00 00 00 A0 BF
530
+ - "-0.3125": 00 00 00 00 00 00 D4 BF
531
+ - 1.234E2: 9A 99 99 99 99 D9 5E 40
532
+ - "-1.234E-6": 96 CD 42 59 FD B3 B4 BE
533
+ - "65536.0": 00 00 00 00 00 00 F0 40
534
+ - "-65536.0": 00 00 00 00 00 00 F0 C0
535
+ - "-7.50": 00 00 00 00 00 00 1E C0
536
+ - "2.2250738585072014E-308": 00 00 00 00 00 00 10 00
537
+ - 1.7976931348623157E308: FF FF FF FF FF FF EF 7F
538
+ - "2.2204460492503131E-16": 00 00 00 00 00 00 B0 3C
539
+ - "1.1102230246251568E-16": 01 00 00 00 00 00 A0 3C
540
+ base: :bytes
541
+ CDC_DOUBLE:
542
+ parameters:
543
+ - total_bits: 120
544
+ - radix: 2
545
+ - significand_digits: 96
546
+ - radix_min_exp: -928
547
+ - radix_max_exp: 1070
548
+ - decimal_digits_stored: 28
549
+ - decimal_digits_necessary: 30
550
+ - decimal_min_exp: -279
551
+ - decimal_max_exp: 322
552
+ values:
553
+ - Rational(1, 3): AB AA AA AA AA AA 9E A3 AA AA AA AA AA EA 3C
554
+ - Rational(1, 10): CD CC CC CC CC CC 9C C3 CC CC CC CC CC CC 3C
555
+ - Rational(2, 3): AB AA AA AA AA AA 9F A3 AA AA AA AA AA FA 3C
556
+ - Rational(1, 1024): 00 00 00 00 00 00 96 03 00 00 00 00 00 68 3C
557
+ - Rational(1, 1000): AC 1C 5A 64 3B DF 96 F3 D4 78 E9 26 31 68 3C
558
+ - Rational(1024, 1): 00 00 00 00 00 00 AA 03 00 00 00 00 00 A8 3D
559
+ - Rational(1024, 1): 00 00 00 00 00 00 AA 03 00 00 00 00 00 A8 3D
560
+ special:
561
+ - min_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
562
+ - min_normalized_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
563
+ - max_value: FF FF FF FF FF FF FF F7 FF FF FF FF FF FF 7F
564
+ - epsilon: 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
565
+ - strict_epsilon: 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
566
+ numerals:
567
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
568
+ - "-0": FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
569
+ - "+1": 00 00 00 00 00 00 A0 03 00 00 00 00 00 08 3D
570
+ - "-1": FF FF FF FF FF FF 5F FC FF FF FF FF FF F7 C2
571
+ - "+0.1": CD CC CC CC CC CC 9C C3 CC CC CC CC CC CC 3C
572
+ - "-0.1": 32 33 33 33 33 33 63 3C 33 33 33 33 33 33 C3
573
+ - "0.5": 00 00 00 00 00 00 9F 03 00 00 00 00 00 F8 3C
574
+ - "-0.5": FF FF FF FF FF FF 60 FC FF FF FF FF FF 07 C3
575
+ - "29.2": 9A 99 99 99 99 99 A4 93 99 99 99 99 99 4E 3D
576
+ - "-29.2": 65 66 66 66 66 66 5B 6C 66 66 66 66 66 B1 C2
577
+ - "0.03125": 00 00 00 00 00 00 9B 03 00 00 00 00 00 B8 3C
578
+ - "-0.03125": FF FF FF FF FF FF 64 FC FF FF FF FF FF 47 C3
579
+ - "-0.3125": FF FF FF FF FF FF 61 FC FF FF FF FF FF 15 C3
580
+ - 1.234E2: CD CC CC CC CC CC A6 C3 CC CC CC CC 6C 6F 3D
581
+ - "-1.234E-6": 4D 1F F6 4C 73 4E 73 3C 99 5E 53 01 A6 35 C4
582
+ - "65536.0": 00 00 00 00 00 00 B0 03 00 00 00 00 00 08 3E
583
+ - "-65536.0": FF FF FF FF FF FF 4F FC FF FF FF FF FF F7 C1
584
+ - "-7.50": FF FF FF FF FF FF 5D FC FF FF FF FF FF D0 C2
585
+ - "4.40721283170124408220034687787E-280": 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
586
+ - 2.53002816634138272940619183395E322: FF FF FF FF FF FF FF F7 FF FF FF FF FF FF 7F
587
+ - "2.5243548967072377773175314089E-29": 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
588
+ - "2.5243548967072377773175314089E-29": 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
589
+ base: :bytes
590
+ PDP11_F:
591
+ parameters:
592
+ - total_bits: 32
593
+ - radix: 2
594
+ - significand_digits: 24
595
+ - radix_min_exp: -129
596
+ - radix_max_exp: 126
597
+ - decimal_digits_stored: 6
598
+ - decimal_digits_necessary: 9
599
+ - decimal_min_exp: -38
600
+ - decimal_max_exp: 38
601
+ values:
602
+ - Rational(1, 3): AA 3F AB AA
603
+ - Rational(1, 10): CC 3E CD CC
604
+ - Rational(2, 3): 2A 40 AB AA
605
+ - Rational(1, 1024): 80 3B 00 00
606
+ - Rational(1, 1000): 83 3B 6F 12
607
+ - Rational(1024, 1): 80 45 00 00
608
+ - Rational(1024, 1): 80 45 00 00
609
+ special:
610
+ - min_value: 00 00 01 00
611
+ - min_normalized_value: 00 00 01 00
612
+ - max_value: FF 7F FF FF
613
+ - epsilon: 00 35 00 00
614
+ - strict_epsilon: 00 35 00 00
615
+ numerals:
616
+ - "+0": 00 00 00 00
617
+ - "-0": 00 80 00 00
618
+ - "+1": 80 40 00 00
619
+ - "-1": 80 C0 00 00
620
+ - "+0.1": CC 3E CD CC
621
+ - "-0.1": CC BE CD CC
622
+ - "0.5": 00 40 00 00
623
+ - "-0.5": 00 C0 00 00
624
+ - "29.2": E9 42 9A 99
625
+ - "-29.2": E9 C2 9A 99
626
+ - "0.03125": 00 3E 00 00
627
+ - "-0.03125": 00 BE 00 00
628
+ - "-0.3125": A0 BF 00 00
629
+ - 1.234E2: F6 43 CD CC
630
+ - "-1.234E-6": A5 B6 EB 9F
631
+ - "65536.0": 80 48 00 00
632
+ - "-65536.0": 80 C8 00 00
633
+ - "-7.50": F0 C1 00 00
634
+ - "1.46936811E-39": 00 00 01 00
635
+ - 1.70141173E38: FF 7F FF FF
636
+ - "1.1920929E-7": 00 35 00 00
637
+ - "1.1920929E-7": 00 35 00 00
638
+ base: :bytes
639
+ VAX_G:
640
+ parameters:
641
+ - total_bits: 64
642
+ - radix: 2
643
+ - significand_digits: 53
644
+ - radix_min_exp: -1024
645
+ - radix_max_exp: 1022
646
+ - decimal_digits_stored: 15
647
+ - decimal_digits_necessary: 17
648
+ - decimal_min_exp: -307
649
+ - decimal_max_exp: 308
650
+ values:
651
+ - Rational(1, 3): F5 3F 55 55 55 55 55 55
652
+ - Rational(1, 10): D9 3F 99 99 99 99 9A 99
653
+ - Rational(2, 3): 05 40 55 55 55 55 55 55
654
+ - Rational(1, 1024): 70 3F 00 00 00 00 00 00
655
+ - Rational(1, 1000): 70 3F 4D 62 F1 D2 FC A9
656
+ - Rational(1024, 1): B0 40 00 00 00 00 00 00
657
+ - Rational(1024, 1): B0 40 00 00 00 00 00 00
658
+ special:
659
+ - min_value: 10 00 00 00 00 00 00 00
660
+ - min_normalized_value: 10 00 00 00 00 00 00 00
661
+ - max_value: FF 7F FF FF FF FF FF FF
662
+ - epsilon: D0 3C 00 00 00 00 00 00
663
+ - strict_epsilon: D0 3C 00 00 00 00 00 00
664
+ numerals:
665
+ - "+0": 00 00 00 00 00 00 00 00
666
+ - "-0": 00 80 00 00 00 00 00 00
667
+ - "+1": 10 40 00 00 00 00 00 00
668
+ - "-1": 10 C0 00 00 00 00 00 00
669
+ - "+0.1": D9 3F 99 99 99 99 9A 99
670
+ - "-0.1": D9 BF 99 99 99 99 9A 99
671
+ - "0.5": 00 40 00 00 00 00 00 00
672
+ - "-0.5": 00 C0 00 00 00 00 00 00
673
+ - "29.2": 5D 40 33 33 33 33 33 33
674
+ - "-29.2": 5D C0 33 33 33 33 33 33
675
+ - "0.03125": C0 3F 00 00 00 00 00 00
676
+ - "-0.03125": C0 BF 00 00 00 00 00 00
677
+ - "-0.3125": F4 BF 00 00 00 00 00 00
678
+ - 1.234E2: 7E 40 99 D9 99 99 9A 99
679
+ - "-1.234E-6": D4 BE FD B3 42 59 96 CD
680
+ - "65536.0": 10 41 00 00 00 00 00 00
681
+ - "-65536.0": 10 C1 00 00 00 00 00 00
682
+ - "-7.50": 3E C0 00 00 00 00 00 00
683
+ - "5.5626846462680035E-309": 10 00 00 00 00 00 00 00
684
+ - 8.9884656743115785E307: FF 7F FF FF FF FF FF FF
685
+ - "2.2204460492503131E-16": D0 3C 00 00 00 00 00 00
686
+ - "2.2204460492503131E-16": D0 3C 00 00 00 00 00 00
687
+ base: :bytes
688
+ SATURN_X:
689
+ parameters:
690
+ - total_bits: 104
691
+ - radix: 10
692
+ - significand_digits: 15
693
+ - radix_min_exp: -49999
694
+ - radix_max_exp: 49999
695
+ - decimal_digits_stored: 15
696
+ - decimal_digits_necessary: 15
697
+ - decimal_min_exp: -49999
698
+ - decimal_max_exp: 49999
699
+ values:
700
+ - Rational(1, 3): 03333333333333339999902955
701
+ - Rational(1, 10): 01000000000000009999902955
702
+ - Rational(2, 3): 06666666666666679999902955
703
+ - Rational(1, 1024): 09765625000000009999602955
704
+ - Rational(1, 1000): 01000000000000009999702955
705
+ - Rational(1024, 1): 01024000000000000000302955
706
+ - Rational(1024, 1): 01024000000000000000302955
707
+ special:
708
+ - min_value: 01000000000000005000102955
709
+ - min_normalized_value: 01000000000000005000102955
710
+ - max_value: 09999999999999994999902955
711
+ - epsilon: 01000000000000009998602955
712
+ - strict_epsilon: 05000000000000019998502955
713
+ numerals:
714
+ - "+0": 00000000000000000000002955
715
+ - "-0": "90000000000000000000002955"
716
+ - "+1": 01000000000000000000002955
717
+ - "-1": "91000000000000000000002955"
718
+ - "+0.1": 01000000000000009999902955
719
+ - "-0.1": "91000000000000009999902955"
720
+ - "0.5": 05000000000000009999902955
721
+ - "-0.5": "95000000000000009999902955"
722
+ - "29.2": 02920000000000000000102955
723
+ - "-29.2": "92920000000000000000102955"
724
+ - "0.03125": 03125000000000009999802955
725
+ - "-0.03125": "93125000000000009999802955"
726
+ - "-0.3125": "93125000000000009999902955"
727
+ - 1.234E2: 01234000000000000000202955
728
+ - "-1.234E-6": "91234000000000009999402955"
729
+ - "65536.0": 06553600000000000000402955
730
+ - "-65536.0": "96553600000000000000402955"
731
+ - "-7.50": "97500000000000000000002955"
732
+ - 1E-49999: 01000000000000005000102955
733
+ - 9.99999999999999E49999: 09999999999999994999902955
734
+ - 1E-14: 01000000000000009998602955
735
+ - "5.00000000000001E-15": 05000000000000019998502955
736
+ base: 16
737
+ SATURN:
738
+ parameters:
739
+ - total_bits: 84
740
+ - radix: 10
741
+ - significand_digits: 12
742
+ - radix_min_exp: -499
743
+ - radix_max_exp: 499
744
+ - decimal_digits_stored: 12
745
+ - decimal_digits_necessary: 12
746
+ - decimal_min_exp: -499
747
+ - decimal_max_exp: 499
748
+ values:
749
+ - Rational(1, 3): 033333333333399902933
750
+ - Rational(1, 10): 010000000000099902933
751
+ - Rational(2, 3): 066666666666799902933
752
+ - Rational(1, 1024): 097656250000099602933
753
+ - Rational(1, 1000): 010000000000099702933
754
+ - Rational(1024, 1): 010240000000000302933
755
+ - Rational(1024, 1): 010240000000000302933
756
+ special:
757
+ - min_value: 010000000000050102933
758
+ - min_normalized_value: 010000000000050102933
759
+ - max_value: 099999999999949902933
760
+ - epsilon: 010000000000098902933
761
+ - strict_epsilon: 050000000000198802933
762
+ numerals:
763
+ - "+0": 000000000000000002933
764
+ - "-0": "900000000000000002933"
765
+ - "+1": 010000000000000002933
766
+ - "-1": "910000000000000002933"
767
+ - "+0.1": 010000000000099902933
768
+ - "-0.1": "910000000000099902933"
769
+ - "0.5": 050000000000099902933
770
+ - "-0.5": "950000000000099902933"
771
+ - "29.2": 029200000000000102933
772
+ - "-29.2": "929200000000000102933"
773
+ - "0.03125": 031250000000099802933
774
+ - "-0.03125": "931250000000099802933"
775
+ - "-0.3125": "931250000000099902933"
776
+ - 1.234E2: 012340000000000202933
777
+ - "-1.234E-6": "912340000000099402933"
778
+ - "65536.0": 065536000000000402933
779
+ - "-65536.0": "965536000000000402933"
780
+ - "-7.50": "975000000000000002933"
781
+ - 1E-499: 010000000000050102933
782
+ - 9.99999999999E499: 099999999999949902933
783
+ - 1E-11: 010000000000098902933
784
+ - "5.00000000001E-12": 050000000000198802933
785
+ base: 16
786
+ VAX_H:
787
+ parameters:
788
+ - total_bits: 128
789
+ - radix: 2
790
+ - significand_digits: 113
791
+ - radix_min_exp: -16384
792
+ - radix_max_exp: 16382
793
+ - decimal_digits_stored: 33
794
+ - decimal_digits_necessary: 36
795
+ - decimal_min_exp: -4931
796
+ - decimal_max_exp: 4932
797
+ values:
798
+ - Rational(1, 3): FF 3F 55 55 55 55 55 55 55 55 55 55 55 55 55 55
799
+ - Rational(1, 10): FD 3F 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
800
+ - Rational(2, 3): 00 40 55 55 55 55 55 55 55 55 55 55 55 55 55 55
801
+ - Rational(1, 1024): F7 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
802
+ - Rational(1, 1000): F7 3F 24 06 2F DD 9F 1A 76 BE B4 C8 58 39 62 10
803
+ - Rational(1024, 1): 0B 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
804
+ - Rational(1024, 1): 0B 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
805
+ special:
806
+ - min_value: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
807
+ - min_normalized_value: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
808
+ - max_value: FF 7F FF FF FF FF FF FF FF FF FF FF FF FF FF FF
809
+ - epsilon: 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
810
+ - strict_epsilon: 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
811
+ numerals:
812
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
813
+ - "-0": 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
814
+ - "+1": 01 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
815
+ - "-1": 01 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
816
+ - "+0.1": FD 3F 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
817
+ - "-0.1": FD BF 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
818
+ - "0.5": 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
819
+ - "-0.5": 00 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
820
+ - "29.2": 05 40 33 D3 33 33 33 33 33 33 33 33 33 33 33 33
821
+ - "-29.2": 05 C0 33 D3 33 33 33 33 33 33 33 33 33 33 33 33
822
+ - "0.03125": FC 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
823
+ - "-0.03125": FC BF 00 00 00 00 00 00 00 00 00 00 00 00 00 00
824
+ - "-0.3125": FF BF 00 40 00 00 00 00 00 00 00 00 00 00 00 00
825
+ - 1.234E2: 07 40 99 ED 99 99 99 99 99 99 99 99 99 99 9A 99
826
+ - "-1.234E-6": ED BF 3F 4B 94 D5 D9 2C 19 63 13 66 64 C1 20 1F
827
+ - "65536.0": 11 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
828
+ - "-65536.0": 11 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
829
+ - "-7.50": 03 C0 00 E0 00 00 00 00 00 00 00 00 00 00 00 00
830
+ - "8.40525785778023376565669454330438151E-4933": 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
831
+ - 5.94865747678615882542879663314003508E4931: FF 7F FF FF FF FF FF FF FF FF FF FF FF FF FF FF
832
+ - "1.92592994438723585305597794258492732E-34": 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
833
+ - "1.92592994438723585305597794258492732E-34": 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
834
+ base: :bytes
835
+ MBF_SINGLE:
836
+ parameters:
837
+ - total_bits: 32
838
+ - radix: 2
839
+ - significand_digits: 24
840
+ - radix_min_exp: -128
841
+ - radix_max_exp: 126
842
+ - decimal_digits_stored: 6
843
+ - decimal_digits_necessary: 9
844
+ - decimal_min_exp: -38
845
+ - decimal_max_exp: 38
846
+ values:
847
+ - Rational(1, 3): AB AA 2A 7F
848
+ - Rational(1, 10): CD CC 4C 7D
849
+ - Rational(2, 3): AB AA 2A 80
850
+ - Rational(1, 1024): 00 00 00 77
851
+ - Rational(1, 1000): 6F 12 03 77
852
+ - Rational(1024, 1): 00 00 00 8B
853
+ - Rational(1024, 1): 00 00 00 8B
854
+ special:
855
+ - min_value: 00 00 00 01
856
+ - min_normalized_value: 00 00 00 01
857
+ - max_value: FF FF 7F FF
858
+ - epsilon: 00 00 00 6A
859
+ - strict_epsilon: 00 00 00 6A
860
+ numerals:
861
+ - "+0": 00 00 00 00
862
+ - "-0": 00 00 80 00
863
+ - "+1": 00 00 00 81
864
+ - "-1": 00 00 80 81
865
+ - "+0.1": CD CC 4C 7D
866
+ - "-0.1": CD CC CC 7D
867
+ - "0.5": 00 00 00 80
868
+ - "-0.5": 00 00 80 80
869
+ - "29.2": 9A 99 69 85
870
+ - "-29.2": 9A 99 E9 85
871
+ - "0.03125": 00 00 00 7C
872
+ - "-0.03125": 00 00 80 7C
873
+ - "-0.3125": 00 00 A0 7F
874
+ - 1.234E2: CD CC 76 87
875
+ - "-1.234E-6": EB 9F A5 6D
876
+ - "65536.0": 00 00 00 91
877
+ - "-65536.0": 00 00 80 91
878
+ - "-7.50": 00 00 F0 83
879
+ - "2.93873588E-39": 00 00 00 01
880
+ - 1.70141173E38: FF FF 7F FF
881
+ - "1.1920929E-7": 00 00 00 6A
882
+ - "1.1920929E-7": 00 00 00 6A
883
+ base: :bytes
884
+ HP_CLASSIC:
885
+ parameters:
886
+ - total_bits: 56
887
+ - radix: 10
888
+ - significand_digits: 10
889
+ - radix_min_exp: -99
890
+ - radix_max_exp: 99
891
+ - decimal_digits_stored: 10
892
+ - decimal_digits_necessary: 10
893
+ - decimal_min_exp: -99
894
+ - decimal_max_exp: 99
895
+ values:
896
+ - Rational(1, 3): 03 33 33 33 33 39 99
897
+ - Rational(1, 10): 01 00 00 00 00 09 99
898
+ - Rational(2, 3): 06 66 66 66 66 79 99
899
+ - Rational(1, 1024): 09 76 56 25 00 09 96
900
+ - Rational(1, 1000): 01 00 00 00 00 09 97
901
+ - Rational(1024, 1): 01 02 40 00 00 00 03
902
+ - Rational(1024, 1): 01 02 40 00 00 00 03
903
+ special:
904
+ - min_value: 01 00 00 00 00 09 01
905
+ - min_normalized_value: 01 00 00 00 00 09 01
906
+ - max_value: 09 99 99 99 99 90 99
907
+ - epsilon: 01 00 00 00 00 09 91
908
+ - strict_epsilon: 05 00 00 00 00 09 90
909
+ numerals:
910
+ - "+0": 00 00 00 00 00 00 00
911
+ - "-0": 90 00 00 00 00 00 00
912
+ - "+1": 01 00 00 00 00 00 00
913
+ - "-1": 91 00 00 00 00 00 00
914
+ - "+0.1": 01 00 00 00 00 09 99
915
+ - "-0.1": 91 00 00 00 00 09 99
916
+ - "0.5": 05 00 00 00 00 09 99
917
+ - "-0.5": 95 00 00 00 00 09 99
918
+ - "29.2": 02 92 00 00 00 00 01
919
+ - "-29.2": 92 92 00 00 00 00 01
920
+ - "0.03125": 03 12 50 00 00 09 98
921
+ - "-0.03125": 93 12 50 00 00 09 98
922
+ - "-0.3125": 93 12 50 00 00 09 99
923
+ - 1.234E2: 01 23 40 00 00 00 02
924
+ - "-1.234E-6": 91 23 40 00 00 09 94
925
+ - "65536.0": 06 55 36 00 00 00 04
926
+ - "-65536.0": 96 55 36 00 00 00 04
927
+ - "-7.50": 97 50 00 00 00 00 00
928
+ - 1E-99: 01 00 00 00 00 09 01
929
+ - 9.999999999E99: 09 99 99 99 99 90 99
930
+ - 1E-9: 01 00 00 00 00 09 91
931
+ - 5E-10: 05 00 00 00 00 09 90
932
+ base: :bytes
933
+ C51_BCD_LONG_DOUBLE:
934
+ parameters:
935
+ - total_bits: 56
936
+ - radix: 10
937
+ - significand_digits: 12
938
+ - radix_min_exp: -65
939
+ - radix_max_exp: 62
940
+ - decimal_digits_stored: 12
941
+ - decimal_digits_necessary: 12
942
+ - decimal_min_exp: -65
943
+ - decimal_max_exp: 62
944
+ values:
945
+ - Rational(1, 3): 40 33 33 33 33 33 33
946
+ - Rational(1, 10): 40 00 00 00 00 00 10
947
+ - Rational(2, 3): 40 67 66 66 66 66 66
948
+ - Rational(1, 1024): 3D 00 00 50 62 65 97
949
+ - Rational(1, 1000): 3E 00 00 00 00 00 10
950
+ - Rational(1024, 1): 44 00 00 00 00 24 10
951
+ - Rational(1024, 1): 44 00 00 00 00 24 10
952
+ special:
953
+ - min_value: 00 00 00 00 00 00 10
954
+ - min_normalized_value: 00 00 00 00 00 00 10
955
+ - max_value: 7F 99 99 99 99 99 99
956
+ - epsilon: 36 00 00 00 00 00 10
957
+ - strict_epsilon: 36 00 00 00 00 00 10
958
+ numerals:
959
+ - "+0": 00 00 00 00 00 00 00
960
+ - "-0": 80 00 00 00 00 00 00
961
+ - "+1": 41 00 00 00 00 00 10
962
+ - "-1": C1 00 00 00 00 00 10
963
+ - "+0.1": 40 00 00 00 00 00 10
964
+ - "-0.1": C0 00 00 00 00 00 10
965
+ - "0.5": 40 00 00 00 00 00 50
966
+ - "-0.5": C0 00 00 00 00 00 50
967
+ - "29.2": 42 00 00 00 00 20 29
968
+ - "-29.2": C2 00 00 00 00 20 29
969
+ - "0.03125": 3F 00 00 00 00 25 31
970
+ - "-0.03125": BF 00 00 00 00 25 31
971
+ - "-0.3125": C0 00 00 00 00 25 31
972
+ - 1.234E2: 43 00 00 00 00 34 12
973
+ - "-1.234E-6": BB 00 00 00 00 34 12
974
+ - "65536.0": 45 00 00 00 60 53 65
975
+ - "-65536.0": C5 00 00 00 60 53 65
976
+ - "-7.50": C1 00 00 00 00 00 75
977
+ - 1E-65: 00 00 00 00 00 00 10
978
+ - 9.99999999999E62: 7F 99 99 99 99 99 99
979
+ - 1E-11: 36 00 00 00 00 00 10
980
+ - 1E-11: 36 00 00 00 00 00 10
981
+ base: :bytes
982
+ IEEE_DEC128:
983
+ parameters:
984
+ - total_bits: 128
985
+ - radix: 10
986
+ - significand_digits: 34
987
+ - radix_min_exp: -6143
988
+ - radix_max_exp: 6144
989
+ - decimal_digits_stored: 34
990
+ - decimal_digits_necessary: 34
991
+ - decimal_min_exp: -6143
992
+ - decimal_max_exp: 6144
993
+ values:
994
+ - Rational(1, 3): 2D FF 9B 36 CD B3 6C DB 36 CD B3 6C DB 36 CD B3
995
+ - Rational(1, 10): 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
996
+ - Rational(2, 3): 39 FF B6 6D 9B 66 D9 B6 6D 9B 66 D9 B6 6D 9B 67
997
+ - Rational(1, 1024): 22 05 80 00 00 00 00 00 00 00 00 00 00 9F 97 25
998
+ - Rational(1, 1000): 22 07 40 00 00 00 00 00 00 00 00 00 00 00 00 01
999
+ - Rational(1024, 1): 22 08 00 00 00 00 00 00 00 00 00 00 00 00 04 24
1000
+ - Rational(1024, 1): 22 08 00 00 00 00 00 00 00 00 00 00 00 00 04 24
1001
+ special:
1002
+ - min_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1003
+ - min_normalized_value: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1004
+ - max_value: 77 FF CF F3 FC FF 3F CF F3 FC FF 3F CF F3 FC FF
1005
+ - epsilon: 25 F7 80 00 00 00 00 00 00 00 00 00 00 00 00 00
1006
+ - strict_epsilon: 35 F7 40 00 00 00 00 00 00 00 00 00 00 00 00 01
1007
+ numerals:
1008
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1009
+ - "-0": 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1010
+ - "+1": 22 08 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1011
+ - "-1": A2 08 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1012
+ - "+0.1": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1013
+ - "-0.1": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1014
+ - "0.5": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 05
1015
+ - "-0.5": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 05
1016
+ - "29.2": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 01 3A
1017
+ - "-29.2": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 01 3A
1018
+ - "0.03125": 22 06 C0 00 00 00 00 00 00 00 00 00 00 00 0C A5
1019
+ - "-0.03125": A2 06 C0 00 00 00 00 00 00 00 00 00 00 00 0C A5
1020
+ - "-0.3125": A2 07 00 00 00 00 00 00 00 00 00 00 00 00 0C A5
1021
+ - 1.234E2: 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 05 34
1022
+ - "-1.234E-6": A2 05 C0 00 00 00 00 00 00 00 00 00 00 00 05 34
1023
+ - "65536.0": 22 08 00 00 00 00 00 00 00 00 00 00 00 01 96 B6
1024
+ - "-65536.0": A2 08 00 00 00 00 00 00 00 00 00 00 00 01 96 B6
1025
+ - "-7.50": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 75
1026
+ - 1E-6143: 00 08 40 00 00 00 00 00 00 00 00 00 00 00 00 01
1027
+ - 9.999999999999999999999999999999999E6144: 77 FF CF F3 FC FF 3F CF F3 FC FF 3F CF F3 FC FF
1028
+ - 1E-33: 21 FF C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1029
+ - 1E-33: 21 FF C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1030
+ base: :bytes
1031
+ XS256:
1032
+ parameters:
1033
+ - total_bits: 32
1034
+ - radix: 2
1035
+ - significand_digits: 23
1036
+ - radix_min_exp: -256
1037
+ - radix_max_exp: 255
1038
+ - decimal_digits_stored: 6
1039
+ - decimal_digits_necessary: 8
1040
+ - decimal_min_exp: -76
1041
+ - decimal_max_exp: 77
1042
+ values:
1043
+ - Rational(1, 3): 3F 95 55 55
1044
+ - Rational(1, 10): 3F 26 66 66
1045
+ - Rational(2, 3): 3F D5 55 55
1046
+ - Rational(1, 1024): 3D 80 00 00
1047
+ - Rational(1, 1000): 3D 81 89 37
1048
+ - Rational(1024, 1): 42 80 00 00
1049
+ - Rational(1024, 1): 42 80 00 00
1050
+ special:
1051
+ - min_value: 00 00 00 01
1052
+ - min_normalized_value: 00 00 00 01
1053
+ - max_value: 7F FF FF FF
1054
+ - epsilon: 3A 80 00 00
1055
+ - strict_epsilon: 3A 40 00 00
1056
+ numerals:
1057
+ - "+0": 00 00 00 00
1058
+ - "-0": 80 00 00 00
1059
+ - "+1": 40 00 00 00
1060
+ - "-1": C0 00 00 00
1061
+ - "+0.1": 3F 26 66 66
1062
+ - "-0.1": BF 26 66 66
1063
+ - "0.5": 3F C0 00 00
1064
+ - "-0.5": BF C0 00 00
1065
+ - "29.2": 41 34 CC CD
1066
+ - "-29.2": C1 34 CC CD
1067
+ - "0.03125": 3E C0 00 00
1068
+ - "-0.03125": BE C0 00 00
1069
+ - "-0.3125": BF 90 00 00
1070
+ - 1.234E2: 41 BB 66 66
1071
+ - "-1.234E-6": BB 12 CF F5
1072
+ - "65536.0": 44 00 00 00
1073
+ - "-65536.0": C4 00 00 00
1074
+ - "-7.50": C0 B8 00 00
1075
+ - "8.6361706E-78": 00 00 00 01
1076
+ - 1.1579208E77: 7F FF FF FF
1077
+ - "2.3841858E-7": 3A 80 00 00
1078
+ - "1.1920929E-7": 3A 40 00 00
1079
+ base: :bytes
1080
+ IEEE_EXTENDED:
1081
+ parameters:
1082
+ - total_bits: 80
1083
+ - radix: 2
1084
+ - significand_digits: 64
1085
+ - radix_min_exp: -16382
1086
+ - radix_max_exp: 16383
1087
+ - decimal_digits_stored: 18
1088
+ - decimal_digits_necessary: 21
1089
+ - decimal_min_exp: -4931
1090
+ - decimal_max_exp: 4932
1091
+ values:
1092
+ - Rational(1, 3): AB AA AA AA AA AA AA AA FD 3F
1093
+ - Rational(1, 10): CD CC CC CC CC CC CC CC FB 3F
1094
+ - Rational(2, 3): AB AA AA AA AA AA AA AA FE 3F
1095
+ - Rational(1, 1024): 00 00 00 00 00 00 00 80 F5 3F
1096
+ - Rational(1, 1000): 3B DF 4F 8D 97 6E 12 83 F5 3F
1097
+ - Rational(1024, 1): 00 00 00 00 00 00 00 80 09 40
1098
+ - Rational(1024, 1): 00 00 00 00 00 00 00 80 09 40
1099
+ special:
1100
+ - min_value: 01 00 00 00 00 00 00 00 00 00
1101
+ - min_normalized_value: 00 00 00 00 00 00 00 80 01 00
1102
+ - max_value: FF FF FF FF FF FF FF FF FE 7F
1103
+ - epsilon: 00 00 00 00 00 00 00 80 C0 3F
1104
+ - strict_epsilon: 01 00 00 00 00 00 00 80 BF 3F
1105
+ numerals:
1106
+ - "+0": 00 00 00 00 00 00 00 00 00 00
1107
+ - "-0": 00 00 00 00 00 00 00 00 00 80
1108
+ - "+1": 00 00 00 00 00 00 00 80 FF 3F
1109
+ - "-1": 00 00 00 00 00 00 00 80 FF BF
1110
+ - "+0.1": CD CC CC CC CC CC CC CC FB 3F
1111
+ - "-0.1": CD CC CC CC CC CC CC CC FB BF
1112
+ - "0.5": 00 00 00 00 00 00 00 80 FE 3F
1113
+ - "-0.5": 00 00 00 00 00 00 00 80 FE BF
1114
+ - "29.2": 9A 99 99 99 99 99 99 E9 03 40
1115
+ - "-29.2": 9A 99 99 99 99 99 99 E9 03 C0
1116
+ - "0.03125": 00 00 00 00 00 00 00 80 FA 3F
1117
+ - "-0.03125": 00 00 00 00 00 00 00 80 FA BF
1118
+ - "-0.3125": 00 00 00 00 00 00 00 A0 FD BF
1119
+ - 1.234E2: CD CC CC CC CC CC CC F6 05 40
1120
+ - "-1.234E-6": 8D B1 6C 16 CA EA 9F A5 EB BF
1121
+ - "65536.0": 00 00 00 00 00 00 00 80 0F 40
1122
+ - "-65536.0": 00 00 00 00 00 00 00 80 0F C0
1123
+ - "-7.50": 00 00 00 00 00 00 00 F0 01 C0
1124
+ - "3.36210314311209350626E-4932": 00 00 00 00 00 00 00 80 01 00
1125
+ - 1.18973149535723176502E4932: FF FF FF FF FF FF FF FF FE 7F
1126
+ - "1.08420217248550443401E-19": 00 00 00 00 00 00 00 80 C0 3F
1127
+ - "5.42101086242752217063E-20": 01 00 00 00 00 00 00 80 BF 3F
1128
+ base: :bytes
1129
+ WANG2200:
1130
+ parameters:
1131
+ - total_bits: 64
1132
+ - radix: 10
1133
+ - significand_digits: 13
1134
+ - radix_min_exp: -99
1135
+ - radix_max_exp: 99
1136
+ - decimal_digits_stored: 13
1137
+ - decimal_digits_necessary: 13
1138
+ - decimal_min_exp: -99
1139
+ - decimal_max_exp: 99
1140
+ values:
1141
+ - Rational(1, 3): 33 33 33 33 33 33 03 81
1142
+ - Rational(1, 10): 00 00 00 00 00 00 01 81
1143
+ - Rational(2, 3): 67 66 66 66 66 66 06 81
1144
+ - Rational(1, 1024): 00 00 00 25 56 76 09 84
1145
+ - Rational(1, 1000): 00 00 00 00 00 00 01 83
1146
+ - Rational(1024, 1): 00 00 00 00 40 02 01 03
1147
+ - Rational(1024, 1): 00 00 00 00 40 02 01 03
1148
+ special:
1149
+ - min_value: 00 00 00 00 00 00 91 89
1150
+ - min_normalized_value: 00 00 00 00 00 00 91 89
1151
+ - max_value: 99 99 99 99 99 99 99 09
1152
+ - epsilon: 00 00 00 00 00 00 11 82
1153
+ - strict_epsilon: 00 00 00 00 00 00 11 82
1154
+ numerals:
1155
+ - "+0": 00 00 00 00 00 00 00 00
1156
+ - "-0": 00 00 00 00 00 00 00 10
1157
+ - "+1": 00 00 00 00 00 00 01 00
1158
+ - "-1": 00 00 00 00 00 00 01 10
1159
+ - "+0.1": 00 00 00 00 00 00 01 81
1160
+ - "-0.1": 00 00 00 00 00 00 01 91
1161
+ - "0.5": 00 00 00 00 00 00 05 81
1162
+ - "-0.5": 00 00 00 00 00 00 05 91
1163
+ - "29.2": 00 00 00 00 00 92 02 01
1164
+ - "-29.2": 00 00 00 00 00 92 02 11
1165
+ - "0.03125": 00 00 00 00 50 12 03 82
1166
+ - "-0.03125": 00 00 00 00 50 12 03 92
1167
+ - "-0.3125": 00 00 00 00 50 12 03 91
1168
+ - 1.234E2: 00 00 00 00 40 23 01 02
1169
+ - "-1.234E-6": 00 00 00 00 40 23 01 96
1170
+ - "65536.0": 00 00 00 00 36 55 06 04
1171
+ - "-65536.0": 00 00 00 00 36 55 06 14
1172
+ - "-7.50": 00 00 00 00 00 50 07 10
1173
+ - 1E-99: 00 00 00 00 00 00 91 89
1174
+ - 9.999999999999E99: 99 99 99 99 99 99 99 09
1175
+ - 1E-12: 00 00 00 00 00 00 11 82
1176
+ - 1E-12: 00 00 00 00 00 00 11 82
1177
+ base: :bytes
1178
+ CRAY:
1179
+ parameters:
1180
+ - total_bits: 64
1181
+ - radix: 2
1182
+ - significand_digits: 48
1183
+ - radix_min_exp: -8193
1184
+ - radix_max_exp: 8190
1185
+ - decimal_digits_stored: 14
1186
+ - decimal_digits_necessary: 16
1187
+ - decimal_min_exp: -2466
1188
+ - decimal_max_exp: 2466
1189
+ values:
1190
+ - Rational(1, 3): 3F FF AA AA AA AA AA AB
1191
+ - Rational(1, 10): 3F FD CC CC CC CC CC CD
1192
+ - Rational(2, 3): 40 00 AA AA AA AA AA AB
1193
+ - Rational(1, 1024): 3F F7 80 00 00 00 00 00
1194
+ - Rational(1, 1000): 3F F7 83 12 6E 97 8D 50
1195
+ - Rational(1024, 1): 40 0B 80 00 00 00 00 00
1196
+ - Rational(1024, 1): 40 0B 80 00 00 00 00 00
1197
+ special:
1198
+ - min_value: 20 00 80 00 00 00 00 00
1199
+ - min_normalized_value: 20 00 80 00 00 00 00 00
1200
+ - max_value: 5F FF FF FF FF FF FF FF
1201
+ - epsilon: 3F D2 80 00 00 00 00 00
1202
+ - strict_epsilon: 3F D2 80 00 00 00 00 00
1203
+ numerals:
1204
+ - "+0": 00 00 00 00 00 00 00 00
1205
+ - "-0": 80 00 00 00 00 00 00 00
1206
+ - "+1": 40 01 80 00 00 00 00 00
1207
+ - "-1": C0 01 80 00 00 00 00 00
1208
+ - "+0.1": 3F FD CC CC CC CC CC CD
1209
+ - "-0.1": BF FD CC CC CC CC CC CD
1210
+ - "0.5": 40 00 80 00 00 00 00 00
1211
+ - "-0.5": C0 00 80 00 00 00 00 00
1212
+ - "29.2": 40 05 E9 99 99 99 99 9A
1213
+ - "-29.2": C0 05 E9 99 99 99 99 9A
1214
+ - "0.03125": 3F FC 80 00 00 00 00 00
1215
+ - "-0.03125": BF FC 80 00 00 00 00 00
1216
+ - "-0.3125": BF FF A0 00 00 00 00 00
1217
+ - 1.234E2: 40 07 F6 CC CC CC CC CD
1218
+ - "-1.234E-6": BF ED A5 9F EA CA 16 6D
1219
+ - "65536.0": 40 11 80 00 00 00 00 00
1220
+ - "-65536.0": C0 11 80 00 00 00 00 00
1221
+ - "-7.50": C0 03 F0 00 00 00 00 00
1222
+ - "4.584009668887118E-2467": 20 00 80 00 00 00 00 00
1223
+ - 5.45374067809706E2465: 5F FF FF FF FF FF FF FF
1224
+ - "7.105427357601002E-15": 3F D2 80 00 00 00 00 00
1225
+ - "7.105427357601002E-15": 3F D2 80 00 00 00 00 00
1226
+ base: :bytes
1227
+ IBM128:
1228
+ parameters:
1229
+ - total_bits: 128
1230
+ - radix: 16
1231
+ - significand_digits: 28
1232
+ - radix_min_exp: -51
1233
+ - radix_max_exp: 62
1234
+ - decimal_digits_stored: 32
1235
+ - decimal_digits_necessary: 35
1236
+ - decimal_min_exp: -60
1237
+ - decimal_max_exp: 77
1238
+ values:
1239
+ - Rational(1, 3): 40 55 55 55 55 55 55 55 32 55 55 55 55 55 55 55
1240
+ - Rational(1, 10): 40 19 99 99 99 99 99 99 32 99 99 99 99 99 99 9A
1241
+ - Rational(2, 3): 40 AA AA AA AA AA AA AA 32 AA AA AA AA AA AA AB
1242
+ - Rational(1, 1024): 3E 40 00 00 00 00 00 00 30 00 00 00 00 00 00 00
1243
+ - Rational(1, 1000): 3E 41 89 37 4B C6 A7 EF 30 9D B2 2D 0E 56 04 19
1244
+ - Rational(1024, 1): 43 40 00 00 00 00 00 00 35 00 00 00 00 00 00 00
1245
+ - Rational(1024, 1): 43 40 00 00 00 00 00 00 35 00 00 00 00 00 00 00
1246
+ special:
1247
+ - min_value: 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1248
+ - min_normalized_value: 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1249
+ - max_value: 7F FF FF FF FF FF FF FF 7F FF FF FF FF FF FF FF
1250
+ - epsilon: 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1251
+ - strict_epsilon: 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1252
+ numerals:
1253
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1254
+ - "-0": 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00
1255
+ - "+1": 41 10 00 00 00 00 00 00 33 00 00 00 00 00 00 00
1256
+ - "-1": C1 10 00 00 00 00 00 00 B3 00 00 00 00 00 00 00
1257
+ - "+0.1": 40 19 99 99 99 99 99 99 32 99 99 99 99 99 99 9A
1258
+ - "-0.1": C0 19 99 99 99 99 99 99 B2 99 99 99 99 99 99 9A
1259
+ - "0.5": 40 80 00 00 00 00 00 00 32 00 00 00 00 00 00 00
1260
+ - "-0.5": C0 80 00 00 00 00 00 00 B2 00 00 00 00 00 00 00
1261
+ - "29.2": 42 1D 33 33 33 33 33 33 34 33 33 33 33 33 33 33
1262
+ - "-29.2": C2 1D 33 33 33 33 33 33 B4 33 33 33 33 33 33 33
1263
+ - "0.03125": 3F 80 00 00 00 00 00 00 31 00 00 00 00 00 00 00
1264
+ - "-0.03125": BF 80 00 00 00 00 00 00 B1 00 00 00 00 00 00 00
1265
+ - "-0.3125": C0 50 00 00 00 00 00 00 B2 00 00 00 00 00 00 00
1266
+ - 1.234E2: 42 7B 66 66 66 66 66 66 34 66 66 66 66 66 66 66
1267
+ - "-1.234E-6": BC 14 B3 FD 59 42 CD 96 AE 31 96 61 3C 16 41 F2
1268
+ - "65536.0": 45 10 00 00 00 00 00 00 37 00 00 00 00 00 00 00
1269
+ - "-65536.0": C5 10 00 00 00 00 00 00 B7 00 00 00 00 00 00 00
1270
+ - "-7.50": C1 78 00 00 00 00 00 00 B3 00 00 00 00 00 00 00
1271
+ - "3.8893845486632135669650400336125777E-62": 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1272
+ - 7.2370055773322622139731865630429928E75: 7F FF FF FF FF FF FF FF 7F FF FF FF FF FF FF FF
1273
+ - "3.0814879110195773648895647081358837E-33": 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1274
+ - "3.0814879110195773648895647081358837E-33": 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1275
+ base: :bytes
1276
+ IEEE_DEC64:
1277
+ parameters:
1278
+ - total_bits: 64
1279
+ - radix: 10
1280
+ - significand_digits: 16
1281
+ - radix_min_exp: -383
1282
+ - radix_max_exp: 384
1283
+ - decimal_digits_stored: 16
1284
+ - decimal_digits_necessary: 16
1285
+ - decimal_min_exp: -383
1286
+ - decimal_max_exp: 384
1287
+ values:
1288
+ - Rational(1, 3): 2D F9 B3 6C DB 36 CD B3
1289
+ - Rational(1, 10): 22 34 00 00 00 00 00 01
1290
+ - Rational(2, 3): 39 FB 66 D9 B6 6D 9B 67
1291
+ - Rational(1, 1024): 22 10 00 00 00 9F 97 25
1292
+ - Rational(1, 1000): 22 2C 00 00 00 00 00 01
1293
+ - Rational(1024, 1): 22 38 00 00 00 00 04 24
1294
+ - Rational(1024, 1): 22 38 00 00 00 00 04 24
1295
+ special:
1296
+ - min_value: 00 00 00 00 00 00 00 01
1297
+ - min_normalized_value: 04 00 00 00 00 00 00 00
1298
+ - max_value: 77 FC FF 3F CF F3 FC FF
1299
+ - epsilon: 25 C0 00 00 00 00 00 00
1300
+ - strict_epsilon: 35 BC 00 00 00 00 00 01
1301
+ numerals:
1302
+ - "+0": 00 00 00 00 00 00 00 00
1303
+ - "-0": 80 00 00 00 00 00 00 00
1304
+ - "+1": 22 38 00 00 00 00 00 01
1305
+ - "-1": A2 38 00 00 00 00 00 01
1306
+ - "+0.1": 22 34 00 00 00 00 00 01
1307
+ - "-0.1": A2 34 00 00 00 00 00 01
1308
+ - "0.5": 22 34 00 00 00 00 00 05
1309
+ - "-0.5": A2 34 00 00 00 00 00 05
1310
+ - "29.2": 22 34 00 00 00 00 01 3A
1311
+ - "-29.2": A2 34 00 00 00 00 01 3A
1312
+ - "0.03125": 22 24 00 00 00 00 0C A5
1313
+ - "-0.03125": A2 24 00 00 00 00 0C A5
1314
+ - "-0.3125": A2 28 00 00 00 00 0C A5
1315
+ - 1.234E2: 22 34 00 00 00 00 05 34
1316
+ - "-1.234E-6": A2 14 00 00 00 00 05 34
1317
+ - "65536.0": 22 38 00 00 00 01 96 B6
1318
+ - "-65536.0": A2 38 00 00 00 01 96 B6
1319
+ - "-7.50": A2 34 00 00 00 00 00 75
1320
+ - 1E-383: 00 3C 00 00 00 00 00 01
1321
+ - 9.999999999999999E384: 77 FC FF 3F CF F3 FC FF
1322
+ - 1E-15: 21 FC 00 00 00 00 00 01
1323
+ - 1E-15: 21 FC 00 00 00 00 00 01
1324
+ base: :bytes
1325
+ APPLE:
1326
+ parameters:
1327
+ - total_bits: 32
1328
+ - radix: 2
1329
+ - significand_digits: 23
1330
+ - radix_min_exp: -128
1331
+ - radix_max_exp: 127
1332
+ - decimal_digits_stored: 6
1333
+ - decimal_digits_necessary: 8
1334
+ - decimal_min_exp: -38
1335
+ - decimal_max_exp: 38
1336
+ values:
1337
+ - Rational(1, 3): 7E 55 55 55
1338
+ - Rational(1, 10): 7C 66 66 66
1339
+ - Rational(2, 3): 7F 55 55 55
1340
+ - Rational(1, 1024): 76 40 00 00
1341
+ - Rational(1, 1000): 76 41 89 37
1342
+ - Rational(1024, 1): 8A 40 00 00
1343
+ - Rational(1024, 1): 8A 40 00 00
1344
+ special:
1345
+ - min_value: 00 00 00 01
1346
+ - min_normalized_value: 00 40 00 00
1347
+ - max_value: FF 7F FF FF
1348
+ - epsilon: 6A 40 00 00
1349
+ - strict_epsilon: 6A 40 00 00
1350
+ numerals:
1351
+ - "+0": 00 00 00 00
1352
+ - "-0": 00 80 00 00
1353
+ - "+1": 80 40 00 00
1354
+ - "-1": 7F 80 00 00
1355
+ - "+0.1": 7C 66 66 66
1356
+ - "-0.1": 7C 99 99 9A
1357
+ - "0.5": 7F 40 00 00
1358
+ - "-0.5": 7E 80 00 00
1359
+ - "29.2": 84 74 CC CD
1360
+ - "-29.2": 84 8B 33 33
1361
+ - "0.03125": 7B 40 00 00
1362
+ - "-0.03125": 7A 80 00 00
1363
+ - "-0.3125": 7E B0 00 00
1364
+ - 1.234E2: 86 7B 66 66
1365
+ - "-1.234E-6": 6C AD 30 0B
1366
+ - "65536.0": 90 40 00 00
1367
+ - "-65536.0": 8F 80 00 00
1368
+ - "-7.50": 82 88 00 00
1369
+ - "5.8774718E-39": 01 40 00 00
1370
+ - 3.4028233E38: FF 7F FF FF
1371
+ - "2.3841858E-7": 6A 40 00 00
1372
+ - "2.3841858E-7": 6A 40 00 00
1373
+ base: :bytes
1374
+ IEEE_DEC32:
1375
+ parameters:
1376
+ - total_bits: 32
1377
+ - radix: 10
1378
+ - significand_digits: 7
1379
+ - radix_min_exp: -95
1380
+ - radix_max_exp: 96
1381
+ - decimal_digits_stored: 7
1382
+ - decimal_digits_necessary: 7
1383
+ - decimal_min_exp: -95
1384
+ - decimal_max_exp: 96
1385
+ values:
1386
+ - Rational(1, 3): 2D E6 CD B3
1387
+ - Rational(1, 10): 22 40 00 01
1388
+ - Rational(2, 3): 39 ED 9B 67
1389
+ - Rational(1, 1024): 6D BF 97 25
1390
+ - Rational(1, 1000): 22 20 00 01
1391
+ - Rational(1024, 1): 22 50 04 24
1392
+ - Rational(1024, 1): 22 50 04 24
1393
+ special:
1394
+ - min_value: 00 00 00 01
1395
+ - min_normalized_value: 04 00 00 00
1396
+ - max_value: 77 F3 FC FF
1397
+ - epsilon: 25 90 00 00
1398
+ - strict_epsilon: 35 80 00 01
1399
+ numerals:
1400
+ - "+0": 00 00 00 00
1401
+ - "-0": 80 00 00 00
1402
+ - "+1": 22 50 00 01
1403
+ - "-1": A2 50 00 01
1404
+ - "+0.1": 22 40 00 01
1405
+ - "-0.1": A2 40 00 01
1406
+ - "0.5": 22 40 00 05
1407
+ - "-0.5": A2 40 00 05
1408
+ - "29.2": 22 40 01 3A
1409
+ - "-29.2": A2 40 01 3A
1410
+ - "0.03125": 22 00 0C A5
1411
+ - "-0.03125": A2 00 0C A5
1412
+ - "-0.3125": A2 10 0C A5
1413
+ - 1.234E2: 22 40 05 34
1414
+ - "-1.234E-6": A1 C0 05 34
1415
+ - "65536.0": 22 51 96 B6
1416
+ - "-65536.0": A2 51 96 B6
1417
+ - "-7.50": A2 40 00 75
1418
+ - 1E-95: 00 60 00 01
1419
+ - 9.999999E96: 77 F3 FC FF
1420
+ - 1E-6: 21 F0 00 01
1421
+ - 1E-6: 21 F0 00 01
1422
+ base: :bytes
1423
+ CDC_SINGLE:
1424
+ parameters:
1425
+ - total_bits: 60
1426
+ - radix: 2
1427
+ - significand_digits: 48
1428
+ - radix_min_exp: -976
1429
+ - radix_max_exp: 1070
1430
+ - decimal_digits_stored: 14
1431
+ - decimal_digits_necessary: 16
1432
+ - decimal_min_exp: -293
1433
+ - decimal_max_exp: 322
1434
+ values:
1435
+ - Rational(1, 3): 3CEAAAAAAAAAAAB
1436
+ - Rational(1, 10): 3CCCCCCCCCCCCCD
1437
+ - Rational(2, 3): 3CFAAAAAAAAAAAB
1438
+ - Rational(1, 1024): 3C6800000000000
1439
+ - Rational(1, 1000): 3C683126E978D50
1440
+ - Rational(1024, 1): 3DA800000000000
1441
+ - Rational(1024, 1): 3DA800000000000
1442
+ special:
1443
+ - min_value: 000800000000000
1444
+ - min_normalized_value: 000800000000000
1445
+ - max_value: 7FFFFFFFFFFFFFF
1446
+ - epsilon: 3A1800000000000
1447
+ - strict_epsilon: 3A1800000000000
1448
+ numerals:
1449
+ - "+0": "000000000000000"
1450
+ - "-0": FFFFFFFFFFFFFFF
1451
+ - "+1": 3D0800000000000
1452
+ - "-1": C2F7FFFFFFFFFFF
1453
+ - "+0.1": 3CCCCCCCCCCCCCD
1454
+ - "-0.1": C33333333333332
1455
+ - "0.5": 3CF800000000000
1456
+ - "-0.5": C307FFFFFFFFFFF
1457
+ - "29.2": 3D4E9999999999A
1458
+ - "-29.2": C2B166666666665
1459
+ - "0.03125": 3CB800000000000
1460
+ - "-0.03125": C347FFFFFFFFFFF
1461
+ - "-0.3125": C315FFFFFFFFFFF
1462
+ - 1.234E2: 3D6F6CCCCCCCCCD
1463
+ - "-1.234E-6": C435A601535E992
1464
+ - "65536.0": 3E0800000000000
1465
+ - "-65536.0": C1F7FFFFFFFFFFF
1466
+ - "-7.50": C2D0FFFFFFFFFFF
1467
+ - "1.56575653125701E-294": 000800000000000
1468
+ - 2.530028166341374E322: 7FFFFFFFFFFFFFF
1469
+ - "7.105427357601002E-15": 3A1800000000000
1470
+ - "7.105427357601002E-15": 3A1800000000000
1471
+ base: 16
1472
+ UNIVAC_SINGLE:
1473
+ parameters:
1474
+ - total_bits: 36
1475
+ - radix: 2
1476
+ - significand_digits: 27
1477
+ - radix_min_exp: -129
1478
+ - radix_max_exp: 126
1479
+ - decimal_digits_stored: 7
1480
+ - decimal_digits_necessary: 10
1481
+ - decimal_min_exp: -38
1482
+ - decimal_max_exp: 38
1483
+ values:
1484
+ - Rational(1, 3): 3FD555555
1485
+ - Rational(1, 10): 3EE666666
1486
+ - Rational(2, 3): "405555555"
1487
+ - Rational(1, 1024): 3BC000000
1488
+ - Rational(1, 1000): 3BC189375
1489
+ - Rational(1024, 1): 45C000000
1490
+ - Rational(1024, 1): 45C000000
1491
+ special:
1492
+ - min_value: "004000000"
1493
+ - min_normalized_value: "004000000"
1494
+ - max_value: 7FFFFFFFF
1495
+ - epsilon: 33C000000
1496
+ - strict_epsilon: 33C000000
1497
+ numerals:
1498
+ - "+0": "000000000"
1499
+ - "-0": FFFFFFFFF
1500
+ - "+1": 40C000000
1501
+ - "-1": BF3FFFFFF
1502
+ - "+0.1": 3EE666666
1503
+ - "-0.1": C11999999
1504
+ - "0.5": "404000000"
1505
+ - "-0.5": BFBFFFFFF
1506
+ - "29.2": 42F4CCCCD
1507
+ - "-29.2": BD0B33332
1508
+ - "0.03125": 3E4000000
1509
+ - "-0.03125": C1BFFFFFF
1510
+ - "-0.3125": C02FFFFFF
1511
+ - 1.234E2: 43FB66666
1512
+ - "-1.234E-6": C92D300A9
1513
+ - "65536.0": 48C000000
1514
+ - "-65536.0": B73FFFFFF
1515
+ - "-7.50": BE07FFFFF
1516
+ - "1.469367939E-39": "004000000"
1517
+ - 1.701411822E38: 7FFFFFFFF
1518
+ - "1.490116119E-8": 33C000000
1519
+ - "1.490116119E-8": 33C000000
1520
+ base: 16
1521
+ MBF_DOUBLE:
1522
+ parameters:
1523
+ - total_bits: 64
1524
+ - radix: 2
1525
+ - significand_digits: 56
1526
+ - radix_min_exp: -128
1527
+ - radix_max_exp: 126
1528
+ - decimal_digits_stored: 16
1529
+ - decimal_digits_necessary: 18
1530
+ - decimal_min_exp: -38
1531
+ - decimal_max_exp: 38
1532
+ values:
1533
+ - Rational(1, 3): AB AA AA AA AA AA 2A 7F
1534
+ - Rational(1, 10): CD CC CC CC CC CC 4C 7D
1535
+ - Rational(2, 3): AB AA AA AA AA AA 2A 80
1536
+ - Rational(1, 1024): 00 00 00 00 00 00 00 77
1537
+ - Rational(1, 1000): DF 4F 8D 97 6E 12 03 77
1538
+ - Rational(1024, 1): 00 00 00 00 00 00 00 8B
1539
+ - Rational(1024, 1): 00 00 00 00 00 00 00 8B
1540
+ special:
1541
+ - min_value: 00 00 00 00 00 00 00 01
1542
+ - min_normalized_value: 00 00 00 00 00 00 00 01
1543
+ - max_value: FF FF FF FF FF FF 7F FF
1544
+ - epsilon: 00 00 00 00 00 00 00 4A
1545
+ - strict_epsilon: 00 00 00 00 00 00 00 4A
1546
+ numerals:
1547
+ - "+0": 00 00 00 00 00 00 00 00
1548
+ - "-0": 00 00 00 00 00 00 80 00
1549
+ - "+1": 00 00 00 00 00 00 00 81
1550
+ - "-1": 00 00 00 00 00 00 80 81
1551
+ - "+0.1": CD CC CC CC CC CC 4C 7D
1552
+ - "-0.1": CD CC CC CC CC CC CC 7D
1553
+ - "0.5": 00 00 00 00 00 00 00 80
1554
+ - "-0.5": 00 00 00 00 00 00 80 80
1555
+ - "29.2": 9A 99 99 99 99 99 69 85
1556
+ - "-29.2": 9A 99 99 99 99 99 E9 85
1557
+ - "0.03125": 00 00 00 00 00 00 00 7C
1558
+ - "-0.03125": 00 00 00 00 00 00 80 7C
1559
+ - "-0.3125": 00 00 00 00 00 00 A0 7F
1560
+ - 1.234E2: CD CC CC CC CC CC 76 87
1561
+ - "-1.234E-6": B2 6C 16 CA EA 9F A5 6D
1562
+ - "65536.0": 00 00 00 00 00 00 00 91
1563
+ - "-65536.0": 00 00 00 00 00 00 80 91
1564
+ - "-7.50": 00 00 00 00 00 00 F0 83
1565
+ - "2.93873587705571877E-39": 00 00 00 00 00 00 00 01
1566
+ - 1.70141183460469229E38: FF FF FF FF FF FF 7F FF
1567
+ - "2.77555756156289135E-17": 00 00 00 00 00 00 00 4A
1568
+ - "2.77555756156289135E-17": 00 00 00 00 00 00 00 4A
1569
+ base: :bytes
1570
+ BORLAND48:
1571
+ parameters:
1572
+ - total_bits: 48
1573
+ - radix: 2
1574
+ - significand_digits: 40
1575
+ - radix_min_exp: -128
1576
+ - radix_max_exp: 126
1577
+ - decimal_digits_stored: 11
1578
+ - decimal_digits_necessary: 14
1579
+ - decimal_min_exp: -38
1580
+ - decimal_max_exp: 38
1581
+ values:
1582
+ - Rational(1, 3): 7F AB AA AA AA 2A
1583
+ - Rational(1, 10): 7D CD CC CC CC 4C
1584
+ - Rational(2, 3): 80 AB AA AA AA 2A
1585
+ - Rational(1, 1024): 77 00 00 00 00 00
1586
+ - Rational(1, 1000): 77 8D 97 6E 12 03
1587
+ - Rational(1024, 1): 8B 00 00 00 00 00
1588
+ - Rational(1024, 1): 8B 00 00 00 00 00
1589
+ special:
1590
+ - min_value: 01 00 00 00 00 00
1591
+ - min_normalized_value: 01 00 00 00 00 00
1592
+ - max_value: FF FF FF FF FF 7F
1593
+ - epsilon: 5A 00 00 00 00 00
1594
+ - strict_epsilon: 5A 00 00 00 00 00
1595
+ numerals:
1596
+ - "+0": 00 00 00 00 00 00
1597
+ - "-0": 00 00 00 00 00 80
1598
+ - "+1": 81 00 00 00 00 00
1599
+ - "-1": 81 00 00 00 00 80
1600
+ - "+0.1": 7D CD CC CC CC 4C
1601
+ - "-0.1": 7D CD CC CC CC CC
1602
+ - "0.5": 80 00 00 00 00 00
1603
+ - "-0.5": 80 00 00 00 00 80
1604
+ - "29.2": 85 9A 99 99 99 69
1605
+ - "-29.2": 85 9A 99 99 99 E9
1606
+ - "0.03125": 7C 00 00 00 00 00
1607
+ - "-0.03125": 7C 00 00 00 00 80
1608
+ - "-0.3125": 7F 00 00 00 00 A0
1609
+ - 1.234E2: 87 CD CC CC CC 76
1610
+ - "-1.234E-6": 6D 16 CA EA 9F A5
1611
+ - "65536.0": 91 00 00 00 00 00
1612
+ - "-65536.0": 91 00 00 00 00 80
1613
+ - "-7.50": 83 00 00 00 00 F0
1614
+ - "2.9387358770557E-39": 01 00 00 00 00 00
1615
+ - 1.7014118346031E38: FF FF FF FF FF 7F
1616
+ - "1.8189894035459E-12": 5A 00 00 00 00 00
1617
+ - "1.8189894035459E-12": 5A 00 00 00 00 00
1618
+ base: :bytes
1619
+ XS128:
1620
+ parameters:
1621
+ - total_bits: 40
1622
+ - radix: 2
1623
+ - significand_digits: 32
1624
+ - radix_min_exp: -128
1625
+ - radix_max_exp: 126
1626
+ - decimal_digits_stored: 9
1627
+ - decimal_digits_necessary: 11
1628
+ - decimal_min_exp: -38
1629
+ - decimal_max_exp: 38
1630
+ values:
1631
+ - Rational(1, 3): 7F 2A AA AA AB
1632
+ - Rational(1, 10): 7D 4C CC CC CD
1633
+ - Rational(2, 3): 80 2A AA AA AB
1634
+ - Rational(1, 1024): 77 00 00 00 00
1635
+ - Rational(1, 1000): 77 03 12 6E 98
1636
+ - Rational(1024, 1): 8B 00 00 00 00
1637
+ - Rational(1024, 1): 8B 00 00 00 00
1638
+ special:
1639
+ - min_value: 01 00 00 00 00
1640
+ - min_normalized_value: 01 00 00 00 00
1641
+ - max_value: FF 7F FF FF FF
1642
+ - epsilon: 62 00 00 00 00
1643
+ - strict_epsilon: 61 00 00 00 00
1644
+ numerals:
1645
+ - "+0": 00 00 00 00 00
1646
+ - "-0": 00 80 00 00 00
1647
+ - "+1": 81 00 00 00 00
1648
+ - "-1": 81 80 00 00 00
1649
+ - "+0.1": 7D 4C CC CC CD
1650
+ - "-0.1": 7D CC CC CC CD
1651
+ - "0.5": 80 00 00 00 00
1652
+ - "-0.5": 80 80 00 00 00
1653
+ - "29.2": 85 69 99 99 9A
1654
+ - "-29.2": 85 E9 99 99 9A
1655
+ - "0.03125": 7C 00 00 00 00
1656
+ - "-0.03125": 7C 80 00 00 00
1657
+ - "-0.3125": 7F A0 00 00 00
1658
+ - 1.234E2: 87 76 CC CC CD
1659
+ - "-1.234E-6": 6D A5 9F EA CA
1660
+ - "65536.0": 91 00 00 00 00
1661
+ - "-65536.0": 91 80 00 00 00
1662
+ - "-7.50": 83 F0 00 00 00
1663
+ - "2.9387358771E-39": 01 00 00 00 00
1664
+ - 1.7014118342E38: FF 7F FF FF FF
1665
+ - "4.6566128731E-10": 62 00 00 00 00
1666
+ - "2.3283064365E-10": 61 00 00 00 00
1667
+ base: :bytes