float-formats 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,34 @@
1
+ desc 'Release the website and new gem version'
2
+ task :deploy => [:check_version, :website, :release] do
3
+ puts "Remember to create SVN tag:"
4
+ puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
5
+ "svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
6
+ puts "Suggested comment:"
7
+ puts "Tagging release #{CHANGES}"
8
+ end
9
+
10
+ desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
11
+ task :local_deploy => [:website_generate, :install_gem]
12
+
13
+ task :check_version do
14
+ unless ENV['VERSION']
15
+ puts 'Must pass a VERSION=x.y.z release version'
16
+ exit
17
+ end
18
+ unless ENV['VERSION'] == VERS
19
+ puts "Please update your version.rb to match the release version, currently #{VERS}"
20
+ exit
21
+ end
22
+ end
23
+
24
+ desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
25
+ task :install_gem_no_doc => [:clean, :package] do
26
+ sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
27
+ end
28
+
29
+ namespace :manifest do
30
+ desc 'Recreate Manifest.txt to include ALL files'
31
+ task :refresh do
32
+ `rake check_manifest | patch -p0 > Manifest.txt`
33
+ end
34
+ end
@@ -0,0 +1,7 @@
1
+ task :ruby_env do
2
+ RUBY_APP = if RUBY_PLATFORM =~ /java/
3
+ "jruby"
4
+ else
5
+ "ruby"
6
+ end unless defined? RUBY_APP
7
+ end
@@ -0,0 +1,17 @@
1
+ desc 'Generate website files'
2
+ task :website_generate => :ruby_env do
3
+ (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
4
+ sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} }
5
+ end
6
+ end
7
+
8
+ desc 'Upload website files to rubyforge'
9
+ task :website_upload do
10
+ host = "#{rubyforge_username}@rubyforge.org"
11
+ remote_dir = "/var/www/gforge-projects/#{PATH}/"
12
+ local_dir = 'website'
13
+ sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
14
+ end
15
+
16
+ desc 'Generate and upload website files'
17
+ task :website => [:website_generate, :website_upload, :publish_docs]
@@ -0,0 +1,119 @@
1
+ require File.dirname(__FILE__) + '/../lib/float-formats'
2
+ require 'yaml'
3
+
4
+ include FltPnt
5
+ include Nio
6
+
7
+
8
+ TVALUES = [
9
+ '+0', '-0', '+1','-1','+0.1','-0.1',
10
+ '0.5','-0.5',
11
+ '29.2','-29.2','0.03125','-0.03125','-0.3125',
12
+ '1.234E2','-1.234E-6','65536.0','-65536.0',
13
+ '-7.50'
14
+ ]
15
+
16
+ VALUES = [
17
+ Rational(1,3),
18
+ Rational(1,10),
19
+ Rational(2,3),
20
+ Rational(1,1024),
21
+ Rational(1,1000),
22
+ Rational(1024,1),
23
+ Rational(1024,1)
24
+ ]
25
+
26
+ TEST_DATA = {}
27
+
28
+ def is_power_of_two(n)
29
+ nbits = 0
30
+ while n>0
31
+ nbits += 1 if n&1==1
32
+ n >>= 1
33
+ end
34
+ nbits==1
35
+ end
36
+
37
+ EXCEPTIONS = {
38
+ UNIVAC_DOUBLE=>16,
39
+ UNIVAC_SINGLE=>16,
40
+ SATURN_X=>16
41
+ }
42
+ def rep_mode(type)
43
+ m = EXCEPTIONS[type]
44
+ if m.nil?
45
+ if type.total_bits % 8 == 0 # is_power_of_two(flt.total_bits)
46
+ m = :bytes
47
+ elsif type.total_bits % 4 == 0
48
+ m = 16
49
+ elsif type.total_bits % 3 == 0
50
+ m = 8
51
+ else
52
+ m = 2
53
+ end
54
+ end
55
+ m
56
+ end
57
+
58
+ %w{IEEE_SINGLE IEEE_DOUBLE IEEE_EXTENDED IEEE_128 XS128 XS256 XS256_DOUBLE
59
+ BORLAND48
60
+ MBF_SINGLE MBF_DOUBLE
61
+ VAX_F VAX_D VAX_G VAX_H
62
+ PDP11_F PDP11_D
63
+ SATURN SATURN_X HP_CLASSIC
64
+ IEEE_DEC32 IEEE_DEC64 IEEE_DEC128
65
+ IBM32 IBM64 IBM128
66
+ CRAY
67
+ UNIVAC_SINGLE UNIVAC_DOUBLE
68
+ CDC_SINGLE CDC_DOUBLE
69
+ APPLE
70
+ WANG2200
71
+ C51_BCD_FLOAT C51_BCD_DOUBLE C51_BCD_LONG_DOUBLE
72
+ }.each do |t|
73
+
74
+ puts t
75
+ flt = eval(t)
76
+
77
+ base = rep_mode(flt)
78
+ TEST_DATA[t] = {'base'=>base}
79
+
80
+ print "."
81
+
82
+ TEST_DATA[t]['parameters'] = []
83
+ for attrb in [:total_bits, :radix, :significand_digits, :radix_min_exp, :radix_max_exp,
84
+ :decimal_digits_stored, :decimal_digits_necessary,:decimal_min_exp,:decimal_max_exp]
85
+ TEST_DATA[t]['parameters'] << {attrb.to_s=>flt.send(attrb)}
86
+ end
87
+
88
+ print "."
89
+ TEST_DATA[t]['numerals'] = []
90
+ fmt = Fmt.mode(:gen,flt.decimal_digits_necessary)
91
+ #fmt = Fmt.default
92
+ for v in TVALUES + [:min_normalized_value, :max_value, :epsilon, :strict_epsilon].collect{|s| flt.to_fmt(flt.send(s),fmt)}
93
+ val = flt.from_fmt(v)
94
+ rep = base==:bytes ? flt.to_hex(val,true) : flt.to_bits_text(val,base).upcase
95
+ TEST_DATA[t]['numerals'] << {v => rep}
96
+ end
97
+
98
+ print "."
99
+ TEST_DATA[t]['special'] = []
100
+ [:min_value, :min_normalized_value, :max_value, :epsilon, :strict_epsilon].each do |v|
101
+ val = flt.send(v)
102
+ rep = base==:bytes ? flt.to_hex(val,true) : flt.to_bits_text(val,base).upcase
103
+ TEST_DATA[t]['special'] << {v.to_s=>rep}
104
+ end
105
+
106
+ print "."
107
+ TEST_DATA[t]['values'] = []
108
+ for v in VALUES
109
+ val = flt.from_number(v)
110
+ rep = base==:bytes ? flt.to_hex(val,true) : flt.to_bits_text(val,base).upcase
111
+ TEST_DATA[t]['values'] << {v.inspect=>rep}
112
+ end
113
+ puts ""
114
+
115
+
116
+ end
117
+
118
+ File.open(File.join(File.dirname(__FILE__),"test_data0.yaml"),"w"){|f| f.write TEST_DATA.to_yaml}
119
+
@@ -0,0 +1,1716 @@
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 00
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_128:
493
+ parameters:
494
+ - total_bits: 128
495
+ - radix: 2
496
+ - significand_digits: 112
497
+ - radix_min_exp: -16382
498
+ - radix_max_exp: 16383
499
+ - decimal_digits_stored: 33
500
+ - decimal_digits_necessary: 35
501
+ - decimal_min_exp: -4931
502
+ - decimal_max_exp: 4932
503
+ values:
504
+ - Rational(1, 3): AB AA AA AA AA AA AA AA AA AA AA AA AA AA FD 3F
505
+ - Rational(1, 10): CD CC CC CC CC CC CC CC CC CC CC CC CC CC FB 3F
506
+ - Rational(2, 3): AB AA AA AA AA AA AA AA AA AA AA AA AA AA FE 3F
507
+ - Rational(1, 1024): 00 00 00 00 00 00 00 00 00 00 00 00 00 80 F5 3F
508
+ - Rational(1, 1000): 31 08 AC 1C 5A 64 3B DF 4F 8D 97 6E 12 83 F5 3F
509
+ - Rational(1024, 1): 00 00 00 00 00 00 00 00 00 00 00 00 00 80 09 40
510
+ - Rational(1024, 1): 00 00 00 00 00 00 00 00 00 00 00 00 00 80 09 40
511
+ special:
512
+ - min_value: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
513
+ - min_normalized_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 80 01 00
514
+ - max_value: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FE 7F
515
+ - epsilon: 00 00 00 00 00 00 00 00 00 00 00 00 00 80 90 3F
516
+ - strict_epsilon: 01 00 00 00 00 00 00 00 00 00 00 00 00 80 8F 3F
517
+ numerals:
518
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
519
+ - "-0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80
520
+ - "+1": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 FF 3F
521
+ - "-1": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 FF BF
522
+ - "+0.1": CD CC CC CC CC CC CC CC CC CC CC CC CC CC FB 3F
523
+ - "-0.1": CD CC CC CC CC CC CC CC CC CC CC CC CC CC FB BF
524
+ - "0.5": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 FE 3F
525
+ - "-0.5": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 FE BF
526
+ - "29.2": 9A 99 99 99 99 99 99 99 99 99 99 99 99 E9 03 40
527
+ - "-29.2": 9A 99 99 99 99 99 99 99 99 99 99 99 99 E9 03 C0
528
+ - "0.03125": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 FA 3F
529
+ - "-0.03125": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 FA BF
530
+ - "-0.3125": 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 FD BF
531
+ - 1.234E2: CD CC CC CC CC CC CC CC CC CC CC CC CC F6 05 40
532
+ - "-1.234E-6": 90 0F B2 E0 09 B3 8C B1 6C 16 CA EA 9F A5 EB BF
533
+ - "65536.0": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 0F 40
534
+ - "-65536.0": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 0F C0
535
+ - "-7.50": 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 01 C0
536
+ - "3.3621031431120935062626778173217526E-4932": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 01 00
537
+ - 1.1897314953572317650857593266280069E4932: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FE 7F
538
+ - "3.8518598887744717061119558851698546E-34": 00 00 00 00 00 00 00 00 00 00 00 00 00 80 90 3F
539
+ - "1.9259299443872358530559779425849281E-34": 01 00 00 00 00 00 00 00 00 00 00 00 00 80 8F 3F
540
+ base: :bytes
541
+ IEEE_DOUBLE:
542
+ parameters:
543
+ - total_bits: 64
544
+ - radix: 2
545
+ - significand_digits: 53
546
+ - radix_min_exp: -1022
547
+ - radix_max_exp: 1023
548
+ - decimal_digits_stored: 15
549
+ - decimal_digits_necessary: 17
550
+ - decimal_min_exp: -307
551
+ - decimal_max_exp: 308
552
+ values:
553
+ - Rational(1, 3): 55 55 55 55 55 55 D5 3F
554
+ - Rational(1, 10): 9A 99 99 99 99 99 B9 3F
555
+ - Rational(2, 3): 55 55 55 55 55 55 E5 3F
556
+ - Rational(1, 1024): 00 00 00 00 00 00 50 3F
557
+ - Rational(1, 1000): FC A9 F1 D2 4D 62 50 3F
558
+ - Rational(1024, 1): 00 00 00 00 00 00 90 40
559
+ - Rational(1024, 1): 00 00 00 00 00 00 90 40
560
+ special:
561
+ - min_value: 01 00 00 00 00 00 00 00
562
+ - min_normalized_value: 00 00 00 00 00 00 10 00
563
+ - max_value: FF FF FF FF FF FF EF 7F
564
+ - epsilon: 00 00 00 00 00 00 B0 3C
565
+ - strict_epsilon: 01 00 00 00 00 00 A0 3C
566
+ numerals:
567
+ - "+0": 00 00 00 00 00 00 00 00
568
+ - "-0": 00 00 00 00 00 00 00 80
569
+ - "+1": 00 00 00 00 00 00 F0 3F
570
+ - "-1": 00 00 00 00 00 00 F0 BF
571
+ - "+0.1": 9A 99 99 99 99 99 B9 3F
572
+ - "-0.1": 9A 99 99 99 99 99 B9 BF
573
+ - "0.5": 00 00 00 00 00 00 E0 3F
574
+ - "-0.5": 00 00 00 00 00 00 E0 BF
575
+ - "29.2": 33 33 33 33 33 33 3D 40
576
+ - "-29.2": 33 33 33 33 33 33 3D C0
577
+ - "0.03125": 00 00 00 00 00 00 A0 3F
578
+ - "-0.03125": 00 00 00 00 00 00 A0 BF
579
+ - "-0.3125": 00 00 00 00 00 00 D4 BF
580
+ - 1.234E2: 9A 99 99 99 99 D9 5E 40
581
+ - "-1.234E-6": 96 CD 42 59 FD B3 B4 BE
582
+ - "65536.0": 00 00 00 00 00 00 F0 40
583
+ - "-65536.0": 00 00 00 00 00 00 F0 C0
584
+ - "-7.50": 00 00 00 00 00 00 1E C0
585
+ - "2.2250738585072014E-308": 00 00 00 00 00 00 10 00
586
+ - 1.7976931348623157E308: FF FF FF FF FF FF EF 7F
587
+ - "2.2204460492503131E-16": 00 00 00 00 00 00 B0 3C
588
+ - "1.1102230246251568E-16": 01 00 00 00 00 00 A0 3C
589
+ base: :bytes
590
+ CDC_DOUBLE:
591
+ parameters:
592
+ - total_bits: 120
593
+ - radix: 2
594
+ - significand_digits: 96
595
+ - radix_min_exp: -928
596
+ - radix_max_exp: 1070
597
+ - decimal_digits_stored: 28
598
+ - decimal_digits_necessary: 30
599
+ - decimal_min_exp: -279
600
+ - decimal_max_exp: 322
601
+ values:
602
+ - Rational(1, 3): AB AA AA AA AA AA 9E A3 AA AA AA AA AA EA 3C
603
+ - Rational(1, 10): CD CC CC CC CC CC 9C C3 CC CC CC CC CC CC 3C
604
+ - Rational(2, 3): AB AA AA AA AA AA 9F A3 AA AA AA AA AA FA 3C
605
+ - Rational(1, 1024): 00 00 00 00 00 00 96 03 00 00 00 00 00 68 3C
606
+ - Rational(1, 1000): AC 1C 5A 64 3B DF 96 F3 D4 78 E9 26 31 68 3C
607
+ - Rational(1024, 1): 00 00 00 00 00 00 AA 03 00 00 00 00 00 A8 3D
608
+ - Rational(1024, 1): 00 00 00 00 00 00 AA 03 00 00 00 00 00 A8 3D
609
+ special:
610
+ - min_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
611
+ - min_normalized_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
612
+ - max_value: FF FF FF FF FF FF FF F7 FF FF FF FF FF FF 7F
613
+ - epsilon: 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
614
+ - strict_epsilon: 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
615
+ numerals:
616
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
617
+ - "-0": FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
618
+ - "+1": 00 00 00 00 00 00 A0 03 00 00 00 00 00 08 3D
619
+ - "-1": FF FF FF FF FF FF 5F FC FF FF FF FF FF F7 C2
620
+ - "+0.1": CD CC CC CC CC CC 9C C3 CC CC CC CC CC CC 3C
621
+ - "-0.1": 32 33 33 33 33 33 63 3C 33 33 33 33 33 33 C3
622
+ - "0.5": 00 00 00 00 00 00 9F 03 00 00 00 00 00 F8 3C
623
+ - "-0.5": FF FF FF FF FF FF 60 FC FF FF FF FF FF 07 C3
624
+ - "29.2": 9A 99 99 99 99 99 A4 93 99 99 99 99 99 4E 3D
625
+ - "-29.2": 65 66 66 66 66 66 5B 6C 66 66 66 66 66 B1 C2
626
+ - "0.03125": 00 00 00 00 00 00 9B 03 00 00 00 00 00 B8 3C
627
+ - "-0.03125": FF FF FF FF FF FF 64 FC FF FF FF FF FF 47 C3
628
+ - "-0.3125": FF FF FF FF FF FF 61 FC FF FF FF FF FF 15 C3
629
+ - 1.234E2: CD CC CC CC CC CC A6 C3 CC CC CC CC 6C 6F 3D
630
+ - "-1.234E-6": 4D 1F F6 4C 73 4E 73 3C 99 5E 53 01 A6 35 C4
631
+ - "65536.0": 00 00 00 00 00 00 B0 03 00 00 00 00 00 08 3E
632
+ - "-65536.0": FF FF FF FF FF FF 4F FC FF FF FF FF FF F7 C1
633
+ - "-7.50": FF FF FF FF FF FF 5D FC FF FF FF FF FF D0 C2
634
+ - "4.40721283170124408220034687787E-280": 00 00 00 00 00 00 00 00 00 00 00 00 00 08 03
635
+ - 2.53002816634138272940619183395E322: FF FF FF FF FF FF FF F7 FF FF FF FF FF FF 7F
636
+ - "2.5243548967072377773175314089E-29": 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
637
+ - "2.5243548967072377773175314089E-29": 00 00 00 00 00 00 41 03 00 00 00 00 00 18 37
638
+ base: :bytes
639
+ PDP11_F:
640
+ parameters:
641
+ - total_bits: 32
642
+ - radix: 2
643
+ - significand_digits: 24
644
+ - radix_min_exp: -129
645
+ - radix_max_exp: 126
646
+ - decimal_digits_stored: 6
647
+ - decimal_digits_necessary: 9
648
+ - decimal_min_exp: -38
649
+ - decimal_max_exp: 38
650
+ values:
651
+ - Rational(1, 3): AA 3F AB AA
652
+ - Rational(1, 10): CC 3E CD CC
653
+ - Rational(2, 3): 2A 40 AB AA
654
+ - Rational(1, 1024): 80 3B 00 00
655
+ - Rational(1, 1000): 83 3B 6F 12
656
+ - Rational(1024, 1): 80 45 00 00
657
+ - Rational(1024, 1): 80 45 00 00
658
+ special:
659
+ - min_value: 00 00 01 00
660
+ - min_normalized_value: 00 00 01 00
661
+ - max_value: FF 7F FF FF
662
+ - epsilon: 00 35 00 00
663
+ - strict_epsilon: 00 35 00 00
664
+ numerals:
665
+ - "+0": 00 00 00 00
666
+ - "-0": 00 80 00 00
667
+ - "+1": 80 40 00 00
668
+ - "-1": 80 C0 00 00
669
+ - "+0.1": CC 3E CD CC
670
+ - "-0.1": CC BE CD CC
671
+ - "0.5": 00 40 00 00
672
+ - "-0.5": 00 C0 00 00
673
+ - "29.2": E9 42 9A 99
674
+ - "-29.2": E9 C2 9A 99
675
+ - "0.03125": 00 3E 00 00
676
+ - "-0.03125": 00 BE 00 00
677
+ - "-0.3125": A0 BF 00 00
678
+ - 1.234E2: F6 43 CD CC
679
+ - "-1.234E-6": A5 B6 EB 9F
680
+ - "65536.0": 80 48 00 00
681
+ - "-65536.0": 80 C8 00 00
682
+ - "-7.50": F0 C1 00 00
683
+ - "1.46936811E-39": 00 00 00 00
684
+ - 1.70141173E38: FF 7F FF FF
685
+ - "1.1920929E-7": 00 35 00 00
686
+ - "1.1920929E-7": 00 35 00 00
687
+ base: :bytes
688
+ VAX_G:
689
+ parameters:
690
+ - total_bits: 64
691
+ - radix: 2
692
+ - significand_digits: 53
693
+ - radix_min_exp: -1024
694
+ - radix_max_exp: 1022
695
+ - decimal_digits_stored: 15
696
+ - decimal_digits_necessary: 17
697
+ - decimal_min_exp: -307
698
+ - decimal_max_exp: 308
699
+ values:
700
+ - Rational(1, 3): F5 3F 55 55 55 55 55 55
701
+ - Rational(1, 10): D9 3F 99 99 99 99 9A 99
702
+ - Rational(2, 3): 05 40 55 55 55 55 55 55
703
+ - Rational(1, 1024): 70 3F 00 00 00 00 00 00
704
+ - Rational(1, 1000): 70 3F 4D 62 F1 D2 FC A9
705
+ - Rational(1024, 1): B0 40 00 00 00 00 00 00
706
+ - Rational(1024, 1): B0 40 00 00 00 00 00 00
707
+ special:
708
+ - min_value: 10 00 00 00 00 00 00 00
709
+ - min_normalized_value: 10 00 00 00 00 00 00 00
710
+ - max_value: FF 7F FF FF FF FF FF FF
711
+ - epsilon: D0 3C 00 00 00 00 00 00
712
+ - strict_epsilon: D0 3C 00 00 00 00 00 00
713
+ numerals:
714
+ - "+0": 00 00 00 00 00 00 00 00
715
+ - "-0": 00 80 00 00 00 00 00 00
716
+ - "+1": 10 40 00 00 00 00 00 00
717
+ - "-1": 10 C0 00 00 00 00 00 00
718
+ - "+0.1": D9 3F 99 99 99 99 9A 99
719
+ - "-0.1": D9 BF 99 99 99 99 9A 99
720
+ - "0.5": 00 40 00 00 00 00 00 00
721
+ - "-0.5": 00 C0 00 00 00 00 00 00
722
+ - "29.2": 5D 40 33 33 33 33 33 33
723
+ - "-29.2": 5D C0 33 33 33 33 33 33
724
+ - "0.03125": C0 3F 00 00 00 00 00 00
725
+ - "-0.03125": C0 BF 00 00 00 00 00 00
726
+ - "-0.3125": F4 BF 00 00 00 00 00 00
727
+ - 1.234E2: 7E 40 99 D9 99 99 9A 99
728
+ - "-1.234E-6": D4 BE FD B3 42 59 96 CD
729
+ - "65536.0": 10 41 00 00 00 00 00 00
730
+ - "-65536.0": 10 C1 00 00 00 00 00 00
731
+ - "-7.50": 3E C0 00 00 00 00 00 00
732
+ - "5.5626846462680035E-309": 10 00 00 00 00 00 00 00
733
+ - 8.9884656743115785E307: FF 7F FF FF FF FF FF FF
734
+ - "2.2204460492503131E-16": D0 3C 00 00 00 00 00 00
735
+ - "2.2204460492503131E-16": D0 3C 00 00 00 00 00 00
736
+ base: :bytes
737
+ SATURN_X:
738
+ parameters:
739
+ - total_bits: 104
740
+ - radix: 10
741
+ - significand_digits: 15
742
+ - radix_min_exp: -49999
743
+ - radix_max_exp: 49999
744
+ - decimal_digits_stored: 15
745
+ - decimal_digits_necessary: 15
746
+ - decimal_min_exp: -49999
747
+ - decimal_max_exp: 49999
748
+ values:
749
+ - Rational(1, 3): 03333333333333339999902955
750
+ - Rational(1, 10): 01000000000000009999902955
751
+ - Rational(2, 3): 06666666666666679999902955
752
+ - Rational(1, 1024): 09765625000000009999602955
753
+ - Rational(1, 1000): 01000000000000009999702955
754
+ - Rational(1024, 1): 01024000000000000000302955
755
+ - Rational(1024, 1): 01024000000000000000302955
756
+ special:
757
+ - min_value: 01000000000000005000102955
758
+ - min_normalized_value: 01000000000000005000102955
759
+ - max_value: 09999999999999994999902955
760
+ - epsilon: 01000000000000009998602955
761
+ - strict_epsilon: 05000000000000019998502955
762
+ numerals:
763
+ - "+0": 00000000000000000000002955
764
+ - "-0": "90000000000000000000002955"
765
+ - "+1": 01000000000000000000002955
766
+ - "-1": "91000000000000000000002955"
767
+ - "+0.1": 01000000000000009999902955
768
+ - "-0.1": "91000000000000009999902955"
769
+ - "0.5": 05000000000000009999902955
770
+ - "-0.5": "95000000000000009999902955"
771
+ - "29.2": 02920000000000000000102955
772
+ - "-29.2": "92920000000000000000102955"
773
+ - "0.03125": 03125000000000009999802955
774
+ - "-0.03125": "93125000000000009999802955"
775
+ - "-0.3125": "93125000000000009999902955"
776
+ - 1.234E2: 01234000000000000000202955
777
+ - "-1.234E-6": "91234000000000009999402955"
778
+ - "65536.0": 06553600000000000000402955
779
+ - "-65536.0": "96553600000000000000402955"
780
+ - "-7.50": "97500000000000000000002955"
781
+ - 1E-49999: 01000000000000005000102955
782
+ - 9.99999999999999E49999: 09999999999999994999902955
783
+ - 1E-14: 01000000000000009998602955
784
+ - "5.00000000000001E-15": 05000000000000019998502955
785
+ base: 16
786
+ SATURN:
787
+ parameters:
788
+ - total_bits: 84
789
+ - radix: 10
790
+ - significand_digits: 12
791
+ - radix_min_exp: -499
792
+ - radix_max_exp: 499
793
+ - decimal_digits_stored: 12
794
+ - decimal_digits_necessary: 12
795
+ - decimal_min_exp: -499
796
+ - decimal_max_exp: 499
797
+ values:
798
+ - Rational(1, 3): 033333333333399902933
799
+ - Rational(1, 10): 010000000000099902933
800
+ - Rational(2, 3): 066666666666799902933
801
+ - Rational(1, 1024): 097656250000099602933
802
+ - Rational(1, 1000): 010000000000099702933
803
+ - Rational(1024, 1): 010240000000000302933
804
+ - Rational(1024, 1): 010240000000000302933
805
+ special:
806
+ - min_value: 010000000000050102933
807
+ - min_normalized_value: 010000000000050102933
808
+ - max_value: 099999999999949902933
809
+ - epsilon: 010000000000098902933
810
+ - strict_epsilon: 050000000000198802933
811
+ numerals:
812
+ - "+0": 000000000000000002933
813
+ - "-0": "900000000000000002933"
814
+ - "+1": 010000000000000002933
815
+ - "-1": "910000000000000002933"
816
+ - "+0.1": 010000000000099902933
817
+ - "-0.1": "910000000000099902933"
818
+ - "0.5": 050000000000099902933
819
+ - "-0.5": "950000000000099902933"
820
+ - "29.2": 029200000000000102933
821
+ - "-29.2": "929200000000000102933"
822
+ - "0.03125": 031250000000099802933
823
+ - "-0.03125": "931250000000099802933"
824
+ - "-0.3125": "931250000000099902933"
825
+ - 1.234E2: 012340000000000202933
826
+ - "-1.234E-6": "912340000000099402933"
827
+ - "65536.0": 065536000000000402933
828
+ - "-65536.0": "965536000000000402933"
829
+ - "-7.50": "975000000000000002933"
830
+ - 1E-499: 010000000000050102933
831
+ - 9.99999999999E499: 099999999999949902933
832
+ - 1E-11: 010000000000098902933
833
+ - "5.00000000001E-12": 050000000000198802933
834
+ base: 16
835
+ VAX_H:
836
+ parameters:
837
+ - total_bits: 128
838
+ - radix: 2
839
+ - significand_digits: 113
840
+ - radix_min_exp: -16384
841
+ - radix_max_exp: 16382
842
+ - decimal_digits_stored: 33
843
+ - decimal_digits_necessary: 36
844
+ - decimal_min_exp: -4931
845
+ - decimal_max_exp: 4932
846
+ values:
847
+ - Rational(1, 3): FF 3F 55 55 55 55 55 55 55 55 55 55 55 55 55 55
848
+ - Rational(1, 10): FD 3F 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
849
+ - Rational(2, 3): 00 40 55 55 55 55 55 55 55 55 55 55 55 55 55 55
850
+ - Rational(1, 1024): F7 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
851
+ - Rational(1, 1000): F7 3F 24 06 2F DD 9F 1A 76 BE B4 C8 58 39 62 10
852
+ - Rational(1024, 1): 0B 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
853
+ - Rational(1024, 1): 0B 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
854
+ special:
855
+ - min_value: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
856
+ - min_normalized_value: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
857
+ - max_value: FF 7F FF FF FF FF FF FF FF FF FF FF FF FF FF FF
858
+ - epsilon: 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
859
+ - strict_epsilon: 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
860
+ numerals:
861
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
862
+ - "-0": 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
863
+ - "+1": 01 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
864
+ - "-1": 01 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
865
+ - "+0.1": FD 3F 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
866
+ - "-0.1": FD BF 99 99 99 99 99 99 99 99 99 99 99 99 9A 99
867
+ - "0.5": 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
868
+ - "-0.5": 00 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
869
+ - "29.2": 05 40 33 D3 33 33 33 33 33 33 33 33 33 33 33 33
870
+ - "-29.2": 05 C0 33 D3 33 33 33 33 33 33 33 33 33 33 33 33
871
+ - "0.03125": FC 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
872
+ - "-0.03125": FC BF 00 00 00 00 00 00 00 00 00 00 00 00 00 00
873
+ - "-0.3125": FF BF 00 40 00 00 00 00 00 00 00 00 00 00 00 00
874
+ - 1.234E2: 07 40 99 ED 99 99 99 99 99 99 99 99 99 99 9A 99
875
+ - "-1.234E-6": ED BF 3F 4B 94 D5 D9 2C 19 63 13 66 64 C1 20 1F
876
+ - "65536.0": 11 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
877
+ - "-65536.0": 11 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
878
+ - "-7.50": 03 C0 00 E0 00 00 00 00 00 00 00 00 00 00 00 00
879
+ - "8.40525785778023376565669454330438151E-4933": 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
880
+ - 5.94865747678615882542879663314003508E4931: FF 7F FF FF FF FF FF FF FF FF FF FF FF FF FF FF
881
+ - "1.92592994438723585305597794258492732E-34": 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
882
+ - "1.92592994438723585305597794258492732E-34": 91 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00
883
+ base: :bytes
884
+ MBF_SINGLE:
885
+ parameters:
886
+ - total_bits: 32
887
+ - radix: 2
888
+ - significand_digits: 24
889
+ - radix_min_exp: -128
890
+ - radix_max_exp: 126
891
+ - decimal_digits_stored: 6
892
+ - decimal_digits_necessary: 9
893
+ - decimal_min_exp: -38
894
+ - decimal_max_exp: 38
895
+ values:
896
+ - Rational(1, 3): AB AA 2A 7F
897
+ - Rational(1, 10): CD CC 4C 7D
898
+ - Rational(2, 3): AB AA 2A 80
899
+ - Rational(1, 1024): 00 00 00 77
900
+ - Rational(1, 1000): 6F 12 03 77
901
+ - Rational(1024, 1): 00 00 00 8B
902
+ - Rational(1024, 1): 00 00 00 8B
903
+ special:
904
+ - min_value: 00 00 00 01
905
+ - min_normalized_value: 00 00 00 01
906
+ - max_value: FF FF 7F FF
907
+ - epsilon: 00 00 00 6A
908
+ - strict_epsilon: 00 00 00 6A
909
+ numerals:
910
+ - "+0": 00 00 00 00
911
+ - "-0": 00 00 80 00
912
+ - "+1": 00 00 00 81
913
+ - "-1": 00 00 80 81
914
+ - "+0.1": CD CC 4C 7D
915
+ - "-0.1": CD CC CC 7D
916
+ - "0.5": 00 00 00 80
917
+ - "-0.5": 00 00 80 80
918
+ - "29.2": 9A 99 69 85
919
+ - "-29.2": 9A 99 E9 85
920
+ - "0.03125": 00 00 00 7C
921
+ - "-0.03125": 00 00 80 7C
922
+ - "-0.3125": 00 00 A0 7F
923
+ - 1.234E2: CD CC 76 87
924
+ - "-1.234E-6": EB 9F A5 6D
925
+ - "65536.0": 00 00 00 91
926
+ - "-65536.0": 00 00 80 91
927
+ - "-7.50": 00 00 F0 83
928
+ - "2.93873588E-39": 00 00 00 01
929
+ - 1.70141173E38: FF FF 7F FF
930
+ - "1.1920929E-7": 00 00 00 6A
931
+ - "1.1920929E-7": 00 00 00 6A
932
+ base: :bytes
933
+ HP_CLASSIC:
934
+ parameters:
935
+ - total_bits: 56
936
+ - radix: 10
937
+ - significand_digits: 10
938
+ - radix_min_exp: -99
939
+ - radix_max_exp: 99
940
+ - decimal_digits_stored: 10
941
+ - decimal_digits_necessary: 10
942
+ - decimal_min_exp: -99
943
+ - decimal_max_exp: 99
944
+ values:
945
+ - Rational(1, 3): 03 33 33 33 33 39 99
946
+ - Rational(1, 10): 01 00 00 00 00 09 99
947
+ - Rational(2, 3): 06 66 66 66 66 79 99
948
+ - Rational(1, 1024): 09 76 56 25 00 09 96
949
+ - Rational(1, 1000): 01 00 00 00 00 09 97
950
+ - Rational(1024, 1): 01 02 40 00 00 00 03
951
+ - Rational(1024, 1): 01 02 40 00 00 00 03
952
+ special:
953
+ - min_value: 01 00 00 00 00 09 01
954
+ - min_normalized_value: 01 00 00 00 00 09 01
955
+ - max_value: 09 99 99 99 99 90 99
956
+ - epsilon: 01 00 00 00 00 09 91
957
+ - strict_epsilon: 05 00 00 00 00 09 90
958
+ numerals:
959
+ - "+0": 00 00 00 00 00 00 00
960
+ - "-0": 90 00 00 00 00 00 00
961
+ - "+1": 01 00 00 00 00 00 00
962
+ - "-1": 91 00 00 00 00 00 00
963
+ - "+0.1": 01 00 00 00 00 09 99
964
+ - "-0.1": 91 00 00 00 00 09 99
965
+ - "0.5": 05 00 00 00 00 09 99
966
+ - "-0.5": 95 00 00 00 00 09 99
967
+ - "29.2": 02 92 00 00 00 00 01
968
+ - "-29.2": 92 92 00 00 00 00 01
969
+ - "0.03125": 03 12 50 00 00 09 98
970
+ - "-0.03125": 93 12 50 00 00 09 98
971
+ - "-0.3125": 93 12 50 00 00 09 99
972
+ - 1.234E2: 01 23 40 00 00 00 02
973
+ - "-1.234E-6": 91 23 40 00 00 09 94
974
+ - "65536.0": 06 55 36 00 00 00 04
975
+ - "-65536.0": 96 55 36 00 00 00 04
976
+ - "-7.50": 97 50 00 00 00 00 00
977
+ - 1E-99: 01 00 00 00 00 09 01
978
+ - 9.999999999E99: 09 99 99 99 99 90 99
979
+ - 1E-9: 01 00 00 00 00 09 91
980
+ - 5E-10: 05 00 00 00 00 09 90
981
+ base: :bytes
982
+ C51_BCD_LONG_DOUBLE:
983
+ parameters:
984
+ - total_bits: 56
985
+ - radix: 10
986
+ - significand_digits: 12
987
+ - radix_min_exp: -65
988
+ - radix_max_exp: 62
989
+ - decimal_digits_stored: 12
990
+ - decimal_digits_necessary: 12
991
+ - decimal_min_exp: -65
992
+ - decimal_max_exp: 62
993
+ values:
994
+ - Rational(1, 3): 40 33 33 33 33 33 33
995
+ - Rational(1, 10): 40 00 00 00 00 00 10
996
+ - Rational(2, 3): 40 67 66 66 66 66 66
997
+ - Rational(1, 1024): 3D 00 00 50 62 65 97
998
+ - Rational(1, 1000): 3E 00 00 00 00 00 10
999
+ - Rational(1024, 1): 44 00 00 00 00 24 10
1000
+ - Rational(1024, 1): 44 00 00 00 00 24 10
1001
+ special:
1002
+ - min_value: 00 00 00 00 00 00 10
1003
+ - min_normalized_value: 00 00 00 00 00 00 10
1004
+ - max_value: 7F 99 99 99 99 99 99
1005
+ - epsilon: 36 00 00 00 00 00 10
1006
+ - strict_epsilon: 36 00 00 00 00 00 10
1007
+ numerals:
1008
+ - "+0": 00 00 00 00 00 00 00
1009
+ - "-0": 80 00 00 00 00 00 00
1010
+ - "+1": 41 00 00 00 00 00 10
1011
+ - "-1": C1 00 00 00 00 00 10
1012
+ - "+0.1": 40 00 00 00 00 00 10
1013
+ - "-0.1": C0 00 00 00 00 00 10
1014
+ - "0.5": 40 00 00 00 00 00 50
1015
+ - "-0.5": C0 00 00 00 00 00 50
1016
+ - "29.2": 42 00 00 00 00 20 29
1017
+ - "-29.2": C2 00 00 00 00 20 29
1018
+ - "0.03125": 3F 00 00 00 00 25 31
1019
+ - "-0.03125": BF 00 00 00 00 25 31
1020
+ - "-0.3125": C0 00 00 00 00 25 31
1021
+ - 1.234E2: 43 00 00 00 00 34 12
1022
+ - "-1.234E-6": BB 00 00 00 00 34 12
1023
+ - "65536.0": 45 00 00 00 60 53 65
1024
+ - "-65536.0": C5 00 00 00 60 53 65
1025
+ - "-7.50": C1 00 00 00 00 00 75
1026
+ - 1E-65: 00 00 00 00 00 00 10
1027
+ - 9.99999999999E62: 7F 99 99 99 99 99 99
1028
+ - 1E-11: 36 00 00 00 00 00 10
1029
+ - 1E-11: 36 00 00 00 00 00 10
1030
+ base: :bytes
1031
+ IEEE_DEC128:
1032
+ parameters:
1033
+ - total_bits: 128
1034
+ - radix: 10
1035
+ - significand_digits: 34
1036
+ - radix_min_exp: -6143
1037
+ - radix_max_exp: 6144
1038
+ - decimal_digits_stored: 34
1039
+ - decimal_digits_necessary: 34
1040
+ - decimal_min_exp: -6143
1041
+ - decimal_max_exp: 6144
1042
+ values:
1043
+ - Rational(1, 3): 2D FF 9B 36 CD B3 6C DB 36 CD B3 6C DB 36 CD B3
1044
+ - Rational(1, 10): 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1045
+ - Rational(2, 3): 39 FF B6 6D 9B 66 D9 B6 6D 9B 66 D9 B6 6D 9B 67
1046
+ - Rational(1, 1024): 22 05 80 00 00 00 00 00 00 00 00 00 00 9F 97 25
1047
+ - Rational(1, 1000): 22 07 40 00 00 00 00 00 00 00 00 00 00 00 00 01
1048
+ - Rational(1024, 1): 22 08 00 00 00 00 00 00 00 00 00 00 00 00 04 24
1049
+ - Rational(1024, 1): 22 08 00 00 00 00 00 00 00 00 00 00 00 00 04 24
1050
+ special:
1051
+ - min_value: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1052
+ - min_normalized_value: 00 08 40 00 00 00 00 00 00 00 00 00 00 00 00 01
1053
+ - max_value: 77 FF CF F3 FC FF 3F CF F3 FC FF 3F CF F3 FC FF
1054
+ - epsilon: 25 F7 80 00 00 00 00 00 00 00 00 00 00 00 00 00
1055
+ - strict_epsilon: 25 F7 80 00 00 00 00 00 00 00 00 00 00 00 00 00
1056
+ numerals:
1057
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1058
+ - "-0": 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1059
+ - "+1": 22 08 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1060
+ - "-1": A2 08 00 00 00 00 00 00 00 00 00 00 00 00 00 01
1061
+ - "+0.1": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1062
+ - "-0.1": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1063
+ - "0.5": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 05
1064
+ - "-0.5": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 05
1065
+ - "29.2": 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 01 3A
1066
+ - "-29.2": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 01 3A
1067
+ - "0.03125": 22 06 C0 00 00 00 00 00 00 00 00 00 00 00 0C A5
1068
+ - "-0.03125": A2 06 C0 00 00 00 00 00 00 00 00 00 00 00 0C A5
1069
+ - "-0.3125": A2 07 00 00 00 00 00 00 00 00 00 00 00 00 0C A5
1070
+ - 1.234E2: 22 07 C0 00 00 00 00 00 00 00 00 00 00 00 05 34
1071
+ - "-1.234E-6": A2 05 C0 00 00 00 00 00 00 00 00 00 00 00 05 34
1072
+ - "65536.0": 22 08 00 00 00 00 00 00 00 00 00 00 00 01 96 B6
1073
+ - "-65536.0": A2 08 00 00 00 00 00 00 00 00 00 00 00 01 96 B6
1074
+ - "-7.50": A2 07 C0 00 00 00 00 00 00 00 00 00 00 00 00 75
1075
+ - 1E-6143: 00 08 40 00 00 00 00 00 00 00 00 00 00 00 00 01
1076
+ - 9.999999999999999999999999999999999E6144: 77 FF CF F3 FC FF 3F CF F3 FC FF 3F CF F3 FC FF
1077
+ - 1E-33: 21 FF C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1078
+ - 1E-33: 21 FF C0 00 00 00 00 00 00 00 00 00 00 00 00 01
1079
+ base: :bytes
1080
+ XS256:
1081
+ parameters:
1082
+ - total_bits: 32
1083
+ - radix: 2
1084
+ - significand_digits: 23
1085
+ - radix_min_exp: -256
1086
+ - radix_max_exp: 255
1087
+ - decimal_digits_stored: 6
1088
+ - decimal_digits_necessary: 8
1089
+ - decimal_min_exp: -76
1090
+ - decimal_max_exp: 77
1091
+ values:
1092
+ - Rational(1, 3): 3F 95 55 55
1093
+ - Rational(1, 10): 3F 26 66 66
1094
+ - Rational(2, 3): 3F D5 55 55
1095
+ - Rational(1, 1024): 3D 80 00 00
1096
+ - Rational(1, 1000): 3D 81 89 37
1097
+ - Rational(1024, 1): 42 80 00 00
1098
+ - Rational(1024, 1): 42 80 00 00
1099
+ special:
1100
+ - min_value: 00 00 00 01
1101
+ - min_normalized_value: 00 00 00 01
1102
+ - max_value: 7F FF FF FF
1103
+ - epsilon: 3A 80 00 00
1104
+ - strict_epsilon: 3A 40 00 00
1105
+ numerals:
1106
+ - "+0": 00 00 00 00
1107
+ - "-0": 80 00 00 00
1108
+ - "+1": 40 00 00 00
1109
+ - "-1": C0 00 00 00
1110
+ - "+0.1": 3F 26 66 66
1111
+ - "-0.1": BF 26 66 66
1112
+ - "0.5": 3F C0 00 00
1113
+ - "-0.5": BF C0 00 00
1114
+ - "29.2": 41 34 CC CD
1115
+ - "-29.2": C1 34 CC CD
1116
+ - "0.03125": 3E C0 00 00
1117
+ - "-0.03125": BE C0 00 00
1118
+ - "-0.3125": BF 90 00 00
1119
+ - 1.234E2: 41 BB 66 66
1120
+ - "-1.234E-6": BB 12 CF F5
1121
+ - "65536.0": 44 00 00 00
1122
+ - "-65536.0": C4 00 00 00
1123
+ - "-7.50": C0 B8 00 00
1124
+ - "8.6361706E-78": 00 00 00 00
1125
+ - 1.1579208E77: 7F FF FF FF
1126
+ - "2.3841858E-7": 3A 80 00 00
1127
+ - "1.1920929E-7": 3A 40 00 00
1128
+ base: :bytes
1129
+ IEEE_EXTENDED:
1130
+ parameters:
1131
+ - total_bits: 80
1132
+ - radix: 2
1133
+ - significand_digits: 64
1134
+ - radix_min_exp: -16382
1135
+ - radix_max_exp: 16383
1136
+ - decimal_digits_stored: 18
1137
+ - decimal_digits_necessary: 21
1138
+ - decimal_min_exp: -4931
1139
+ - decimal_max_exp: 4932
1140
+ values:
1141
+ - Rational(1, 3): AB AA AA AA AA AA AA AA FD 3F
1142
+ - Rational(1, 10): CD CC CC CC CC CC CC CC FB 3F
1143
+ - Rational(2, 3): AB AA AA AA AA AA AA AA FE 3F
1144
+ - Rational(1, 1024): 00 00 00 00 00 00 00 80 F5 3F
1145
+ - Rational(1, 1000): 3B DF 4F 8D 97 6E 12 83 F5 3F
1146
+ - Rational(1024, 1): 00 00 00 00 00 00 00 80 09 40
1147
+ - Rational(1024, 1): 00 00 00 00 00 00 00 80 09 40
1148
+ special:
1149
+ - min_value: 01 00 00 00 00 00 00 00 00 00
1150
+ - min_normalized_value: 00 00 00 00 00 00 00 80 01 00
1151
+ - max_value: FF FF FF FF FF FF FF FF FE 7F
1152
+ - epsilon: 00 00 00 00 00 00 00 80 C0 3F
1153
+ - strict_epsilon: 01 00 00 00 00 00 00 80 BF 3F
1154
+ numerals:
1155
+ - "+0": 00 00 00 00 00 00 00 00 00 00
1156
+ - "-0": 00 00 00 00 00 00 00 00 00 80
1157
+ - "+1": 00 00 00 00 00 00 00 80 FF 3F
1158
+ - "-1": 00 00 00 00 00 00 00 80 FF BF
1159
+ - "+0.1": CD CC CC CC CC CC CC CC FB 3F
1160
+ - "-0.1": CD CC CC CC CC CC CC CC FB BF
1161
+ - "0.5": 00 00 00 00 00 00 00 80 FE 3F
1162
+ - "-0.5": 00 00 00 00 00 00 00 80 FE BF
1163
+ - "29.2": 9A 99 99 99 99 99 99 E9 03 40
1164
+ - "-29.2": 9A 99 99 99 99 99 99 E9 03 C0
1165
+ - "0.03125": 00 00 00 00 00 00 00 80 FA 3F
1166
+ - "-0.03125": 00 00 00 00 00 00 00 80 FA BF
1167
+ - "-0.3125": 00 00 00 00 00 00 00 A0 FD BF
1168
+ - 1.234E2: CD CC CC CC CC CC CC F6 05 40
1169
+ - "-1.234E-6": 8D B1 6C 16 CA EA 9F A5 EB BF
1170
+ - "65536.0": 00 00 00 00 00 00 00 80 0F 40
1171
+ - "-65536.0": 00 00 00 00 00 00 00 80 0F C0
1172
+ - "-7.50": 00 00 00 00 00 00 00 F0 01 C0
1173
+ - "3.36210314311209350626E-4932": 00 00 00 00 00 00 00 80 01 00
1174
+ - 1.18973149535723176502E4932: FF FF FF FF FF FF FF FF FE 7F
1175
+ - "1.08420217248550443401E-19": 00 00 00 00 00 00 00 80 C0 3F
1176
+ - "5.42101086242752217063E-20": 01 00 00 00 00 00 00 80 BF 3F
1177
+ base: :bytes
1178
+ WANG2200:
1179
+ parameters:
1180
+ - total_bits: 64
1181
+ - radix: 10
1182
+ - significand_digits: 13
1183
+ - radix_min_exp: -99
1184
+ - radix_max_exp: 99
1185
+ - decimal_digits_stored: 13
1186
+ - decimal_digits_necessary: 13
1187
+ - decimal_min_exp: -99
1188
+ - decimal_max_exp: 99
1189
+ values:
1190
+ - Rational(1, 3): 33 33 33 33 33 33 03 81
1191
+ - Rational(1, 10): 00 00 00 00 00 00 01 81
1192
+ - Rational(2, 3): 67 66 66 66 66 66 06 81
1193
+ - Rational(1, 1024): 00 00 00 25 56 76 09 84
1194
+ - Rational(1, 1000): 00 00 00 00 00 00 01 83
1195
+ - Rational(1024, 1): 00 00 00 00 40 02 01 03
1196
+ - Rational(1024, 1): 00 00 00 00 40 02 01 03
1197
+ special:
1198
+ - min_value: 00 00 00 00 00 00 91 89
1199
+ - min_normalized_value: 00 00 00 00 00 00 91 89
1200
+ - max_value: 99 99 99 99 99 99 99 09
1201
+ - epsilon: 00 00 00 00 00 00 11 82
1202
+ - strict_epsilon: 00 00 00 00 00 00 11 82
1203
+ numerals:
1204
+ - "+0": 00 00 00 00 00 00 00 00
1205
+ - "-0": 00 00 00 00 00 00 00 10
1206
+ - "+1": 00 00 00 00 00 00 01 00
1207
+ - "-1": 00 00 00 00 00 00 01 10
1208
+ - "+0.1": 00 00 00 00 00 00 01 81
1209
+ - "-0.1": 00 00 00 00 00 00 01 91
1210
+ - "0.5": 00 00 00 00 00 00 05 81
1211
+ - "-0.5": 00 00 00 00 00 00 05 91
1212
+ - "29.2": 00 00 00 00 00 92 02 01
1213
+ - "-29.2": 00 00 00 00 00 92 02 11
1214
+ - "0.03125": 00 00 00 00 50 12 03 82
1215
+ - "-0.03125": 00 00 00 00 50 12 03 92
1216
+ - "-0.3125": 00 00 00 00 50 12 03 91
1217
+ - 1.234E2: 00 00 00 00 40 23 01 02
1218
+ - "-1.234E-6": 00 00 00 00 40 23 01 96
1219
+ - "65536.0": 00 00 00 00 36 55 06 04
1220
+ - "-65536.0": 00 00 00 00 36 55 06 14
1221
+ - "-7.50": 00 00 00 00 00 50 07 10
1222
+ - 1E-99: 00 00 00 00 00 00 91 89
1223
+ - 9.999999999999E99: 99 99 99 99 99 99 99 09
1224
+ - 1E-12: 00 00 00 00 00 00 11 82
1225
+ - 1E-12: 00 00 00 00 00 00 11 82
1226
+ base: :bytes
1227
+ CRAY:
1228
+ parameters:
1229
+ - total_bits: 64
1230
+ - radix: 2
1231
+ - significand_digits: 48
1232
+ - radix_min_exp: -8193
1233
+ - radix_max_exp: 8190
1234
+ - decimal_digits_stored: 14
1235
+ - decimal_digits_necessary: 16
1236
+ - decimal_min_exp: -2466
1237
+ - decimal_max_exp: 2466
1238
+ values:
1239
+ - Rational(1, 3): 3F FF AA AA AA AA AA AB
1240
+ - Rational(1, 10): 3F FD CC CC CC CC CC CD
1241
+ - Rational(2, 3): 40 00 AA AA AA AA AA AB
1242
+ - Rational(1, 1024): 3F F7 80 00 00 00 00 00
1243
+ - Rational(1, 1000): 3F F7 83 12 6E 97 8D 50
1244
+ - Rational(1024, 1): 40 0B 80 00 00 00 00 00
1245
+ - Rational(1024, 1): 40 0B 80 00 00 00 00 00
1246
+ special:
1247
+ - min_value: 20 00 80 00 00 00 00 00
1248
+ - min_normalized_value: 20 00 80 00 00 00 00 00
1249
+ - max_value: 5F FF FF FF FF FF FF FF
1250
+ - epsilon: 3F D2 80 00 00 00 00 00
1251
+ - strict_epsilon: 3F D2 80 00 00 00 00 00
1252
+ numerals:
1253
+ - "+0": 00 00 00 00 00 00 00 00
1254
+ - "-0": 80 00 00 00 00 00 00 00
1255
+ - "+1": 40 01 80 00 00 00 00 00
1256
+ - "-1": C0 01 80 00 00 00 00 00
1257
+ - "+0.1": 3F FD CC CC CC CC CC CD
1258
+ - "-0.1": BF FD CC CC CC CC CC CD
1259
+ - "0.5": 40 00 80 00 00 00 00 00
1260
+ - "-0.5": C0 00 80 00 00 00 00 00
1261
+ - "29.2": 40 05 E9 99 99 99 99 9A
1262
+ - "-29.2": C0 05 E9 99 99 99 99 9A
1263
+ - "0.03125": 3F FC 80 00 00 00 00 00
1264
+ - "-0.03125": BF FC 80 00 00 00 00 00
1265
+ - "-0.3125": BF FF A0 00 00 00 00 00
1266
+ - 1.234E2: 40 07 F6 CC CC CC CC CD
1267
+ - "-1.234E-6": BF ED A5 9F EA CA 16 6D
1268
+ - "65536.0": 40 11 80 00 00 00 00 00
1269
+ - "-65536.0": C0 11 80 00 00 00 00 00
1270
+ - "-7.50": C0 03 F0 00 00 00 00 00
1271
+ - "4.584009668887118E-2467": 20 00 80 00 00 00 00 00
1272
+ - 5.45374067809706E2465: 5F FF FF FF FF FF FF FF
1273
+ - "7.105427357601002E-15": 3F D2 80 00 00 00 00 00
1274
+ - "7.105427357601002E-15": 3F D2 80 00 00 00 00 00
1275
+ base: :bytes
1276
+ IBM128:
1277
+ parameters:
1278
+ - total_bits: 128
1279
+ - radix: 16
1280
+ - significand_digits: 28
1281
+ - radix_min_exp: -51
1282
+ - radix_max_exp: 62
1283
+ - decimal_digits_stored: 32
1284
+ - decimal_digits_necessary: 35
1285
+ - decimal_min_exp: -60
1286
+ - decimal_max_exp: 77
1287
+ values:
1288
+ - Rational(1, 3): 40 55 55 55 55 55 55 55 32 55 55 55 55 55 55 55
1289
+ - Rational(1, 10): 40 19 99 99 99 99 99 99 32 99 99 99 99 99 99 9A
1290
+ - Rational(2, 3): 40 AA AA AA AA AA AA AA 32 AA AA AA AA AA AA AB
1291
+ - Rational(1, 1024): 3E 40 00 00 00 00 00 00 30 00 00 00 00 00 00 00
1292
+ - Rational(1, 1000): 3E 41 89 37 4B C6 A7 EF 30 9D B2 2D 0E 56 04 19
1293
+ - Rational(1024, 1): 43 40 00 00 00 00 00 00 35 00 00 00 00 00 00 00
1294
+ - Rational(1024, 1): 43 40 00 00 00 00 00 00 35 00 00 00 00 00 00 00
1295
+ special:
1296
+ - min_value: 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1297
+ - min_normalized_value: 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1298
+ - max_value: 7F FF FF FF FF FF FF FF 7F FF FF FF FF FF FF FF
1299
+ - epsilon: 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1300
+ - strict_epsilon: 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1301
+ numerals:
1302
+ - "+0": 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1303
+ - "-0": 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00
1304
+ - "+1": 41 10 00 00 00 00 00 00 33 00 00 00 00 00 00 00
1305
+ - "-1": C1 10 00 00 00 00 00 00 B3 00 00 00 00 00 00 00
1306
+ - "+0.1": 40 19 99 99 99 99 99 99 32 99 99 99 99 99 99 9A
1307
+ - "-0.1": C0 19 99 99 99 99 99 99 B2 99 99 99 99 99 99 9A
1308
+ - "0.5": 40 80 00 00 00 00 00 00 32 00 00 00 00 00 00 00
1309
+ - "-0.5": C0 80 00 00 00 00 00 00 B2 00 00 00 00 00 00 00
1310
+ - "29.2": 42 1D 33 33 33 33 33 33 34 33 33 33 33 33 33 33
1311
+ - "-29.2": C2 1D 33 33 33 33 33 33 B4 33 33 33 33 33 33 33
1312
+ - "0.03125": 3F 80 00 00 00 00 00 00 31 00 00 00 00 00 00 00
1313
+ - "-0.03125": BF 80 00 00 00 00 00 00 B1 00 00 00 00 00 00 00
1314
+ - "-0.3125": C0 50 00 00 00 00 00 00 B2 00 00 00 00 00 00 00
1315
+ - 1.234E2: 42 7B 66 66 66 66 66 66 34 66 66 66 66 66 66 66
1316
+ - "-1.234E-6": BC 14 B3 FD 59 42 CD 96 AE 31 96 61 3C 16 41 F2
1317
+ - "65536.0": 45 10 00 00 00 00 00 00 37 00 00 00 00 00 00 00
1318
+ - "-65536.0": C5 10 00 00 00 00 00 00 B7 00 00 00 00 00 00 00
1319
+ - "-7.50": C1 78 00 00 00 00 00 00 B3 00 00 00 00 00 00 00
1320
+ - "3.8893845486632135669650400336125777E-62": 0E 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1321
+ - 7.2370055773322622139731865630429928E75: 7F FF FF FF FF FF FF FF 7F FF FF FF FF FF FF FF
1322
+ - "3.0814879110195773648895647081358837E-33": 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1323
+ - "3.0814879110195773648895647081358837E-33": 26 10 00 00 00 00 00 00 18 00 00 00 00 00 00 00
1324
+ base: :bytes
1325
+ IEEE_DEC64:
1326
+ parameters:
1327
+ - total_bits: 64
1328
+ - radix: 10
1329
+ - significand_digits: 16
1330
+ - radix_min_exp: -383
1331
+ - radix_max_exp: 384
1332
+ - decimal_digits_stored: 16
1333
+ - decimal_digits_necessary: 16
1334
+ - decimal_min_exp: -383
1335
+ - decimal_max_exp: 384
1336
+ values:
1337
+ - Rational(1, 3): 2D F9 B3 6C DB 36 CD B3
1338
+ - Rational(1, 10): 22 34 00 00 00 00 00 01
1339
+ - Rational(2, 3): 39 FB 66 D9 B6 6D 9B 67
1340
+ - Rational(1, 1024): 22 10 00 00 00 9F 97 25
1341
+ - Rational(1, 1000): 22 2C 00 00 00 00 00 01
1342
+ - Rational(1024, 1): 22 38 00 00 00 00 04 24
1343
+ - Rational(1024, 1): 22 38 00 00 00 00 04 24
1344
+ special:
1345
+ - min_value: 00 00 00 00 00 00 00 01
1346
+ - min_normalized_value: 00 3C 00 00 00 00 00 01
1347
+ - max_value: 77 FC FF 3F CF F3 FC FF
1348
+ - epsilon: 25 C0 00 00 00 00 00 00
1349
+ - strict_epsilon: 25 C0 00 00 00 00 00 00
1350
+ numerals:
1351
+ - "+0": 00 00 00 00 00 00 00 00
1352
+ - "-0": 80 00 00 00 00 00 00 00
1353
+ - "+1": 22 38 00 00 00 00 00 01
1354
+ - "-1": A2 38 00 00 00 00 00 01
1355
+ - "+0.1": 22 34 00 00 00 00 00 01
1356
+ - "-0.1": A2 34 00 00 00 00 00 01
1357
+ - "0.5": 22 34 00 00 00 00 00 05
1358
+ - "-0.5": A2 34 00 00 00 00 00 05
1359
+ - "29.2": 22 34 00 00 00 00 01 3A
1360
+ - "-29.2": A2 34 00 00 00 00 01 3A
1361
+ - "0.03125": 22 24 00 00 00 00 0C A5
1362
+ - "-0.03125": A2 24 00 00 00 00 0C A5
1363
+ - "-0.3125": A2 28 00 00 00 00 0C A5
1364
+ - 1.234E2: 22 34 00 00 00 00 05 34
1365
+ - "-1.234E-6": A2 14 00 00 00 00 05 34
1366
+ - "65536.0": 22 38 00 00 00 01 96 B6
1367
+ - "-65536.0": A2 38 00 00 00 01 96 B6
1368
+ - "-7.50": A2 34 00 00 00 00 00 75
1369
+ - 1E-383: 00 3C 00 00 00 00 00 01
1370
+ - 9.999999999999999E384: 77 FC FF 3F CF F3 FC FF
1371
+ - 1E-15: 21 FC 00 00 00 00 00 01
1372
+ - 1E-15: 21 FC 00 00 00 00 00 01
1373
+ base: :bytes
1374
+ APPLE:
1375
+ parameters:
1376
+ - total_bits: 32
1377
+ - radix: 2
1378
+ - significand_digits: 23
1379
+ - radix_min_exp: -128
1380
+ - radix_max_exp: 127
1381
+ - decimal_digits_stored: 6
1382
+ - decimal_digits_necessary: 8
1383
+ - decimal_min_exp: -38
1384
+ - decimal_max_exp: 38
1385
+ values:
1386
+ - Rational(1, 3): 7E 55 55 55
1387
+ - Rational(1, 10): 7C 66 66 66
1388
+ - Rational(2, 3): 7F 55 55 55
1389
+ - Rational(1, 1024): 76 40 00 00
1390
+ - Rational(1, 1000): 76 41 89 37
1391
+ - Rational(1024, 1): 8A 40 00 00
1392
+ - Rational(1024, 1): 8A 40 00 00
1393
+ special:
1394
+ - min_value: 00 00 00 01
1395
+ - min_normalized_value: 00 40 00 00
1396
+ - max_value: FF 7F FF FF
1397
+ - epsilon: 6A 40 00 00
1398
+ - strict_epsilon: 6A 40 00 00
1399
+ numerals:
1400
+ - "+0": 00 00 00 00
1401
+ - "-0": 00 80 00 00
1402
+ - "+1": 80 40 00 00
1403
+ - "-1": 7F 80 00 00
1404
+ - "+0.1": 7C 66 66 66
1405
+ - "-0.1": 7C 99 99 9A
1406
+ - "0.5": 7F 40 00 00
1407
+ - "-0.5": 7E 80 00 00
1408
+ - "29.2": 84 74 CC CD
1409
+ - "-29.2": 84 8B 33 33
1410
+ - "0.03125": 7B 40 00 00
1411
+ - "-0.03125": 7A 80 00 00
1412
+ - "-0.3125": 7E B0 00 00
1413
+ - 1.234E2: 86 7B 66 66
1414
+ - "-1.234E-6": 6C AD 30 0B
1415
+ - "65536.0": 90 40 00 00
1416
+ - "-65536.0": 8F 80 00 00
1417
+ - "-7.50": 82 88 00 00
1418
+ - "5.8774718E-39": 01 40 00 00
1419
+ - 3.4028233E38: FF 7F FF FF
1420
+ - "2.3841858E-7": 6A 40 00 00
1421
+ - "2.3841858E-7": 6A 40 00 00
1422
+ base: :bytes
1423
+ IEEE_DEC32:
1424
+ parameters:
1425
+ - total_bits: 32
1426
+ - radix: 10
1427
+ - significand_digits: 7
1428
+ - radix_min_exp: -95
1429
+ - radix_max_exp: 96
1430
+ - decimal_digits_stored: 7
1431
+ - decimal_digits_necessary: 7
1432
+ - decimal_min_exp: -95
1433
+ - decimal_max_exp: 96
1434
+ values:
1435
+ - Rational(1, 3): 2D E6 CD B3
1436
+ - Rational(1, 10): 22 40 00 01
1437
+ - Rational(2, 3): 39 ED 9B 67
1438
+ - Rational(1, 1024): 6D BF 97 25
1439
+ - Rational(1, 1000): 22 20 00 01
1440
+ - Rational(1024, 1): 22 50 04 24
1441
+ - Rational(1024, 1): 22 50 04 24
1442
+ special:
1443
+ - min_value: 00 00 00 01
1444
+ - min_normalized_value: 00 60 00 01
1445
+ - max_value: 77 F3 FC FF
1446
+ - epsilon: 25 90 00 00
1447
+ - strict_epsilon: 25 90 00 00
1448
+ numerals:
1449
+ - "+0": 00 00 00 00
1450
+ - "-0": 80 00 00 00
1451
+ - "+1": 22 50 00 01
1452
+ - "-1": A2 50 00 01
1453
+ - "+0.1": 22 40 00 01
1454
+ - "-0.1": A2 40 00 01
1455
+ - "0.5": 22 40 00 05
1456
+ - "-0.5": A2 40 00 05
1457
+ - "29.2": 22 40 01 3A
1458
+ - "-29.2": A2 40 01 3A
1459
+ - "0.03125": 22 00 0C A5
1460
+ - "-0.03125": A2 00 0C A5
1461
+ - "-0.3125": A2 10 0C A5
1462
+ - 1.234E2: 22 40 05 34
1463
+ - "-1.234E-6": A1 C0 05 34
1464
+ - "65536.0": 22 51 96 B6
1465
+ - "-65536.0": A2 51 96 B6
1466
+ - "-7.50": A2 40 00 75
1467
+ - 1E-95: 00 60 00 01
1468
+ - 9.999999E96: 77 F3 FC FF
1469
+ - 1E-6: 21 F0 00 01
1470
+ - 1E-6: 21 F0 00 01
1471
+ base: :bytes
1472
+ CDC_SINGLE:
1473
+ parameters:
1474
+ - total_bits: 60
1475
+ - radix: 2
1476
+ - significand_digits: 48
1477
+ - radix_min_exp: -976
1478
+ - radix_max_exp: 1070
1479
+ - decimal_digits_stored: 14
1480
+ - decimal_digits_necessary: 16
1481
+ - decimal_min_exp: -293
1482
+ - decimal_max_exp: 322
1483
+ values:
1484
+ - Rational(1, 3): 3CEAAAAAAAAAAAB
1485
+ - Rational(1, 10): 3CCCCCCCCCCCCCD
1486
+ - Rational(2, 3): 3CFAAAAAAAAAAAB
1487
+ - Rational(1, 1024): 3C6800000000000
1488
+ - Rational(1, 1000): 3C683126E978D50
1489
+ - Rational(1024, 1): 3DA800000000000
1490
+ - Rational(1024, 1): 3DA800000000000
1491
+ special:
1492
+ - min_value: 000800000000000
1493
+ - min_normalized_value: 000800000000000
1494
+ - max_value: 7FFFFFFFFFFFFFF
1495
+ - epsilon: 3A1800000000000
1496
+ - strict_epsilon: 3A1800000000000
1497
+ numerals:
1498
+ - "+0": "000000000000000"
1499
+ - "-0": FFFFFFFFFFFFFFF
1500
+ - "+1": 3D0800000000000
1501
+ - "-1": C2F7FFFFFFFFFFF
1502
+ - "+0.1": 3CCCCCCCCCCCCCD
1503
+ - "-0.1": C33333333333332
1504
+ - "0.5": 3CF800000000000
1505
+ - "-0.5": C307FFFFFFFFFFF
1506
+ - "29.2": 3D4E9999999999A
1507
+ - "-29.2": C2B166666666665
1508
+ - "0.03125": 3CB800000000000
1509
+ - "-0.03125": C347FFFFFFFFFFF
1510
+ - "-0.3125": C315FFFFFFFFFFF
1511
+ - 1.234E2: 3D6F6CCCCCCCCCD
1512
+ - "-1.234E-6": C435A601535E992
1513
+ - "65536.0": 3E0800000000000
1514
+ - "-65536.0": C1F7FFFFFFFFFFF
1515
+ - "-7.50": C2D0FFFFFFFFFFF
1516
+ - "1.56575653125701E-294": 000800000000000
1517
+ - 2.530028166341374E322: 7FFFFFFFFFFFFFF
1518
+ - "7.105427357601002E-15": 3A1800000000000
1519
+ - "7.105427357601002E-15": 3A1800000000000
1520
+ base: 16
1521
+ UNIVAC_SINGLE:
1522
+ parameters:
1523
+ - total_bits: 36
1524
+ - radix: 2
1525
+ - significand_digits: 27
1526
+ - radix_min_exp: -129
1527
+ - radix_max_exp: 126
1528
+ - decimal_digits_stored: 7
1529
+ - decimal_digits_necessary: 10
1530
+ - decimal_min_exp: -38
1531
+ - decimal_max_exp: 38
1532
+ values:
1533
+ - Rational(1, 3): 3FD555555
1534
+ - Rational(1, 10): 3EE666666
1535
+ - Rational(2, 3): "405555555"
1536
+ - Rational(1, 1024): 3BC000000
1537
+ - Rational(1, 1000): 3BC189375
1538
+ - Rational(1024, 1): 45C000000
1539
+ - Rational(1024, 1): 45C000000
1540
+ special:
1541
+ - min_value: "004000000"
1542
+ - min_normalized_value: "004000000"
1543
+ - max_value: 7FFFFFFFF
1544
+ - epsilon: 33C000000
1545
+ - strict_epsilon: 33C000000
1546
+ numerals:
1547
+ - "+0": "000000000"
1548
+ - "-0": FFFFFFFFF
1549
+ - "+1": 40C000000
1550
+ - "-1": BF3FFFFFF
1551
+ - "+0.1": 3EE666666
1552
+ - "-0.1": C11999999
1553
+ - "0.5": "404000000"
1554
+ - "-0.5": BFBFFFFFF
1555
+ - "29.2": 42F4CCCCD
1556
+ - "-29.2": BD0B33332
1557
+ - "0.03125": 3E4000000
1558
+ - "-0.03125": C1BFFFFFF
1559
+ - "-0.3125": C02FFFFFF
1560
+ - 1.234E2: 43FB66666
1561
+ - "-1.234E-6": C92D300A9
1562
+ - "65536.0": 48C000000
1563
+ - "-65536.0": B73FFFFFF
1564
+ - "-7.50": BE07FFFFF
1565
+ - "1.469367939E-39": "004000000"
1566
+ - 1.701411822E38: 7FFFFFFFF
1567
+ - "1.490116119E-8": 33C000000
1568
+ - "1.490116119E-8": 33C000000
1569
+ base: 16
1570
+ MBF_DOUBLE:
1571
+ parameters:
1572
+ - total_bits: 64
1573
+ - radix: 2
1574
+ - significand_digits: 56
1575
+ - radix_min_exp: -128
1576
+ - radix_max_exp: 126
1577
+ - decimal_digits_stored: 16
1578
+ - decimal_digits_necessary: 18
1579
+ - decimal_min_exp: -38
1580
+ - decimal_max_exp: 38
1581
+ values:
1582
+ - Rational(1, 3): AB AA AA AA AA AA 2A 7F
1583
+ - Rational(1, 10): CD CC CC CC CC CC 4C 7D
1584
+ - Rational(2, 3): AB AA AA AA AA AA 2A 80
1585
+ - Rational(1, 1024): 00 00 00 00 00 00 00 77
1586
+ - Rational(1, 1000): DF 4F 8D 97 6E 12 03 77
1587
+ - Rational(1024, 1): 00 00 00 00 00 00 00 8B
1588
+ - Rational(1024, 1): 00 00 00 00 00 00 00 8B
1589
+ special:
1590
+ - min_value: 00 00 00 00 00 00 00 01
1591
+ - min_normalized_value: 00 00 00 00 00 00 00 01
1592
+ - max_value: FF FF FF FF FF FF 7F FF
1593
+ - epsilon: 00 00 00 00 00 00 00 4A
1594
+ - strict_epsilon: 00 00 00 00 00 00 00 4A
1595
+ numerals:
1596
+ - "+0": 00 00 00 00 00 00 00 00
1597
+ - "-0": 00 00 00 00 00 00 80 00
1598
+ - "+1": 00 00 00 00 00 00 00 81
1599
+ - "-1": 00 00 00 00 00 00 80 81
1600
+ - "+0.1": CD CC CC CC CC CC 4C 7D
1601
+ - "-0.1": CD CC CC CC CC CC CC 7D
1602
+ - "0.5": 00 00 00 00 00 00 00 80
1603
+ - "-0.5": 00 00 00 00 00 00 80 80
1604
+ - "29.2": 9A 99 99 99 99 99 69 85
1605
+ - "-29.2": 9A 99 99 99 99 99 E9 85
1606
+ - "0.03125": 00 00 00 00 00 00 00 7C
1607
+ - "-0.03125": 00 00 00 00 00 00 80 7C
1608
+ - "-0.3125": 00 00 00 00 00 00 A0 7F
1609
+ - 1.234E2: CD CC CC CC CC CC 76 87
1610
+ - "-1.234E-6": B2 6C 16 CA EA 9F A5 6D
1611
+ - "65536.0": 00 00 00 00 00 00 00 91
1612
+ - "-65536.0": 00 00 00 00 00 00 80 91
1613
+ - "-7.50": 00 00 00 00 00 00 F0 83
1614
+ - "2.93873587705571877E-39": 00 00 00 00 00 00 00 01
1615
+ - 1.70141183460469229E38: FF FF FF FF FF FF 7F FF
1616
+ - "2.77555756156289135E-17": 00 00 00 00 00 00 00 4A
1617
+ - "2.77555756156289135E-17": 00 00 00 00 00 00 00 4A
1618
+ base: :bytes
1619
+ BORLAND48:
1620
+ parameters:
1621
+ - total_bits: 48
1622
+ - radix: 2
1623
+ - significand_digits: 40
1624
+ - radix_min_exp: -128
1625
+ - radix_max_exp: 126
1626
+ - decimal_digits_stored: 11
1627
+ - decimal_digits_necessary: 14
1628
+ - decimal_min_exp: -38
1629
+ - decimal_max_exp: 38
1630
+ values:
1631
+ - Rational(1, 3): 7F AB AA AA AA 2A
1632
+ - Rational(1, 10): 7D CD CC CC CC 4C
1633
+ - Rational(2, 3): 80 AB AA AA AA 2A
1634
+ - Rational(1, 1024): 77 00 00 00 00 00
1635
+ - Rational(1, 1000): 77 8D 97 6E 12 03
1636
+ - Rational(1024, 1): 8B 00 00 00 00 00
1637
+ - Rational(1024, 1): 8B 00 00 00 00 00
1638
+ special:
1639
+ - min_value: 01 00 00 00 00 00
1640
+ - min_normalized_value: 01 00 00 00 00 00
1641
+ - max_value: FF FF FF FF FF 7F
1642
+ - epsilon: 5A 00 00 00 00 00
1643
+ - strict_epsilon: 5A 00 00 00 00 00
1644
+ numerals:
1645
+ - "+0": 00 00 00 00 00 00
1646
+ - "-0": 00 00 00 00 00 80
1647
+ - "+1": 81 00 00 00 00 00
1648
+ - "-1": 81 00 00 00 00 80
1649
+ - "+0.1": 7D CD CC CC CC 4C
1650
+ - "-0.1": 7D CD CC CC CC CC
1651
+ - "0.5": 80 00 00 00 00 00
1652
+ - "-0.5": 80 00 00 00 00 80
1653
+ - "29.2": 85 9A 99 99 99 69
1654
+ - "-29.2": 85 9A 99 99 99 E9
1655
+ - "0.03125": 7C 00 00 00 00 00
1656
+ - "-0.03125": 7C 00 00 00 00 80
1657
+ - "-0.3125": 7F 00 00 00 00 A0
1658
+ - 1.234E2: 87 CD CC CC CC 76
1659
+ - "-1.234E-6": 6D 16 CA EA 9F A5
1660
+ - "65536.0": 91 00 00 00 00 00
1661
+ - "-65536.0": 91 00 00 00 00 80
1662
+ - "-7.50": 83 00 00 00 00 F0
1663
+ - "2.9387358770557E-39": 02 00 00 00 00 00
1664
+ - 1.7014118346031E38: FF FF FF FF FF 7F
1665
+ - "1.8189894035459E-12": 5A 00 00 00 00 00
1666
+ - "1.8189894035459E-12": 5A 00 00 00 00 00
1667
+ base: :bytes
1668
+ XS128:
1669
+ parameters:
1670
+ - total_bits: 40
1671
+ - radix: 2
1672
+ - significand_digits: 32
1673
+ - radix_min_exp: -128
1674
+ - radix_max_exp: 126
1675
+ - decimal_digits_stored: 9
1676
+ - decimal_digits_necessary: 11
1677
+ - decimal_min_exp: -38
1678
+ - decimal_max_exp: 38
1679
+ values:
1680
+ - Rational(1, 3): 7F 2A AA AA AB
1681
+ - Rational(1, 10): 7D 4C CC CC CD
1682
+ - Rational(2, 3): 80 2A AA AA AB
1683
+ - Rational(1, 1024): 77 00 00 00 00
1684
+ - Rational(1, 1000): 77 03 12 6E 98
1685
+ - Rational(1024, 1): 8B 00 00 00 00
1686
+ - Rational(1024, 1): 8B 00 00 00 00
1687
+ special:
1688
+ - min_value: 01 00 00 00 00
1689
+ - min_normalized_value: 01 00 00 00 00
1690
+ - max_value: FF 7F FF FF FF
1691
+ - epsilon: 62 00 00 00 00
1692
+ - strict_epsilon: 61 00 00 00 00
1693
+ numerals:
1694
+ - "+0": 00 00 00 00 00
1695
+ - "-0": 00 80 00 00 00
1696
+ - "+1": 81 00 00 00 00
1697
+ - "-1": 81 80 00 00 00
1698
+ - "+0.1": 7D 4C CC CC CD
1699
+ - "-0.1": 7D CC CC CC CD
1700
+ - "0.5": 80 00 00 00 00
1701
+ - "-0.5": 80 80 00 00 00
1702
+ - "29.2": 85 69 99 99 9A
1703
+ - "-29.2": 85 E9 99 99 9A
1704
+ - "0.03125": 7C 00 00 00 00
1705
+ - "-0.03125": 7C 80 00 00 00
1706
+ - "-0.3125": 7F A0 00 00 00
1707
+ - 1.234E2: 87 76 CC CC CD
1708
+ - "-1.234E-6": 6D A5 9F EA CA
1709
+ - "65536.0": 91 00 00 00 00
1710
+ - "-65536.0": 91 80 00 00 00
1711
+ - "-7.50": 83 F0 00 00 00
1712
+ - "2.9387358771E-39": 01 00 00 00 00
1713
+ - 1.7014118342E38: FF 7F FF FF FF
1714
+ - "4.6566128731E-10": 62 00 00 00 00
1715
+ - "2.3283064365E-10": 61 00 00 00 00
1716
+ base: :bytes