numru-units 1.7.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/ChangeLog +31 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +2 -2
- data/README.rdoc +232 -0
- data/Rakefile +1 -38
- data/install.rb +4 -31
- data/lib/numru/units.rb +2 -3505
- data/lib/numru/units/units.rb +3099 -0
- data/lib/numru/units/version.rb +5 -0
- data/numru-units.gemspec +25 -0
- data/src/Makefile +3 -5
- data/src/dcunits.txt +26 -5
- data/src/lex.rb +1 -1
- data/src/rules.rb +2 -2
- data/src/test.rb +8 -8
- data/src/units.racc +422 -419
- data/src/units.rb +648 -1053
- data/src/utab.rb +417 -416
- data/src/version.rb +2 -0
- metadata +48 -63
data/src/units.rb
CHANGED
@@ -1,468 +1,20 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by
|
4
|
-
# from
|
3
|
+
# This file is automatically generated by Racc 1.4.8
|
4
|
+
# from Racc grammer file "".
|
5
5
|
#
|
6
|
-
#
|
7
|
-
# tmp.rb: generated by racc (runtime embedded)
|
8
|
-
#
|
9
|
-
###### racc/parser.rb begin
|
10
|
-
unless $".index 'racc/parser.rb'
|
11
|
-
$".push 'racc/parser.rb'
|
12
|
-
|
13
|
-
#
|
14
|
-
# $Id: units.rb,v 1.24 2011-08-03 09:16:08 horinout Exp $
|
15
|
-
#
|
16
|
-
# Copyright (c) 1999-2005 Minero Aoki
|
17
|
-
#
|
18
|
-
# This program is free software.
|
19
|
-
# You can distribute/modify this program under the same terms of ruby.
|
20
|
-
#
|
21
|
-
# As a special exception, when this code is copied by Racc
|
22
|
-
# into a Racc output file, you may use that output file
|
23
|
-
# without restriction.
|
24
|
-
#
|
25
|
-
|
26
|
-
unless defined?(NotImplementedError)
|
27
|
-
NotImplementedError = NotImplementError
|
28
|
-
end
|
29
|
-
|
30
|
-
module Racc
|
31
|
-
class ParseError < StandardError; end
|
32
|
-
end
|
33
|
-
unless defined?(::ParseError)
|
34
|
-
ParseError = Racc::ParseError
|
35
|
-
end
|
36
|
-
|
37
|
-
module Racc
|
38
|
-
|
39
|
-
unless defined?(Racc_No_Extentions)
|
40
|
-
Racc_No_Extentions = false
|
41
|
-
end
|
42
|
-
|
43
|
-
class Parser
|
44
|
-
|
45
|
-
Racc_Runtime_Version = '1.4.5'
|
46
|
-
Racc_Runtime_Revision = '$Revision: 1.24 $'.split[1]
|
47
|
-
|
48
|
-
Racc_Runtime_Core_Version_R = '1.4.5'
|
49
|
-
Racc_Runtime_Core_Revision_R = '$Revision: 1.24 $'.split[1]
|
50
|
-
begin
|
51
|
-
require 'racc/cparse'
|
52
|
-
# Racc_Runtime_Core_Version_C = (defined in extention)
|
53
|
-
Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2]
|
54
|
-
unless new.respond_to?(:_racc_do_parse_c, true)
|
55
|
-
raise LoadError, 'old cparse.so'
|
56
|
-
end
|
57
|
-
if Racc_No_Extentions
|
58
|
-
raise LoadError, 'selecting ruby version of racc runtime core'
|
59
|
-
end
|
60
|
-
|
61
|
-
Racc_Main_Parsing_Routine = :_racc_do_parse_c
|
62
|
-
Racc_YY_Parse_Method = :_racc_yyparse_c
|
63
|
-
Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_C
|
64
|
-
Racc_Runtime_Core_Revision = Racc_Runtime_Core_Revision_C
|
65
|
-
Racc_Runtime_Type = 'c'
|
66
|
-
rescue LoadError
|
67
|
-
Racc_Main_Parsing_Routine = :_racc_do_parse_rb
|
68
|
-
Racc_YY_Parse_Method = :_racc_yyparse_rb
|
69
|
-
Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_R
|
70
|
-
Racc_Runtime_Core_Revision = Racc_Runtime_Core_Revision_R
|
71
|
-
Racc_Runtime_Type = 'ruby'
|
72
|
-
end
|
73
|
-
|
74
|
-
def Parser.racc_runtime_type
|
75
|
-
Racc_Runtime_Type
|
76
|
-
end
|
77
|
-
|
78
|
-
private
|
79
|
-
|
80
|
-
def _racc_setup
|
81
|
-
@yydebug = false unless self.class::Racc_debug_parser
|
82
|
-
@yydebug = false unless defined?(@yydebug)
|
83
|
-
if @yydebug
|
84
|
-
@racc_debug_out = $stderr unless defined?(@racc_debug_out)
|
85
|
-
@racc_debug_out ||= $stderr
|
86
|
-
end
|
87
|
-
arg = self.class::Racc_arg
|
88
|
-
arg[13] = true if arg.size < 14
|
89
|
-
arg
|
90
|
-
end
|
91
|
-
|
92
|
-
def _racc_init_sysvars
|
93
|
-
@racc_state = [0]
|
94
|
-
@racc_tstack = []
|
95
|
-
@racc_vstack = []
|
96
|
-
|
97
|
-
@racc_t = nil
|
98
|
-
@racc_val = nil
|
99
|
-
|
100
|
-
@racc_read_next = true
|
101
|
-
|
102
|
-
@racc_user_yyerror = false
|
103
|
-
@racc_error_status = 0
|
104
|
-
end
|
105
|
-
|
106
|
-
###
|
107
|
-
### do_parse
|
108
|
-
###
|
109
|
-
|
110
|
-
def do_parse
|
111
|
-
__send__(Racc_Main_Parsing_Routine, _racc_setup(), false)
|
112
|
-
end
|
113
|
-
|
114
|
-
def next_token
|
115
|
-
raise NotImplementedError, "#{self.class}\#next_token is not defined"
|
116
|
-
end
|
117
|
-
|
118
|
-
def _racc_do_parse_rb(arg, in_debug)
|
119
|
-
action_table, action_check, action_default, action_pointer,
|
120
|
-
goto_table, goto_check, goto_default, goto_pointer,
|
121
|
-
nt_base, reduce_table, token_table, shift_n,
|
122
|
-
reduce_n, use_result, * = arg
|
123
|
-
|
124
|
-
_racc_init_sysvars
|
125
|
-
tok = act = i = nil
|
126
|
-
nerr = 0
|
127
|
-
|
128
|
-
catch(:racc_end_parse) {
|
129
|
-
while true
|
130
|
-
if i = action_pointer[@racc_state[-1]]
|
131
|
-
if @racc_read_next
|
132
|
-
if @racc_t != 0 # not EOF
|
133
|
-
tok, @racc_val = next_token()
|
134
|
-
unless tok # EOF
|
135
|
-
@racc_t = 0
|
136
|
-
else
|
137
|
-
@racc_t = (token_table[tok] or 1) # error token
|
138
|
-
end
|
139
|
-
racc_read_token(@racc_t, tok, @racc_val) if @yydebug
|
140
|
-
@racc_read_next = false
|
141
|
-
end
|
142
|
-
end
|
143
|
-
i += @racc_t
|
144
|
-
unless i >= 0 and
|
145
|
-
act = action_table[i] and
|
146
|
-
action_check[i] == @racc_state[-1]
|
147
|
-
act = action_default[@racc_state[-1]]
|
148
|
-
end
|
149
|
-
else
|
150
|
-
act = action_default[@racc_state[-1]]
|
151
|
-
end
|
152
|
-
while act = _racc_evalact(act, arg)
|
153
|
-
;
|
154
|
-
end
|
155
|
-
end
|
156
|
-
}
|
157
|
-
end
|
158
|
-
|
159
|
-
###
|
160
|
-
### yyparse
|
161
|
-
###
|
162
|
-
|
163
|
-
def yyparse(recv, mid)
|
164
|
-
__send__(Racc_YY_Parse_Method, recv, mid, _racc_setup(), true)
|
165
|
-
end
|
166
|
-
|
167
|
-
def _racc_yyparse_rb(recv, mid, arg, c_debug)
|
168
|
-
action_table, action_check, action_default, action_pointer,
|
169
|
-
goto_table, goto_check, goto_default, goto_pointer,
|
170
|
-
nt_base, reduce_table, token_table, shift_n,
|
171
|
-
reduce_n, use_result, * = arg
|
172
|
-
|
173
|
-
_racc_init_sysvars
|
174
|
-
tok = nil
|
175
|
-
act = nil
|
176
|
-
i = nil
|
177
|
-
nerr = 0
|
178
|
-
|
179
|
-
catch(:racc_end_parse) {
|
180
|
-
until i = action_pointer[@racc_state[-1]]
|
181
|
-
while act = _racc_evalact(action_default[@racc_state[-1]], arg)
|
182
|
-
;
|
183
|
-
end
|
184
|
-
end
|
185
|
-
recv.__send__(mid) do |tok, val|
|
186
|
-
unless tok
|
187
|
-
@racc_t = 0
|
188
|
-
else
|
189
|
-
@racc_t = (token_table[tok] or 1) # error token
|
190
|
-
end
|
191
|
-
@racc_val = val
|
192
|
-
@racc_read_next = false
|
193
|
-
|
194
|
-
i += @racc_t
|
195
|
-
unless i >= 0 and
|
196
|
-
act = action_table[i] and
|
197
|
-
action_check[i] == @racc_state[-1]
|
198
|
-
act = action_default[@racc_state[-1]]
|
199
|
-
end
|
200
|
-
while act = _racc_evalact(act, arg)
|
201
|
-
;
|
202
|
-
end
|
203
|
-
|
204
|
-
while not (i = action_pointer[@racc_state[-1]]) or
|
205
|
-
not @racc_read_next or
|
206
|
-
@racc_t == 0 # $
|
207
|
-
unless i and i += @racc_t and
|
208
|
-
i >= 0 and
|
209
|
-
act = action_table[i] and
|
210
|
-
action_check[i] == @racc_state[-1]
|
211
|
-
act = action_default[@racc_state[-1]]
|
212
|
-
end
|
213
|
-
while act = _racc_evalact(act, arg)
|
214
|
-
;
|
215
|
-
end
|
216
|
-
end
|
217
|
-
end
|
218
|
-
}
|
219
|
-
end
|
220
|
-
|
221
|
-
###
|
222
|
-
### common
|
223
|
-
###
|
224
|
-
|
225
|
-
def _racc_evalact(act, arg)
|
226
|
-
action_table, action_check, action_default, action_pointer,
|
227
|
-
goto_table, goto_check, goto_default, goto_pointer,
|
228
|
-
nt_base, reduce_table, token_table, shift_n,
|
229
|
-
reduce_n, use_result, * = arg
|
230
|
-
nerr = 0 # tmp
|
231
|
-
|
232
|
-
if act > 0 and act < shift_n
|
233
|
-
#
|
234
|
-
# shift
|
235
|
-
#
|
236
|
-
if @racc_error_status > 0
|
237
|
-
@racc_error_status -= 1 unless @racc_t == 1 # error token
|
238
|
-
end
|
239
|
-
@racc_vstack.push @racc_val
|
240
|
-
@racc_state.push act
|
241
|
-
@racc_read_next = true
|
242
|
-
if @yydebug
|
243
|
-
@racc_tstack.push @racc_t
|
244
|
-
racc_shift @racc_t, @racc_tstack, @racc_vstack
|
245
|
-
end
|
246
|
-
|
247
|
-
elsif act < 0 and act > -reduce_n
|
248
|
-
#
|
249
|
-
# reduce
|
250
|
-
#
|
251
|
-
code = catch(:racc_jump) {
|
252
|
-
@racc_state.push _racc_do_reduce(arg, act)
|
253
|
-
false
|
254
|
-
}
|
255
|
-
if code
|
256
|
-
case code
|
257
|
-
when 1 # yyerror
|
258
|
-
@racc_user_yyerror = true # user_yyerror
|
259
|
-
return -reduce_n
|
260
|
-
when 2 # yyaccept
|
261
|
-
return shift_n
|
262
|
-
else
|
263
|
-
raise '[Racc Bug] unknown jump code'
|
264
|
-
end
|
265
|
-
end
|
266
|
-
|
267
|
-
elsif act == shift_n
|
268
|
-
#
|
269
|
-
# accept
|
270
|
-
#
|
271
|
-
racc_accept if @yydebug
|
272
|
-
throw :racc_end_parse, @racc_vstack[0]
|
273
|
-
|
274
|
-
elsif act == -reduce_n
|
275
|
-
#
|
276
|
-
# error
|
277
|
-
#
|
278
|
-
case @racc_error_status
|
279
|
-
when 0
|
280
|
-
unless arg[21] # user_yyerror
|
281
|
-
nerr += 1
|
282
|
-
on_error @racc_t, @racc_val, @racc_vstack
|
283
|
-
end
|
284
|
-
when 3
|
285
|
-
if @racc_t == 0 # is $
|
286
|
-
throw :racc_end_parse, nil
|
287
|
-
end
|
288
|
-
@racc_read_next = true
|
289
|
-
end
|
290
|
-
@racc_user_yyerror = false
|
291
|
-
@racc_error_status = 3
|
292
|
-
while true
|
293
|
-
if i = action_pointer[@racc_state[-1]]
|
294
|
-
i += 1 # error token
|
295
|
-
if i >= 0 and
|
296
|
-
(act = action_table[i]) and
|
297
|
-
action_check[i] == @racc_state[-1]
|
298
|
-
break
|
299
|
-
end
|
300
|
-
end
|
301
|
-
throw :racc_end_parse, nil if @racc_state.size <= 1
|
302
|
-
@racc_state.pop
|
303
|
-
@racc_vstack.pop
|
304
|
-
if @yydebug
|
305
|
-
@racc_tstack.pop
|
306
|
-
racc_e_pop @racc_state, @racc_tstack, @racc_vstack
|
307
|
-
end
|
308
|
-
end
|
309
|
-
return act
|
310
|
-
|
311
|
-
else
|
312
|
-
raise "[Racc Bug] unknown action #{act.inspect}"
|
313
|
-
end
|
314
|
-
|
315
|
-
racc_next_state(@racc_state[-1], @racc_state) if @yydebug
|
316
|
-
|
317
|
-
nil
|
318
|
-
end
|
319
|
-
|
320
|
-
def _racc_do_reduce(arg, act)
|
321
|
-
action_table, action_check, action_default, action_pointer,
|
322
|
-
goto_table, goto_check, goto_default, goto_pointer,
|
323
|
-
nt_base, reduce_table, token_table, shift_n,
|
324
|
-
reduce_n, use_result, * = arg
|
325
|
-
state = @racc_state
|
326
|
-
vstack = @racc_vstack
|
327
|
-
tstack = @racc_tstack
|
328
|
-
|
329
|
-
i = act * -3
|
330
|
-
len = reduce_table[i]
|
331
|
-
reduce_to = reduce_table[i+1]
|
332
|
-
method_id = reduce_table[i+2]
|
333
|
-
void_array = []
|
334
|
-
|
335
|
-
tmp_t = tstack[-len, len] if @yydebug
|
336
|
-
tmp_v = vstack[-len, len]
|
337
|
-
tstack[-len, len] = void_array if @yydebug
|
338
|
-
vstack[-len, len] = void_array
|
339
|
-
state[-len, len] = void_array
|
340
|
-
|
341
|
-
# tstack must be updated AFTER method call
|
342
|
-
if use_result
|
343
|
-
vstack.push __send__(method_id, tmp_v, vstack, tmp_v[0])
|
344
|
-
else
|
345
|
-
vstack.push __send__(method_id, tmp_v, vstack)
|
346
|
-
end
|
347
|
-
tstack.push reduce_to
|
348
|
-
|
349
|
-
racc_reduce(tmp_t, reduce_to, tstack, vstack) if @yydebug
|
350
|
-
|
351
|
-
k1 = reduce_to - nt_base
|
352
|
-
if i = goto_pointer[k1]
|
353
|
-
i += state[-1]
|
354
|
-
if i >= 0 and (curstate = goto_table[i]) and goto_check[i] == k1
|
355
|
-
return curstate
|
356
|
-
end
|
357
|
-
end
|
358
|
-
goto_default[k1]
|
359
|
-
end
|
360
|
-
|
361
|
-
def on_error(t, val, vstack)
|
362
|
-
raise ParseError, sprintf("\nparse error on value %s (%s)",
|
363
|
-
val.inspect, token_to_str(t) || '?')
|
364
|
-
end
|
365
|
-
|
366
|
-
def yyerror
|
367
|
-
throw :racc_jump, 1
|
368
|
-
end
|
369
|
-
|
370
|
-
def yyaccept
|
371
|
-
throw :racc_jump, 2
|
372
|
-
end
|
373
|
-
|
374
|
-
def yyerrok
|
375
|
-
@racc_error_status = 0
|
376
|
-
end
|
377
|
-
|
378
|
-
#
|
379
|
-
# for debugging output
|
380
|
-
#
|
381
|
-
|
382
|
-
def racc_read_token(t, tok, val)
|
383
|
-
@racc_debug_out.print 'read '
|
384
|
-
@racc_debug_out.print tok.inspect, '(', racc_token2str(t), ') '
|
385
|
-
@racc_debug_out.puts val.inspect
|
386
|
-
@racc_debug_out.puts
|
387
|
-
end
|
388
|
-
|
389
|
-
def racc_shift(tok, tstack, vstack)
|
390
|
-
@racc_debug_out.puts "shift #{racc_token2str tok}"
|
391
|
-
racc_print_stacks tstack, vstack
|
392
|
-
@racc_debug_out.puts
|
393
|
-
end
|
394
|
-
|
395
|
-
def racc_reduce(toks, sim, tstack, vstack)
|
396
|
-
out = @racc_debug_out
|
397
|
-
out.print 'reduce '
|
398
|
-
if toks.empty?
|
399
|
-
out.print ' <none>'
|
400
|
-
else
|
401
|
-
toks.each {|t| out.print ' ', racc_token2str(t) }
|
402
|
-
end
|
403
|
-
out.puts " --> #{racc_token2str(sim)}"
|
404
|
-
|
405
|
-
racc_print_stacks tstack, vstack
|
406
|
-
@racc_debug_out.puts
|
407
|
-
end
|
408
|
-
|
409
|
-
def racc_accept
|
410
|
-
@racc_debug_out.puts 'accept'
|
411
|
-
@racc_debug_out.puts
|
412
|
-
end
|
413
|
-
|
414
|
-
def racc_e_pop(state, tstack, vstack)
|
415
|
-
@racc_debug_out.puts 'error recovering mode: pop token'
|
416
|
-
racc_print_states state
|
417
|
-
racc_print_stacks tstack, vstack
|
418
|
-
@racc_debug_out.puts
|
419
|
-
end
|
420
|
-
|
421
|
-
def racc_next_state(curstate, state)
|
422
|
-
@racc_debug_out.puts "goto #{curstate}"
|
423
|
-
racc_print_states state
|
424
|
-
@racc_debug_out.puts
|
425
|
-
end
|
426
|
-
|
427
|
-
def racc_print_stacks(t, v)
|
428
|
-
out = @racc_debug_out
|
429
|
-
out.print ' ['
|
430
|
-
t.each_index do |i|
|
431
|
-
out.print ' (', racc_token2str(t[i]), ' ', v[i].inspect, ')'
|
432
|
-
end
|
433
|
-
out.puts ' ]'
|
434
|
-
end
|
435
|
-
|
436
|
-
def racc_print_states(s)
|
437
|
-
out = @racc_debug_out
|
438
|
-
out.print ' ['
|
439
|
-
s.each {|st| out.print ' ', st }
|
440
|
-
out.puts ' ]'
|
441
|
-
end
|
442
|
-
|
443
|
-
def racc_token2str(tok)
|
444
|
-
self.class::Racc_token_to_s_table[tok] or
|
445
|
-
raise "[Racc Bug] can't convert token #{tok} to string"
|
446
|
-
end
|
447
|
-
|
448
|
-
def token_to_str(t)
|
449
|
-
self.class::Racc_token_to_s_table[t]
|
450
|
-
end
|
451
|
-
|
452
|
-
end
|
453
|
-
|
454
|
-
end
|
455
|
-
end
|
456
|
-
###### racc/parser.rb end
|
457
6
|
|
7
|
+
require 'racc/parser.rb'
|
458
8
|
|
459
9
|
|
460
10
|
require 'date'
|
461
11
|
|
462
|
-
|
463
12
|
module NumRu
|
464
|
-
class Units < Racc::Parser
|
13
|
+
class Units < Racc::Parser
|
465
14
|
|
15
|
+
module_eval(<<'...end units.racc/module_eval...', 'units.racc', 65)
|
16
|
+
|
17
|
+
VERSION = "1.9"
|
466
18
|
|
467
19
|
=begin
|
468
20
|
= class Node
|
@@ -754,7 +306,7 @@ UDEFS = {
|
|
754
306
|
"astronomical_unit" => "1.49597870e11 m",
|
755
307
|
"astronomical_units" => "1.49597870e11 m", "atm" => "atmosphere",
|
756
308
|
"atmosphere" => "101325 Pa", "bar" => "1e6 dyn.cm-2",
|
757
|
-
"cal" => "calorie", "calorie" => "4.18605 J",
|
309
|
+
"cal" => "calorie", "calorie" => "4.18605 J", "candela" => "cd",
|
758
310
|
"celsius" => "K @ 273.15", "centigrade" => "K @ 273.15",
|
759
311
|
"century" => "100 year", "chain" => "22 yard",
|
760
312
|
"common_year" => "365 day",
|
@@ -776,30 +328,30 @@ UDEFS = {
|
|
776
328
|
"fahrenheit" => "degree_F", "farad" => "coulomb/volt",
|
777
329
|
"feet" => "foot", "fermi" => "1.0e-15 m", "foot" => "12 inch",
|
778
330
|
"force" => "9.80665 m.s-2", "ft" => "foot", "g" => "kg/1000",
|
779
|
-
"gal" => "cm s-2", "gauss" => "T / 10000", "
|
780
|
-
"
|
781
|
-
"
|
782
|
-
"horse_power" => "75 m kilogram-force / s",
|
783
|
-
"
|
784
|
-
"
|
785
|
-
"
|
786
|
-
"
|
787
|
-
"
|
788
|
-
"
|
789
|
-
"
|
790
|
-
"
|
791
|
-
"
|
792
|
-
"
|
793
|
-
"
|
794
|
-
"
|
795
|
-
"
|
796
|
-
"
|
797
|
-
"
|
798
|
-
"
|
799
|
-
"
|
800
|
-
"
|
801
|
-
"
|
802
|
-
"radian" => "rad", "second" => "s",
|
331
|
+
"gal" => "cm s-2", "gauss" => "T / 10000", "gpm" => "m",
|
332
|
+
"gram" => "kg/1000", "gravity" => "9.806650 meter/second2",
|
333
|
+
"h" => "60 min", "hectare" => "100 are", "hertz" => "Hz",
|
334
|
+
"hg" => "mercury", "horse_power" => "75 m kilogram-force / s",
|
335
|
+
"hour" => "60 min", "hr" => "60 min", "in" => "inch",
|
336
|
+
"inch" => "2.54 cm", "joule" => "J", "kelvin" => "K",
|
337
|
+
"kgf" => "kilogram-force", "kilogram" => "kg",
|
338
|
+
"knot" => "nautical_mile / hour", "kph" => "km / hour",
|
339
|
+
"lb" => "pound", "light_speed" => "299792458 m/s",
|
340
|
+
"light_year" => "9.46e15 m", "light_years" => "9.46e15 m",
|
341
|
+
"litre" => "1.0e-3 m3", "lm" => "cd.sr", "lx" => "lm.m-2",
|
342
|
+
"ly" => "light_year", "mb" => "bar / 1000",
|
343
|
+
"mercury" => "conventional_mercury", "meter" => "metre",
|
344
|
+
"metre" => "m", "mgal" => "cm s-2 / 1000", "micron" => "1.0e-6 m",
|
345
|
+
"mile" => "1760 yard", "millibar" => "bar / 1000", "min" => "60 s",
|
346
|
+
"minute" => "60 s", "minute_angle" => "pi.rad/180/60",
|
347
|
+
"mole" => "mol", "mon" => "month", "month" => "6 pentad",
|
348
|
+
"mph" => "mile / hour", "nautical_mile" => "1852 m",
|
349
|
+
"nautical_miles" => "1852 m", "newton" => "N", "ohm" => "V/A",
|
350
|
+
"ounce" => "pound / 16", "oz" => "ounce", "parsec" => "3.0857e16 m",
|
351
|
+
"pascal" => "Pa", "pc" => "parsec", "percent" => "1e-2",
|
352
|
+
"permil" => "1e-3", "pi" => "3.141592653589793238462",
|
353
|
+
"poise" => "dyn s / cm2", "pound" => "453.6 g",
|
354
|
+
"psi" => "pound-force / inch2", "radian" => "rad", "second" => "s",
|
803
355
|
"second_angle" => "pi.rad/180/60/60", "steradian" => "sr",
|
804
356
|
"stokes" => "cm2 / s", "t" => "ton", "tesla" => "Wb.m-2",
|
805
357
|
"ton" => "1000 kg", "tonne" => "ton", "torr" => "133.322 Pa",
|
@@ -807,7 +359,7 @@ UDEFS = {
|
|
807
359
|
"yd" => "yard", "year" => "12 month", "yr" => "year",
|
808
360
|
}
|
809
361
|
UALIASES = {
|
810
|
-
"Celsiuses" => [0, "Celsius"], "
|
362
|
+
"Celsiuses" => [0, "Celsius"], "EA" => [18, "A"],
|
811
363
|
"EAu" => [18, "Au"], "EBq" => [18, "Bq"], "EC" => [18, "C"],
|
812
364
|
"EF" => [18, "F"], "EG" => [18, "G"], "EGal" => [18, "Gal"],
|
813
365
|
"EGy" => [18, "Gy"], "EH" => [18, "H"], "EHg" => [18, "Hg"],
|
@@ -817,9 +369,9 @@ UALIASES = {
|
|
817
369
|
"ESv" => [18, "Sv"], "ET" => [18, "T"], "EV" => [18, "V"],
|
818
370
|
"EW" => [18, "W"], "EWb" => [18, "Wb"], "Ea" => [18, "a"],
|
819
371
|
"Eac" => [18, "ac"], "Eatm" => [18, "atm"], "Ebar" => [18, "bar"],
|
820
|
-
"Ecal" => [18, "cal"],
|
372
|
+
"Ecal" => [18, "cal"], "Ecd" => [18, "cd"],
|
821
373
|
"Econventional_mercury" => [18, "conventional_mercury"],
|
822
|
-
"
|
374
|
+
"EdegC" => [18, "degC"], "EdegF" => [18, "degF"],
|
823
375
|
"Edeg_C" => [18, "deg_C"], "Edeg_F" => [18, "deg_F"],
|
824
376
|
"EdegreeC" => [18, "degreeC"], "EdegreeF" => [18, "degreeF"],
|
825
377
|
"Edegree_C" => [18, "degree_C"], "Edegree_E" => [18, "degree_E"],
|
@@ -838,17 +390,15 @@ UALIASES = {
|
|
838
390
|
"Eerg" => [18, "erg"], "Eforce" => [18, "force"], "Eg" => [18, "g"],
|
839
391
|
"Egravity" => [18, "gravity"], "Eh" => [18, "h"],
|
840
392
|
"Ehg" => [18, "hg"], "Ehr" => [18, "hr"], "Ein" => [18, "in"],
|
841
|
-
"
|
842
|
-
"
|
843
|
-
"
|
393
|
+
"Ekgf" => [18, "kgf"], "Ekph" => [18, "kph"], "Elb" => [18, "lb"],
|
394
|
+
"Elm" => [18, "lm"], "Elx" => [18, "lx"], "Ely" => [18, "ly"],
|
395
|
+
"Em" => [18, "m"], "Emb" => [18, "mb"],
|
844
396
|
"Emercury" => [18, "mercury"], "Emgal" => [18, "mgal"],
|
845
397
|
"Emin" => [18, "min"], "Emol" => [18, "mol"], "Emon" => [18, "mon"],
|
846
398
|
"Emph" => [18, "mph"], "Eohm" => [18, "ohm"], "Eoz" => [18, "oz"],
|
847
|
-
"Epc" => [18, "pc"], "
|
848
|
-
"
|
849
|
-
"
|
850
|
-
"Et" => [18, "t"], "Eyr" => [18, "yr"],
|
851
|
-
"Fahrenheits" => [0, "Fahrenheit"], "G%" => [9, "%"],
|
399
|
+
"Epc" => [18, "pc"], "Epsi" => [18, "psi"], "Erad" => [18, "rad"],
|
400
|
+
"Es" => [18, "s"], "Esr" => [18, "sr"], "Et" => [18, "t"],
|
401
|
+
"Eyr" => [18, "yr"], "Fahrenheits" => [0, "Fahrenheit"],
|
852
402
|
"GA" => [9, "A"], "GAu" => [9, "Au"], "GBq" => [9, "Bq"],
|
853
403
|
"GC" => [9, "C"], "GF" => [9, "F"], "GG" => [9, "G"],
|
854
404
|
"GGal" => [9, "Gal"], "GGy" => [9, "Gy"], "GH" => [9, "H"],
|
@@ -858,9 +408,9 @@ UALIASES = {
|
|
858
408
|
"GSt" => [9, "St"], "GSv" => [9, "Sv"], "GT" => [9, "T"],
|
859
409
|
"GV" => [9, "V"], "GW" => [9, "W"], "GWb" => [9, "Wb"],
|
860
410
|
"Ga" => [9, "a"], "Gac" => [9, "ac"], "Gatm" => [9, "atm"],
|
861
|
-
"Gbar" => [9, "bar"], "Gcal" => [9, "cal"],
|
411
|
+
"Gbar" => [9, "bar"], "Gcal" => [9, "cal"], "Gcd" => [9, "cd"],
|
862
412
|
"Gconventional_mercury" => [9, "conventional_mercury"],
|
863
|
-
"
|
413
|
+
"GdegC" => [9, "degC"], "GdegF" => [9, "degF"],
|
864
414
|
"Gdeg_C" => [9, "deg_C"], "Gdeg_F" => [9, "deg_F"],
|
865
415
|
"GdegreeC" => [9, "degreeC"], "GdegreeF" => [9, "degreeF"],
|
866
416
|
"Gdegree_C" => [9, "degree_C"], "Gdegree_E" => [9, "degree_E"],
|
@@ -877,29 +427,28 @@ UALIASES = {
|
|
877
427
|
"Gdegrees_west" => [9, "degrees_west"], "Gdyn" => [9, "dyn"],
|
878
428
|
"Gerg" => [9, "erg"], "Gforce" => [9, "force"], "Gg" => [9, "g"],
|
879
429
|
"Ggravity" => [9, "gravity"], "Gh" => [9, "h"], "Ghg" => [9, "hg"],
|
880
|
-
"Ghr" => [9, "hr"], "Gin" => [9, "in"], "
|
881
|
-
"
|
882
|
-
"
|
883
|
-
"
|
430
|
+
"Ghr" => [9, "hr"], "Gin" => [9, "in"], "Gkgf" => [9, "kgf"],
|
431
|
+
"Gkph" => [9, "kph"], "Glb" => [9, "lb"], "Glm" => [9, "lm"],
|
432
|
+
"Glx" => [9, "lx"], "Gly" => [9, "ly"], "Gm" => [9, "m"],
|
433
|
+
"Gmb" => [9, "mb"], "Gmercury" => [9, "mercury"],
|
884
434
|
"Gmgal" => [9, "mgal"], "Gmin" => [9, "min"], "Gmol" => [9, "mol"],
|
885
435
|
"Gmon" => [9, "mon"], "Gmph" => [9, "mph"], "Gohm" => [9, "ohm"],
|
886
|
-
"Goz" => [9, "oz"], "Gpc" => [9, "pc"],
|
887
|
-
"
|
888
|
-
"
|
889
|
-
"
|
890
|
-
"
|
891
|
-
"
|
892
|
-
"
|
893
|
-
"
|
894
|
-
"
|
895
|
-
"
|
896
|
-
"
|
897
|
-
"
|
898
|
-
"
|
899
|
-
"
|
900
|
-
"Mbar" => [6, "bar"], "Mcal" => [6, "cal"],
|
436
|
+
"Goz" => [9, "oz"], "Gpc" => [9, "pc"], "Gpsi" => [9, "psi"],
|
437
|
+
"Grad" => [9, "rad"], "Gs" => [9, "s"], "Gsr" => [9, "sr"],
|
438
|
+
"Gt" => [9, "t"], "Gyr" => [9, "yr"],
|
439
|
+
"Julians_year" => [0, "Julian_year"], "MA" => [6, "A"],
|
440
|
+
"MAu" => [6, "Au"], "MBq" => [6, "Bq"], "MC" => [6, "C"],
|
441
|
+
"MF" => [6, "F"], "MG" => [6, "G"], "MGal" => [6, "Gal"],
|
442
|
+
"MGy" => [6, "Gy"], "MH" => [6, "H"], "MHg" => [6, "Hg"],
|
443
|
+
"MHz" => [6, "Hz"], "MJ" => [6, "J"], "MK" => [6, "K"],
|
444
|
+
"ML" => [6, "L"], "MN" => [6, "N"], "MP" => [6, "P"],
|
445
|
+
"MPa" => [6, "Pa"], "MS" => [6, "S"], "MSt" => [6, "St"],
|
446
|
+
"MSv" => [6, "Sv"], "MT" => [6, "T"], "MV" => [6, "V"],
|
447
|
+
"MW" => [6, "W"], "MWb" => [6, "Wb"], "Ma" => [6, "a"],
|
448
|
+
"Mac" => [6, "ac"], "Matm" => [6, "atm"], "Mbar" => [6, "bar"],
|
449
|
+
"Mcal" => [6, "cal"], "Mcd" => [6, "cd"],
|
901
450
|
"Mconventional_mercury" => [6, "conventional_mercury"],
|
902
|
-
"
|
451
|
+
"MdegC" => [6, "degC"], "MdegF" => [6, "degF"],
|
903
452
|
"Mdeg_C" => [6, "deg_C"], "Mdeg_F" => [6, "deg_F"],
|
904
453
|
"MdegreeC" => [6, "degreeC"], "MdegreeF" => [6, "degreeF"],
|
905
454
|
"Mdegree_C" => [6, "degree_C"], "Mdegree_E" => [6, "degree_E"],
|
@@ -916,29 +465,28 @@ UALIASES = {
|
|
916
465
|
"Mdegrees_west" => [6, "degrees_west"], "Mdyn" => [6, "dyn"],
|
917
466
|
"Merg" => [6, "erg"], "Mforce" => [6, "force"], "Mg" => [6, "g"],
|
918
467
|
"Mgravity" => [6, "gravity"], "Mh" => [6, "h"], "Mhg" => [6, "hg"],
|
919
|
-
"Mhr" => [6, "hr"], "Min" => [6, "in"], "
|
920
|
-
"
|
921
|
-
"
|
922
|
-
"
|
468
|
+
"Mhr" => [6, "hr"], "Min" => [6, "in"], "Mkgf" => [6, "kgf"],
|
469
|
+
"Mkph" => [6, "kph"], "Mlb" => [6, "lb"], "Mlm" => [6, "lm"],
|
470
|
+
"Mlx" => [6, "lx"], "Mly" => [6, "ly"], "Mm" => [6, "m"],
|
471
|
+
"Mmb" => [6, "mb"], "Mmercury" => [6, "mercury"],
|
923
472
|
"Mmgal" => [6, "mgal"], "Mmin" => [6, "min"], "Mmol" => [6, "mol"],
|
924
473
|
"Mmon" => [6, "mon"], "Mmph" => [6, "mph"], "Mohm" => [6, "ohm"],
|
925
|
-
"Moz" => [6, "oz"], "Mpc" => [6, "pc"],
|
926
|
-
"
|
927
|
-
"
|
928
|
-
"
|
929
|
-
"
|
930
|
-
"
|
931
|
-
"
|
932
|
-
"
|
933
|
-
"
|
934
|
-
"
|
935
|
-
"
|
936
|
-
"
|
937
|
-
"
|
938
|
-
"
|
939
|
-
"Pbar" => [15, "bar"], "Pcal" => [15, "cal"],
|
474
|
+
"Moz" => [6, "oz"], "Mpc" => [6, "pc"], "Mpsi" => [6, "psi"],
|
475
|
+
"Mrad" => [6, "rad"], "Ms" => [6, "s"], "Msr" => [6, "sr"],
|
476
|
+
"Mt" => [6, "t"], "Myr" => [6, "yr"], "PA" => [15, "A"],
|
477
|
+
"PAu" => [15, "Au"], "PBq" => [15, "Bq"], "PC" => [15, "C"],
|
478
|
+
"PF" => [15, "F"], "PG" => [15, "G"], "PGal" => [15, "Gal"],
|
479
|
+
"PGy" => [15, "Gy"], "PH" => [15, "H"], "PHg" => [15, "Hg"],
|
480
|
+
"PHz" => [15, "Hz"], "PJ" => [15, "J"], "PK" => [15, "K"],
|
481
|
+
"PL" => [15, "L"], "PN" => [15, "N"], "PP" => [15, "P"],
|
482
|
+
"PPa" => [15, "Pa"], "PS" => [15, "S"], "PSt" => [15, "St"],
|
483
|
+
"PSv" => [15, "Sv"], "PT" => [15, "T"], "PV" => [15, "V"],
|
484
|
+
"PW" => [15, "W"], "PWb" => [15, "Wb"], "Pa" => [15, "a"],
|
485
|
+
"Pac" => [15, "ac"], "Pascals" => [0, "Pascal"],
|
486
|
+
"Patm" => [15, "atm"], "Pbar" => [15, "bar"], "Pcal" => [15, "cal"],
|
487
|
+
"Pcd" => [15, "cd"],
|
940
488
|
"Pconventional_mercury" => [15, "conventional_mercury"],
|
941
|
-
"
|
489
|
+
"PdegC" => [15, "degC"], "PdegF" => [15, "degF"],
|
942
490
|
"Pdeg_C" => [15, "deg_C"], "Pdeg_F" => [15, "deg_F"],
|
943
491
|
"PdegreeC" => [15, "degreeC"], "PdegreeF" => [15, "degreeF"],
|
944
492
|
"Pdegree_C" => [15, "degree_C"], "Pdegree_E" => [15, "degree_E"],
|
@@ -957,28 +505,27 @@ UALIASES = {
|
|
957
505
|
"Perg" => [15, "erg"], "Pforce" => [15, "force"], "Pg" => [15, "g"],
|
958
506
|
"Pgravity" => [15, "gravity"], "Ph" => [15, "h"],
|
959
507
|
"Phg" => [15, "hg"], "Phr" => [15, "hr"], "Pin" => [15, "in"],
|
960
|
-
"
|
961
|
-
"
|
962
|
-
"
|
508
|
+
"Pkgf" => [15, "kgf"], "Pkph" => [15, "kph"], "Plb" => [15, "lb"],
|
509
|
+
"Plm" => [15, "lm"], "Plx" => [15, "lx"], "Ply" => [15, "ly"],
|
510
|
+
"Pm" => [15, "m"], "Pmb" => [15, "mb"],
|
963
511
|
"Pmercury" => [15, "mercury"], "Pmgal" => [15, "mgal"],
|
964
512
|
"Pmin" => [15, "min"], "Pmol" => [15, "mol"], "Pmon" => [15, "mon"],
|
965
513
|
"Pmph" => [15, "mph"], "Pohm" => [15, "ohm"], "Poz" => [15, "oz"],
|
966
|
-
"Ppc" => [15, "pc"], "
|
967
|
-
"
|
968
|
-
"
|
969
|
-
"
|
970
|
-
"
|
971
|
-
"
|
972
|
-
"
|
973
|
-
"
|
974
|
-
"
|
975
|
-
"
|
976
|
-
"
|
977
|
-
"
|
978
|
-
"
|
979
|
-
"Tbar" => [12, "bar"], "Tcal" => [12, "cal"],
|
514
|
+
"Ppc" => [15, "pc"], "Ppsi" => [15, "psi"], "Prad" => [15, "rad"],
|
515
|
+
"Ps" => [15, "s"], "Psr" => [15, "sr"], "Pt" => [15, "t"],
|
516
|
+
"Pyr" => [15, "yr"], "TA" => [12, "A"], "TAu" => [12, "Au"],
|
517
|
+
"TBq" => [12, "Bq"], "TC" => [12, "C"], "TF" => [12, "F"],
|
518
|
+
"TG" => [12, "G"], "TGal" => [12, "Gal"], "TGy" => [12, "Gy"],
|
519
|
+
"TH" => [12, "H"], "THg" => [12, "Hg"], "THz" => [12, "Hz"],
|
520
|
+
"TJ" => [12, "J"], "TK" => [12, "K"], "TL" => [12, "L"],
|
521
|
+
"TN" => [12, "N"], "TP" => [12, "P"], "TPa" => [12, "Pa"],
|
522
|
+
"TS" => [12, "S"], "TSt" => [12, "St"], "TSv" => [12, "Sv"],
|
523
|
+
"TT" => [12, "T"], "TV" => [12, "V"], "TW" => [12, "W"],
|
524
|
+
"TWb" => [12, "Wb"], "Ta" => [12, "a"], "Tac" => [12, "ac"],
|
525
|
+
"Tatm" => [12, "atm"], "Tbar" => [12, "bar"], "Tcal" => [12, "cal"],
|
526
|
+
"Tcd" => [12, "cd"],
|
980
527
|
"Tconventional_mercury" => [12, "conventional_mercury"],
|
981
|
-
"
|
528
|
+
"TdegC" => [12, "degC"], "TdegF" => [12, "degF"],
|
982
529
|
"Tdeg_C" => [12, "deg_C"], "Tdeg_F" => [12, "deg_F"],
|
983
530
|
"TdegreeC" => [12, "degreeC"], "TdegreeF" => [12, "degreeF"],
|
984
531
|
"Tdegree_C" => [12, "degree_C"], "Tdegree_E" => [12, "degree_E"],
|
@@ -997,35 +544,34 @@ UALIASES = {
|
|
997
544
|
"Terg" => [12, "erg"], "Tforce" => [12, "force"], "Tg" => [12, "g"],
|
998
545
|
"Tgravity" => [12, "gravity"], "Th" => [12, "h"],
|
999
546
|
"Thg" => [12, "hg"], "Thr" => [12, "hr"], "Tin" => [12, "in"],
|
1000
|
-
"
|
1001
|
-
"
|
1002
|
-
"
|
547
|
+
"Tkgf" => [12, "kgf"], "Tkph" => [12, "kph"], "Tlb" => [12, "lb"],
|
548
|
+
"Tlm" => [12, "lm"], "Tlx" => [12, "lx"], "Tly" => [12, "ly"],
|
549
|
+
"Tm" => [12, "m"], "Tmb" => [12, "mb"],
|
1003
550
|
"Tmercury" => [12, "mercury"], "Tmgal" => [12, "mgal"],
|
1004
551
|
"Tmin" => [12, "min"], "Tmol" => [12, "mol"], "Tmon" => [12, "mon"],
|
1005
552
|
"Tmph" => [12, "mph"], "Tohm" => [12, "ohm"], "Toz" => [12, "oz"],
|
1006
|
-
"Tpc" => [12, "pc"], "
|
1007
|
-
"
|
1008
|
-
"
|
1009
|
-
"
|
1010
|
-
"
|
1011
|
-
"
|
1012
|
-
"
|
1013
|
-
"
|
1014
|
-
"
|
1015
|
-
"
|
1016
|
-
"
|
1017
|
-
"
|
1018
|
-
"
|
1019
|
-
"abar" => [-18, "bar"], "acal" => [-18, "cal"],
|
553
|
+
"Tpc" => [12, "pc"], "Tpsi" => [12, "psi"], "Trad" => [12, "rad"],
|
554
|
+
"Ts" => [12, "s"], "Tsr" => [12, "sr"], "Tt" => [12, "t"],
|
555
|
+
"Tyr" => [12, "yr"], "aA" => [-18, "A"], "aAu" => [-18, "Au"],
|
556
|
+
"aBq" => [-18, "Bq"], "aC" => [-18, "C"], "aF" => [-18, "F"],
|
557
|
+
"aG" => [-18, "G"], "aGal" => [-18, "Gal"], "aGy" => [-18, "Gy"],
|
558
|
+
"aH" => [-18, "H"], "aHg" => [-18, "Hg"], "aHz" => [-18, "Hz"],
|
559
|
+
"aJ" => [-18, "J"], "aK" => [-18, "K"], "aL" => [-18, "L"],
|
560
|
+
"aN" => [-18, "N"], "aP" => [-18, "P"], "aPa" => [-18, "Pa"],
|
561
|
+
"aS" => [-18, "S"], "aSt" => [-18, "St"], "aSv" => [-18, "Sv"],
|
562
|
+
"aT" => [-18, "T"], "aV" => [-18, "V"], "aW" => [-18, "W"],
|
563
|
+
"aWb" => [-18, "Wb"], "aa" => [-18, "a"], "aac" => [-18, "ac"],
|
564
|
+
"aatm" => [-18, "atm"], "abar" => [-18, "bar"],
|
565
|
+
"acal" => [-18, "cal"], "acd" => [-18, "cd"],
|
1020
566
|
"aconventional_mercury" => [-18, "conventional_mercury"],
|
1021
|
-
"acres" => [0, "acre"], "
|
1022
|
-
"
|
1023
|
-
"
|
1024
|
-
"
|
1025
|
-
"
|
1026
|
-
"
|
1027
|
-
"
|
1028
|
-
"
|
567
|
+
"acres" => [0, "acre"], "adegC" => [-18, "degC"],
|
568
|
+
"adegF" => [-18, "degF"], "adeg_C" => [-18, "deg_C"],
|
569
|
+
"adeg_F" => [-18, "deg_F"], "adegreeC" => [-18, "degreeC"],
|
570
|
+
"adegreeF" => [-18, "degreeF"], "adegree_C" => [-18, "degree_C"],
|
571
|
+
"adegree_E" => [-18, "degree_E"], "adegree_F" => [-18, "degree_F"],
|
572
|
+
"adegree_N" => [-18, "degree_N"], "adegree_R" => [-18, "degree_R"],
|
573
|
+
"adegree_S" => [-18, "degree_S"], "adegree_W" => [-18, "degree_W"],
|
574
|
+
"adegree_c" => [-18, "degree_c"],
|
1029
575
|
"adegree_east" => [-18, "degree_east"],
|
1030
576
|
"adegree_f" => [-18, "degree_f"],
|
1031
577
|
"adegree_north" => [-18, "degree_north"],
|
@@ -1038,7 +584,7 @@ UALIASES = {
|
|
1038
584
|
"aerg" => [-18, "erg"], "aforce" => [-18, "force"],
|
1039
585
|
"ag" => [-18, "g"], "agravity" => [-18, "gravity"],
|
1040
586
|
"ah" => [-18, "h"], "ahg" => [-18, "hg"], "ahr" => [-18, "hr"],
|
1041
|
-
"ain" => [-18, "in"], "
|
587
|
+
"ain" => [-18, "in"], "akgf" => [-18, "kgf"],
|
1042
588
|
"akph" => [-18, "kph"], "alb" => [-18, "lb"], "alm" => [-18, "lm"],
|
1043
589
|
"alx" => [-18, "lx"], "aly" => [-18, "ly"], "am" => [-18, "m"],
|
1044
590
|
"amb" => [-18, "mb"], "amercury" => [-18, "mercury"],
|
@@ -1049,11 +595,10 @@ UALIASES = {
|
|
1049
595
|
"angulars_degree" => [0, "angular_degree"],
|
1050
596
|
"angulars_minute" => [0, "angular_minute"],
|
1051
597
|
"angulars_second" => [0, "angular_second"], "aohm" => [-18, "ohm"],
|
1052
|
-
"aoz" => [-18, "oz"], "apc" => [-18, "pc"],
|
1053
|
-
"
|
1054
|
-
"
|
1055
|
-
"
|
1056
|
-
"at" => [-18, "t"], "atmospheres" => [0, "atmosphere"],
|
598
|
+
"aoz" => [-18, "oz"], "apc" => [-18, "pc"], "apsi" => [-18, "psi"],
|
599
|
+
"arad" => [-18, "rad"], "ares" => [0, "are"], "as" => [-18, "s"],
|
600
|
+
"asr" => [-18, "sr"], "at" => [-18, "t"],
|
601
|
+
"atmospheres" => [0, "atmosphere"],
|
1057
602
|
"attoCelsius" => [-18, "Celsius"],
|
1058
603
|
"attoFahrenheit" => [-18, "Fahrenheit"],
|
1059
604
|
"attoJulian_year" => [-18, "Julian_year"],
|
@@ -1063,7 +608,8 @@ UALIASES = {
|
|
1063
608
|
"attoangular_minute" => [-18, "angular_minute"],
|
1064
609
|
"attoangular_second" => [-18, "angular_second"],
|
1065
610
|
"attoare" => [-18, "are"], "attoatmosphere" => [-18, "atmosphere"],
|
1066
|
-
"attocalorie" => [-18, "calorie"], "
|
611
|
+
"attocalorie" => [-18, "calorie"], "attocandela" => [-18, "candela"],
|
612
|
+
"attocelsius" => [-18, "celsius"],
|
1067
613
|
"attocentigrade" => [-18, "centigrade"],
|
1068
614
|
"attocentury" => [-18, "century"], "attochain" => [-18, "chain"],
|
1069
615
|
"attocommon_year" => [-18, "common_year"],
|
@@ -1086,9 +632,9 @@ UALIASES = {
|
|
1086
632
|
"attomole" => [-18, "mole"], "attomonth" => [-18, "month"],
|
1087
633
|
"attonewton" => [-18, "newton"], "attoounce" => [-18, "ounce"],
|
1088
634
|
"attoparsec" => [-18, "parsec"], "attopascal" => [-18, "pascal"],
|
1089
|
-
"attopentad" => [-18, "pentad"], "
|
1090
|
-
"
|
1091
|
-
"attosecond" => [-18, "second"],
|
635
|
+
"attopentad" => [-18, "pentad"], "attopercent" => [-18, "percent"],
|
636
|
+
"attopoise" => [-18, "poise"], "attopound" => [-18, "pound"],
|
637
|
+
"attoradian" => [-18, "radian"], "attosecond" => [-18, "second"],
|
1092
638
|
"attosecond_angle" => [-18, "second_angle"],
|
1093
639
|
"attosteradian" => [-18, "steradian"],
|
1094
640
|
"attostokes" => [-18, "stokes"], "attotesla" => [-18, "tesla"],
|
@@ -1097,19 +643,20 @@ UALIASES = {
|
|
1097
643
|
"attowatt" => [-18, "watt"], "attoweber" => [-18, "weber"],
|
1098
644
|
"attoyard" => [-18, "yard"], "attoyd" => [-18, "yd"],
|
1099
645
|
"attoyear" => [-18, "year"], "ayr" => [-18, "yr"],
|
1100
|
-
"
|
1101
|
-
"
|
1102
|
-
"
|
1103
|
-
"
|
1104
|
-
"
|
1105
|
-
"
|
1106
|
-
"
|
1107
|
-
"
|
1108
|
-
"
|
1109
|
-
"calories" => [0, "calorie"], "
|
1110
|
-
"cbar" => [-2, "bar"], "ccal" => [-2, "cal"],
|
646
|
+
"cA" => [-2, "A"], "cAu" => [-2, "Au"], "cBq" => [-2, "Bq"],
|
647
|
+
"cC" => [-2, "C"], "cF" => [-2, "F"], "cG" => [-2, "G"],
|
648
|
+
"cGal" => [-2, "Gal"], "cGy" => [-2, "Gy"], "cH" => [-2, "H"],
|
649
|
+
"cHg" => [-2, "Hg"], "cHz" => [-2, "Hz"], "cJ" => [-2, "J"],
|
650
|
+
"cK" => [-2, "K"], "cL" => [-2, "L"], "cN" => [-2, "N"],
|
651
|
+
"cP" => [-2, "P"], "cPa" => [-2, "Pa"], "cS" => [-2, "S"],
|
652
|
+
"cSt" => [-2, "St"], "cSv" => [-2, "Sv"], "cT" => [-2, "T"],
|
653
|
+
"cV" => [-2, "V"], "cW" => [-2, "W"], "cWb" => [-2, "Wb"],
|
654
|
+
"ca" => [-2, "a"], "cac" => [-2, "ac"],
|
655
|
+
"calories" => [0, "calorie"], "candelas" => [0, "candela"],
|
656
|
+
"catm" => [-2, "atm"], "cbar" => [-2, "bar"], "ccal" => [-2, "cal"],
|
657
|
+
"ccd" => [-2, "cd"],
|
1111
658
|
"cconventional_mercury" => [-2, "conventional_mercury"],
|
1112
|
-
"
|
659
|
+
"cdegC" => [-2, "degC"], "cdegF" => [-2, "degF"],
|
1113
660
|
"cdeg_C" => [-2, "deg_C"], "cdeg_F" => [-2, "deg_F"],
|
1114
661
|
"cdegreeC" => [-2, "degreeC"], "cdegreeF" => [-2, "degreeF"],
|
1115
662
|
"cdegree_C" => [-2, "degree_C"], "cdegree_E" => [-2, "degree_E"],
|
@@ -1134,7 +681,8 @@ UALIASES = {
|
|
1134
681
|
"centiangular_minute" => [-2, "angular_minute"],
|
1135
682
|
"centiangular_second" => [-2, "angular_second"],
|
1136
683
|
"centiare" => [-2, "are"], "centiatmosphere" => [-2, "atmosphere"],
|
1137
|
-
"centicalorie" => [-2, "calorie"], "
|
684
|
+
"centicalorie" => [-2, "calorie"], "centicandela" => [-2, "candela"],
|
685
|
+
"centicelsius" => [-2, "celsius"],
|
1138
686
|
"centicentigrade" => [-2, "centigrade"],
|
1139
687
|
"centicentury" => [-2, "century"], "centichain" => [-2, "chain"],
|
1140
688
|
"centicommon_year" => [-2, "common_year"],
|
@@ -1158,9 +706,9 @@ UALIASES = {
|
|
1158
706
|
"centimole" => [-2, "mole"], "centimonth" => [-2, "month"],
|
1159
707
|
"centinewton" => [-2, "newton"], "centiounce" => [-2, "ounce"],
|
1160
708
|
"centiparsec" => [-2, "parsec"], "centipascal" => [-2, "pascal"],
|
1161
|
-
"centipentad" => [-2, "pentad"], "
|
1162
|
-
"
|
1163
|
-
"centisecond" => [-2, "second"],
|
709
|
+
"centipentad" => [-2, "pentad"], "centipercent" => [-2, "percent"],
|
710
|
+
"centipoise" => [-2, "poise"], "centipound" => [-2, "pound"],
|
711
|
+
"centiradian" => [-2, "radian"], "centisecond" => [-2, "second"],
|
1164
712
|
"centisecond_angle" => [-2, "second_angle"],
|
1165
713
|
"centisteradian" => [-2, "steradian"],
|
1166
714
|
"centistokes" => [-2, "stokes"], "centitesla" => [-2, "tesla"],
|
@@ -1172,39 +720,37 @@ UALIASES = {
|
|
1172
720
|
"cerg" => [-2, "erg"], "cforce" => [-2, "force"], "cg" => [-2, "g"],
|
1173
721
|
"cgravity" => [-2, "gravity"], "ch" => [-2, "h"],
|
1174
722
|
"chains" => [0, "chain"], "chg" => [-2, "hg"], "chr" => [-2, "hr"],
|
1175
|
-
"cin" => [-2, "in"], "
|
1176
|
-
"
|
1177
|
-
"
|
1178
|
-
"
|
1179
|
-
"
|
1180
|
-
"
|
1181
|
-
"
|
1182
|
-
"
|
1183
|
-
"cpc" => [-2, "pc"], "cpercent" => [-2, "percent"],
|
1184
|
-
"cpermil" => [-2, "permil"], "cpsi" => [-2, "psi"],
|
723
|
+
"cin" => [-2, "in"], "ckgf" => [-2, "kgf"], "ckph" => [-2, "kph"],
|
724
|
+
"clb" => [-2, "lb"], "clm" => [-2, "lm"], "clx" => [-2, "lx"],
|
725
|
+
"cly" => [-2, "ly"], "cm" => [-2, "m"], "cmb" => [-2, "mb"],
|
726
|
+
"cmercury" => [-2, "mercury"], "cmgal" => [-2, "mgal"],
|
727
|
+
"cmin" => [-2, "min"], "cmol" => [-2, "mol"], "cmon" => [-2, "mon"],
|
728
|
+
"cmph" => [-2, "mph"], "cohm" => [-2, "ohm"],
|
729
|
+
"commons_year" => [0, "common_year"], "coulombs" => [0, "coulomb"],
|
730
|
+
"coz" => [-2, "oz"], "cpc" => [-2, "pc"], "cpsi" => [-2, "psi"],
|
1185
731
|
"crad" => [-2, "rad"], "cs" => [-2, "s"], "csr" => [-2, "sr"],
|
1186
|
-
"ct" => [-2, "t"], "cyr" => [-2, "yr"], "
|
1187
|
-
"
|
1188
|
-
"
|
1189
|
-
"
|
1190
|
-
"
|
1191
|
-
"
|
1192
|
-
"
|
1193
|
-
"
|
1194
|
-
"
|
1195
|
-
"
|
1196
|
-
"
|
1197
|
-
"
|
1198
|
-
"
|
1199
|
-
"
|
1200
|
-
"
|
1201
|
-
"
|
1202
|
-
"
|
1203
|
-
"
|
1204
|
-
"
|
1205
|
-
"
|
732
|
+
"ct" => [-2, "t"], "cyr" => [-2, "yr"], "dA" => [-1, "A"],
|
733
|
+
"dAu" => [-1, "Au"], "dBq" => [-1, "Bq"], "dC" => [-1, "C"],
|
734
|
+
"dF" => [-1, "F"], "dG" => [-1, "G"], "dGal" => [-1, "Gal"],
|
735
|
+
"dGy" => [-1, "Gy"], "dH" => [-1, "H"], "dHg" => [-1, "Hg"],
|
736
|
+
"dHz" => [-1, "Hz"], "dJ" => [-1, "J"], "dK" => [-1, "K"],
|
737
|
+
"dL" => [-1, "L"], "dN" => [-1, "N"], "dP" => [-1, "P"],
|
738
|
+
"dPa" => [-1, "Pa"], "dS" => [-1, "S"], "dSt" => [-1, "St"],
|
739
|
+
"dSv" => [-1, "Sv"], "dT" => [-1, "T"], "dV" => [-1, "V"],
|
740
|
+
"dW" => [-1, "W"], "dWb" => [-1, "Wb"], "da" => [-1, "a"],
|
741
|
+
"daA" => [1, "A"], "daAu" => [1, "Au"], "daBq" => [1, "Bq"],
|
742
|
+
"daC" => [1, "C"], "daF" => [1, "F"], "daG" => [1, "G"],
|
743
|
+
"daGal" => [1, "Gal"], "daGy" => [1, "Gy"], "daH" => [1, "H"],
|
744
|
+
"daHg" => [1, "Hg"], "daHz" => [1, "Hz"], "daJ" => [1, "J"],
|
745
|
+
"daK" => [1, "K"], "daL" => [1, "L"], "daN" => [1, "N"],
|
746
|
+
"daP" => [1, "P"], "daPa" => [1, "Pa"], "daS" => [1, "S"],
|
747
|
+
"daSt" => [1, "St"], "daSv" => [1, "Sv"], "daT" => [1, "T"],
|
748
|
+
"daV" => [1, "V"], "daW" => [1, "W"], "daWb" => [1, "Wb"],
|
749
|
+
"daa" => [1, "a"], "daac" => [1, "ac"], "daatm" => [1, "atm"],
|
750
|
+
"dabar" => [1, "bar"], "dac" => [-1, "ac"], "dacal" => [1, "cal"],
|
751
|
+
"dacd" => [1, "cd"],
|
1206
752
|
"daconventional_mercury" => [1, "conventional_mercury"],
|
1207
|
-
"
|
753
|
+
"dadegC" => [1, "degC"], "dadegF" => [1, "degF"],
|
1208
754
|
"dadeg_C" => [1, "deg_C"], "dadeg_F" => [1, "deg_F"],
|
1209
755
|
"dadegreeC" => [1, "degreeC"], "dadegreeF" => [1, "degreeF"],
|
1210
756
|
"dadegree_C" => [1, "degree_C"], "dadegree_E" => [1, "degree_E"],
|
@@ -1223,19 +769,18 @@ UALIASES = {
|
|
1223
769
|
"daerg" => [1, "erg"], "daforce" => [1, "force"], "dag" => [1, "g"],
|
1224
770
|
"dagravity" => [1, "gravity"], "dah" => [1, "h"],
|
1225
771
|
"dahg" => [1, "hg"], "dahr" => [1, "hr"], "dain" => [1, "in"],
|
1226
|
-
"
|
1227
|
-
"
|
1228
|
-
"
|
772
|
+
"dakgf" => [1, "kgf"], "dakph" => [1, "kph"], "dalb" => [1, "lb"],
|
773
|
+
"dalm" => [1, "lm"], "dalx" => [1, "lx"], "daly" => [1, "ly"],
|
774
|
+
"dam" => [1, "m"], "damb" => [1, "mb"],
|
1229
775
|
"damercury" => [1, "mercury"], "damgal" => [1, "mgal"],
|
1230
776
|
"damin" => [1, "min"], "damol" => [1, "mol"], "damon" => [1, "mon"],
|
1231
777
|
"damph" => [1, "mph"], "daohm" => [1, "ohm"], "daoz" => [1, "oz"],
|
1232
|
-
"dapc" => [1, "pc"], "
|
1233
|
-
"
|
1234
|
-
"
|
1235
|
-
"
|
1236
|
-
"days" => [0, "day"], "dbar" => [-1, "bar"], "dcal" => [-1, "cal"],
|
778
|
+
"dapc" => [1, "pc"], "dapsi" => [1, "psi"], "darad" => [1, "rad"],
|
779
|
+
"das" => [1, "s"], "dasr" => [1, "sr"], "dat" => [1, "t"],
|
780
|
+
"datm" => [-1, "atm"], "dayr" => [1, "yr"], "days" => [0, "day"],
|
781
|
+
"dbar" => [-1, "bar"], "dcal" => [-1, "cal"], "dcd" => [-1, "cd"],
|
1237
782
|
"dconventional_mercury" => [-1, "conventional_mercury"],
|
1238
|
-
"
|
783
|
+
"ddegC" => [-1, "degC"], "ddegF" => [-1, "degF"],
|
1239
784
|
"ddeg_C" => [-1, "deg_C"], "ddeg_F" => [-1, "deg_F"],
|
1240
785
|
"ddegreeC" => [-1, "degreeC"], "ddegreeF" => [-1, "degreeF"],
|
1241
786
|
"ddegree_C" => [-1, "degree_C"], "ddegree_E" => [-1, "degree_E"],
|
@@ -1260,7 +805,8 @@ UALIASES = {
|
|
1260
805
|
"decaangular_minute" => [1, "angular_minute"],
|
1261
806
|
"decaangular_second" => [1, "angular_second"],
|
1262
807
|
"decaare" => [1, "are"], "decaatmosphere" => [1, "atmosphere"],
|
1263
|
-
"decacalorie" => [1, "calorie"], "
|
808
|
+
"decacalorie" => [1, "calorie"], "decacandela" => [1, "candela"],
|
809
|
+
"decacelsius" => [1, "celsius"],
|
1264
810
|
"decacentigrade" => [1, "centigrade"],
|
1265
811
|
"decacentury" => [1, "century"], "decachain" => [1, "chain"],
|
1266
812
|
"decacommon_year" => [1, "common_year"],
|
@@ -1283,8 +829,9 @@ UALIASES = {
|
|
1283
829
|
"decamonth" => [1, "month"], "decanewton" => [1, "newton"],
|
1284
830
|
"decaounce" => [1, "ounce"], "decaparsec" => [1, "parsec"],
|
1285
831
|
"decapascal" => [1, "pascal"], "decapentad" => [1, "pentad"],
|
1286
|
-
"
|
1287
|
-
"
|
832
|
+
"decapercent" => [1, "percent"], "decapoise" => [1, "poise"],
|
833
|
+
"decapound" => [1, "pound"], "decaradian" => [1, "radian"],
|
834
|
+
"decasecond" => [1, "second"],
|
1288
835
|
"decasecond_angle" => [1, "second_angle"],
|
1289
836
|
"decasteradian" => [1, "steradian"], "decastokes" => [1, "stokes"],
|
1290
837
|
"decatesla" => [1, "tesla"], "decaton" => [1, "ton"],
|
@@ -1301,7 +848,8 @@ UALIASES = {
|
|
1301
848
|
"deciangular_minute" => [-1, "angular_minute"],
|
1302
849
|
"deciangular_second" => [-1, "angular_second"],
|
1303
850
|
"deciare" => [-1, "are"], "deciatmosphere" => [-1, "atmosphere"],
|
1304
|
-
"decicalorie" => [-1, "calorie"], "
|
851
|
+
"decicalorie" => [-1, "calorie"], "decicandela" => [-1, "candela"],
|
852
|
+
"decicelsius" => [-1, "celsius"],
|
1305
853
|
"decicentigrade" => [-1, "centigrade"],
|
1306
854
|
"decicentury" => [-1, "century"], "decichain" => [-1, "chain"],
|
1307
855
|
"decicommon_year" => [-1, "common_year"],
|
@@ -1324,9 +872,9 @@ UALIASES = {
|
|
1324
872
|
"decimole" => [-1, "mole"], "decimonth" => [-1, "month"],
|
1325
873
|
"decinewton" => [-1, "newton"], "deciounce" => [-1, "ounce"],
|
1326
874
|
"deciparsec" => [-1, "parsec"], "decipascal" => [-1, "pascal"],
|
1327
|
-
"decipentad" => [-1, "pentad"], "
|
1328
|
-
"
|
1329
|
-
"decisecond" => [-1, "second"],
|
875
|
+
"decipentad" => [-1, "pentad"], "decipercent" => [-1, "percent"],
|
876
|
+
"decipoise" => [-1, "poise"], "decipound" => [-1, "pound"],
|
877
|
+
"deciradian" => [-1, "radian"], "decisecond" => [-1, "second"],
|
1330
878
|
"decisecond_angle" => [-1, "second_angle"],
|
1331
879
|
"decisteradian" => [-1, "steradian"], "decistokes" => [-1, "stokes"],
|
1332
880
|
"decitesla" => [-1, "tesla"], "deciton" => [-1, "ton"],
|
@@ -1339,17 +887,16 @@ UALIASES = {
|
|
1339
887
|
"derg" => [-1, "erg"], "dforce" => [-1, "force"], "dg" => [-1, "g"],
|
1340
888
|
"dgravity" => [-1, "gravity"], "dh" => [-1, "h"],
|
1341
889
|
"dhg" => [-1, "hg"], "dhr" => [-1, "hr"], "din" => [-1, "in"],
|
1342
|
-
"
|
1343
|
-
"
|
1344
|
-
"
|
890
|
+
"dkgf" => [-1, "kgf"], "dkph" => [-1, "kph"], "dlb" => [-1, "lb"],
|
891
|
+
"dlm" => [-1, "lm"], "dlx" => [-1, "lx"], "dly" => [-1, "ly"],
|
892
|
+
"dm" => [-1, "m"], "dmb" => [-1, "mb"],
|
1345
893
|
"dmercury" => [-1, "mercury"], "dmgal" => [-1, "mgal"],
|
1346
894
|
"dmin" => [-1, "min"], "dmol" => [-1, "mol"], "dmon" => [-1, "mon"],
|
1347
895
|
"dmph" => [-1, "mph"], "dohm" => [-1, "ohm"], "doz" => [-1, "oz"],
|
1348
|
-
"dpc" => [-1, "pc"], "
|
1349
|
-
"
|
1350
|
-
"
|
1351
|
-
"
|
1352
|
-
"ergs" => [0, "erg"], "exaCelsius" => [18, "Celsius"],
|
896
|
+
"dpc" => [-1, "pc"], "dpsi" => [-1, "psi"], "drad" => [-1, "rad"],
|
897
|
+
"ds" => [-1, "s"], "dsr" => [-1, "sr"], "dt" => [-1, "t"],
|
898
|
+
"dynes" => [0, "dyne"], "dyr" => [-1, "yr"], "ergs" => [0, "erg"],
|
899
|
+
"exaCelsius" => [18, "Celsius"],
|
1353
900
|
"exaFahrenheit" => [18, "Fahrenheit"],
|
1354
901
|
"exaJulian_year" => [18, "Julian_year"],
|
1355
902
|
"exaPascal" => [18, "Pascal"], "exaacre" => [18, "acre"],
|
@@ -1358,7 +905,8 @@ UALIASES = {
|
|
1358
905
|
"exaangular_minute" => [18, "angular_minute"],
|
1359
906
|
"exaangular_second" => [18, "angular_second"],
|
1360
907
|
"exaare" => [18, "are"], "exaatmosphere" => [18, "atmosphere"],
|
1361
|
-
"exacalorie" => [18, "calorie"], "
|
908
|
+
"exacalorie" => [18, "calorie"], "exacandela" => [18, "candela"],
|
909
|
+
"exacelsius" => [18, "celsius"],
|
1362
910
|
"exacentigrade" => [18, "centigrade"],
|
1363
911
|
"exacentury" => [18, "century"], "exachain" => [18, "chain"],
|
1364
912
|
"exacommon_year" => [18, "common_year"],
|
@@ -1381,8 +929,9 @@ UALIASES = {
|
|
1381
929
|
"examonth" => [18, "month"], "exanewton" => [18, "newton"],
|
1382
930
|
"exaounce" => [18, "ounce"], "exaparsec" => [18, "parsec"],
|
1383
931
|
"exapascal" => [18, "pascal"], "exapentad" => [18, "pentad"],
|
1384
|
-
"
|
1385
|
-
"
|
932
|
+
"exapercent" => [18, "percent"], "exapoise" => [18, "poise"],
|
933
|
+
"exapound" => [18, "pound"], "exaradian" => [18, "radian"],
|
934
|
+
"exasecond" => [18, "second"],
|
1386
935
|
"exasecond_angle" => [18, "second_angle"],
|
1387
936
|
"exasteradian" => [18, "steradian"], "exastokes" => [18, "stokes"],
|
1388
937
|
"exatesla" => [18, "tesla"], "exaton" => [18, "ton"],
|
@@ -1390,27 +939,26 @@ UALIASES = {
|
|
1390
939
|
"exavolt" => [18, "volt"], "exawatt" => [18, "watt"],
|
1391
940
|
"exaweber" => [18, "weber"], "exayard" => [18, "yard"],
|
1392
941
|
"exayd" => [18, "yd"], "exayear" => [18, "year"],
|
1393
|
-
"
|
1394
|
-
"
|
1395
|
-
"
|
1396
|
-
"
|
1397
|
-
"
|
1398
|
-
"
|
1399
|
-
"
|
1400
|
-
"
|
1401
|
-
"
|
942
|
+
"fA" => [-15, "A"], "fAu" => [-15, "Au"], "fBq" => [-15, "Bq"],
|
943
|
+
"fC" => [-15, "C"], "fF" => [-15, "F"], "fG" => [-15, "G"],
|
944
|
+
"fGal" => [-15, "Gal"], "fGy" => [-15, "Gy"], "fH" => [-15, "H"],
|
945
|
+
"fHg" => [-15, "Hg"], "fHz" => [-15, "Hz"], "fJ" => [-15, "J"],
|
946
|
+
"fK" => [-15, "K"], "fL" => [-15, "L"], "fN" => [-15, "N"],
|
947
|
+
"fP" => [-15, "P"], "fPa" => [-15, "Pa"], "fS" => [-15, "S"],
|
948
|
+
"fSt" => [-15, "St"], "fSv" => [-15, "Sv"], "fT" => [-15, "T"],
|
949
|
+
"fV" => [-15, "V"], "fW" => [-15, "W"], "fWb" => [-15, "Wb"],
|
950
|
+
"fa" => [-15, "a"], "fac" => [-15, "ac"],
|
1402
951
|
"fahrenheits" => [0, "fahrenheit"], "farads" => [0, "farad"],
|
1403
952
|
"fatm" => [-15, "atm"], "fbar" => [-15, "bar"],
|
1404
|
-
"fcal" => [-15, "cal"],
|
953
|
+
"fcal" => [-15, "cal"], "fcd" => [-15, "cd"],
|
1405
954
|
"fconventional_mercury" => [-15, "conventional_mercury"],
|
1406
|
-
"
|
1407
|
-
"
|
1408
|
-
"
|
1409
|
-
"
|
1410
|
-
"
|
1411
|
-
"
|
1412
|
-
"
|
1413
|
-
"fdegree_c" => [-15, "degree_c"],
|
955
|
+
"fdegC" => [-15, "degC"], "fdegF" => [-15, "degF"],
|
956
|
+
"fdeg_C" => [-15, "deg_C"], "fdeg_F" => [-15, "deg_F"],
|
957
|
+
"fdegreeC" => [-15, "degreeC"], "fdegreeF" => [-15, "degreeF"],
|
958
|
+
"fdegree_C" => [-15, "degree_C"], "fdegree_E" => [-15, "degree_E"],
|
959
|
+
"fdegree_F" => [-15, "degree_F"], "fdegree_N" => [-15, "degree_N"],
|
960
|
+
"fdegree_R" => [-15, "degree_R"], "fdegree_S" => [-15, "degree_S"],
|
961
|
+
"fdegree_W" => [-15, "degree_W"], "fdegree_c" => [-15, "degree_c"],
|
1414
962
|
"fdegree_east" => [-15, "degree_east"],
|
1415
963
|
"fdegree_f" => [-15, "degree_f"],
|
1416
964
|
"fdegree_north" => [-15, "degree_north"],
|
@@ -1431,6 +979,7 @@ UALIASES = {
|
|
1431
979
|
"femtoangular_second" => [-15, "angular_second"],
|
1432
980
|
"femtoare" => [-15, "are"], "femtoatmosphere" => [-15, "atmosphere"],
|
1433
981
|
"femtocalorie" => [-15, "calorie"],
|
982
|
+
"femtocandela" => [-15, "candela"],
|
1434
983
|
"femtocelsius" => [-15, "celsius"],
|
1435
984
|
"femtocentigrade" => [-15, "centigrade"],
|
1436
985
|
"femtocentury" => [-15, "century"], "femtochain" => [-15, "chain"],
|
@@ -1455,9 +1004,9 @@ UALIASES = {
|
|
1455
1004
|
"femtomole" => [-15, "mole"], "femtomonth" => [-15, "month"],
|
1456
1005
|
"femtonewton" => [-15, "newton"], "femtoounce" => [-15, "ounce"],
|
1457
1006
|
"femtoparsec" => [-15, "parsec"], "femtopascal" => [-15, "pascal"],
|
1458
|
-
"femtopentad" => [-15, "pentad"], "
|
1459
|
-
"
|
1460
|
-
"femtosecond" => [-15, "second"],
|
1007
|
+
"femtopentad" => [-15, "pentad"], "femtopercent" => [-15, "percent"],
|
1008
|
+
"femtopoise" => [-15, "poise"], "femtopound" => [-15, "pound"],
|
1009
|
+
"femtoradian" => [-15, "radian"], "femtosecond" => [-15, "second"],
|
1461
1010
|
"femtosecond_angle" => [-15, "second_angle"],
|
1462
1011
|
"femtosteradian" => [-15, "steradian"],
|
1463
1012
|
"femtostokes" => [-15, "stokes"], "femtotesla" => [-15, "tesla"],
|
@@ -1469,19 +1018,17 @@ UALIASES = {
|
|
1469
1018
|
"fermis" => [0, "fermi"], "fforce" => [-15, "force"],
|
1470
1019
|
"fg" => [-15, "g"], "fgravity" => [-15, "gravity"],
|
1471
1020
|
"fh" => [-15, "h"], "fhg" => [-15, "hg"], "fhr" => [-15, "hr"],
|
1472
|
-
"fin" => [-15, "in"], "
|
1021
|
+
"fin" => [-15, "in"], "fkgf" => [-15, "kgf"],
|
1473
1022
|
"fkph" => [-15, "kph"], "flb" => [-15, "lb"], "flm" => [-15, "lm"],
|
1474
1023
|
"flx" => [-15, "lx"], "fly" => [-15, "ly"], "fm" => [-15, "m"],
|
1475
1024
|
"fmb" => [-15, "mb"], "fmercury" => [-15, "mercury"],
|
1476
1025
|
"fmgal" => [-15, "mgal"], "fmin" => [-15, "min"],
|
1477
1026
|
"fmol" => [-15, "mol"], "fmon" => [-15, "mon"],
|
1478
1027
|
"fmph" => [-15, "mph"], "fohm" => [-15, "ohm"],
|
1479
|
-
"foz" => [-15, "oz"], "fpc" => [-15, "pc"],
|
1480
|
-
"
|
1481
|
-
"
|
1482
|
-
"
|
1483
|
-
"gals" => [0, "gal"], "gausses" => [0, "gauss"],
|
1484
|
-
"gigaCelsius" => [9, "Celsius"],
|
1028
|
+
"foz" => [-15, "oz"], "fpc" => [-15, "pc"], "fpsi" => [-15, "psi"],
|
1029
|
+
"frad" => [-15, "rad"], "fs" => [-15, "s"], "fsr" => [-15, "sr"],
|
1030
|
+
"ft" => [-15, "t"], "fyr" => [-15, "yr"], "gals" => [0, "gal"],
|
1031
|
+
"gausses" => [0, "gauss"], "gigaCelsius" => [9, "Celsius"],
|
1485
1032
|
"gigaFahrenheit" => [9, "Fahrenheit"],
|
1486
1033
|
"gigaJulian_year" => [9, "Julian_year"],
|
1487
1034
|
"gigaPascal" => [9, "Pascal"], "gigaacre" => [9, "acre"],
|
@@ -1490,7 +1037,8 @@ UALIASES = {
|
|
1490
1037
|
"gigaangular_minute" => [9, "angular_minute"],
|
1491
1038
|
"gigaangular_second" => [9, "angular_second"],
|
1492
1039
|
"gigaare" => [9, "are"], "gigaatmosphere" => [9, "atmosphere"],
|
1493
|
-
"gigacalorie" => [9, "calorie"], "
|
1040
|
+
"gigacalorie" => [9, "calorie"], "gigacandela" => [9, "candela"],
|
1041
|
+
"gigacelsius" => [9, "celsius"],
|
1494
1042
|
"gigacentigrade" => [9, "centigrade"],
|
1495
1043
|
"gigacentury" => [9, "century"], "gigachain" => [9, "chain"],
|
1496
1044
|
"gigacommon_year" => [9, "common_year"],
|
@@ -1513,8 +1061,9 @@ UALIASES = {
|
|
1513
1061
|
"gigamonth" => [9, "month"], "giganewton" => [9, "newton"],
|
1514
1062
|
"gigaounce" => [9, "ounce"], "gigaparsec" => [9, "parsec"],
|
1515
1063
|
"gigapascal" => [9, "pascal"], "gigapentad" => [9, "pentad"],
|
1516
|
-
"
|
1517
|
-
"
|
1064
|
+
"gigapercent" => [9, "percent"], "gigapoise" => [9, "poise"],
|
1065
|
+
"gigapound" => [9, "pound"], "gigaradian" => [9, "radian"],
|
1066
|
+
"gigasecond" => [9, "second"],
|
1518
1067
|
"gigasecond_angle" => [9, "second_angle"],
|
1519
1068
|
"gigasteradian" => [9, "steradian"], "gigastokes" => [9, "stokes"],
|
1520
1069
|
"gigatesla" => [9, "tesla"], "gigaton" => [9, "ton"],
|
@@ -1522,19 +1071,19 @@ UALIASES = {
|
|
1522
1071
|
"gigavolt" => [9, "volt"], "gigawatt" => [9, "watt"],
|
1523
1072
|
"gigaweber" => [9, "weber"], "gigayard" => [9, "yard"],
|
1524
1073
|
"gigayd" => [9, "yd"], "gigayear" => [9, "year"],
|
1525
|
-
"grams" => [0, "gram"], "
|
1526
|
-
"
|
1527
|
-
"
|
1528
|
-
"
|
1529
|
-
"
|
1530
|
-
"
|
1531
|
-
"
|
1532
|
-
"
|
1533
|
-
"
|
1534
|
-
"
|
1535
|
-
"
|
1074
|
+
"grams" => [0, "gram"], "hA" => [2, "A"], "hAu" => [2, "Au"],
|
1075
|
+
"hBq" => [2, "Bq"], "hC" => [2, "C"], "hF" => [2, "F"],
|
1076
|
+
"hG" => [2, "G"], "hGal" => [2, "Gal"], "hGy" => [2, "Gy"],
|
1077
|
+
"hH" => [2, "H"], "hHg" => [2, "Hg"], "hHz" => [2, "Hz"],
|
1078
|
+
"hJ" => [2, "J"], "hK" => [2, "K"], "hL" => [2, "L"],
|
1079
|
+
"hN" => [2, "N"], "hP" => [2, "P"], "hPa" => [2, "Pa"],
|
1080
|
+
"hS" => [2, "S"], "hSt" => [2, "St"], "hSv" => [2, "Sv"],
|
1081
|
+
"hT" => [2, "T"], "hV" => [2, "V"], "hW" => [2, "W"],
|
1082
|
+
"hWb" => [2, "Wb"], "ha" => [2, "a"], "hac" => [2, "ac"],
|
1083
|
+
"hatm" => [2, "atm"], "hbar" => [2, "bar"], "hcal" => [2, "cal"],
|
1084
|
+
"hcd" => [2, "cd"],
|
1536
1085
|
"hconventional_mercury" => [2, "conventional_mercury"],
|
1537
|
-
"
|
1086
|
+
"hdegC" => [2, "degC"], "hdegF" => [2, "degF"],
|
1538
1087
|
"hdeg_C" => [2, "deg_C"], "hdeg_F" => [2, "deg_F"],
|
1539
1088
|
"hdegreeC" => [2, "degreeC"], "hdegreeF" => [2, "degreeF"],
|
1540
1089
|
"hdegree_C" => [2, "degree_C"], "hdegree_E" => [2, "degree_E"],
|
@@ -1558,7 +1107,8 @@ UALIASES = {
|
|
1558
1107
|
"hectoangular_minute" => [2, "angular_minute"],
|
1559
1108
|
"hectoangular_second" => [2, "angular_second"],
|
1560
1109
|
"hectoare" => [2, "are"], "hectoatmosphere" => [2, "atmosphere"],
|
1561
|
-
"hectocalorie" => [2, "calorie"], "
|
1110
|
+
"hectocalorie" => [2, "calorie"], "hectocandela" => [2, "candela"],
|
1111
|
+
"hectocelsius" => [2, "celsius"],
|
1562
1112
|
"hectocentigrade" => [2, "centigrade"],
|
1563
1113
|
"hectocentury" => [2, "century"], "hectochain" => [2, "chain"],
|
1564
1114
|
"hectocommon_year" => [2, "common_year"],
|
@@ -1581,9 +1131,9 @@ UALIASES = {
|
|
1581
1131
|
"hectomole" => [2, "mole"], "hectomonth" => [2, "month"],
|
1582
1132
|
"hectonewton" => [2, "newton"], "hectoounce" => [2, "ounce"],
|
1583
1133
|
"hectoparsec" => [2, "parsec"], "hectopascal" => [2, "pascal"],
|
1584
|
-
"hectopentad" => [2, "pentad"], "
|
1585
|
-
"
|
1586
|
-
"hectosecond" => [2, "second"],
|
1134
|
+
"hectopentad" => [2, "pentad"], "hectopercent" => [2, "percent"],
|
1135
|
+
"hectopoise" => [2, "poise"], "hectopound" => [2, "pound"],
|
1136
|
+
"hectoradian" => [2, "radian"], "hectosecond" => [2, "second"],
|
1587
1137
|
"hectosecond_angle" => [2, "second_angle"],
|
1588
1138
|
"hectosteradian" => [2, "steradian"], "hectostokes" => [2, "stokes"],
|
1589
1139
|
"hectotesla" => [2, "tesla"], "hectoton" => [2, "ton"],
|
@@ -1594,29 +1144,28 @@ UALIASES = {
|
|
1594
1144
|
"herg" => [2, "erg"], "hertzes" => [0, "hertz"],
|
1595
1145
|
"hforce" => [2, "force"], "hg" => [2, "g"],
|
1596
1146
|
"hgravity" => [2, "gravity"], "hh" => [2, "h"], "hhg" => [2, "hg"],
|
1597
|
-
"hhr" => [2, "hr"], "hin" => [2, "in"], "
|
1598
|
-
"
|
1599
|
-
"
|
1600
|
-
"
|
1147
|
+
"hhr" => [2, "hr"], "hin" => [2, "in"], "hkgf" => [2, "kgf"],
|
1148
|
+
"hkph" => [2, "kph"], "hlb" => [2, "lb"], "hlm" => [2, "lm"],
|
1149
|
+
"hlx" => [2, "lx"], "hly" => [2, "ly"], "hm" => [2, "m"],
|
1150
|
+
"hmb" => [2, "mb"], "hmercury" => [2, "mercury"],
|
1601
1151
|
"hmgal" => [2, "mgal"], "hmin" => [2, "min"], "hmol" => [2, "mol"],
|
1602
1152
|
"hmon" => [2, "mon"], "hmph" => [2, "mph"], "hohm" => [2, "ohm"],
|
1603
1153
|
"hours" => [0, "hour"], "hoz" => [2, "oz"], "hpc" => [2, "pc"],
|
1604
|
-
"hpercent" => [2, "percent"], "hpermil" => [2, "permil"],
|
1605
1154
|
"hpsi" => [2, "psi"], "hrad" => [2, "rad"], "hs" => [2, "s"],
|
1606
1155
|
"hsr" => [2, "sr"], "ht" => [2, "t"], "hyr" => [2, "yr"],
|
1607
|
-
"inchs" => [0, "inch"], "joules" => [0, "joule"], "
|
1608
|
-
"
|
1609
|
-
"
|
1610
|
-
"
|
1611
|
-
"
|
1612
|
-
"
|
1613
|
-
"
|
1614
|
-
"
|
1615
|
-
"
|
1616
|
-
"
|
1617
|
-
"
|
1156
|
+
"inchs" => [0, "inch"], "joules" => [0, "joule"], "kA" => [3, "A"],
|
1157
|
+
"kAu" => [3, "Au"], "kBq" => [3, "Bq"], "kC" => [3, "C"],
|
1158
|
+
"kF" => [3, "F"], "kG" => [3, "G"], "kGal" => [3, "Gal"],
|
1159
|
+
"kGy" => [3, "Gy"], "kH" => [3, "H"], "kHg" => [3, "Hg"],
|
1160
|
+
"kHz" => [3, "Hz"], "kJ" => [3, "J"], "kK" => [3, "K"],
|
1161
|
+
"kL" => [3, "L"], "kN" => [3, "N"], "kP" => [3, "P"],
|
1162
|
+
"kPa" => [3, "Pa"], "kS" => [3, "S"], "kSt" => [3, "St"],
|
1163
|
+
"kSv" => [3, "Sv"], "kT" => [3, "T"], "kV" => [3, "V"],
|
1164
|
+
"kW" => [3, "W"], "kWb" => [3, "Wb"], "ka" => [3, "a"],
|
1165
|
+
"kac" => [3, "ac"], "katm" => [3, "atm"], "kbar" => [3, "bar"],
|
1166
|
+
"kcal" => [3, "cal"], "kcd" => [3, "cd"],
|
1618
1167
|
"kconventional_mercury" => [3, "conventional_mercury"],
|
1619
|
-
"
|
1168
|
+
"kdegC" => [3, "degC"], "kdegF" => [3, "degF"],
|
1620
1169
|
"kdeg_C" => [3, "deg_C"], "kdeg_F" => [3, "deg_F"],
|
1621
1170
|
"kdegreeC" => [3, "degreeC"], "kdegreeF" => [3, "degreeF"],
|
1622
1171
|
"kdegree_C" => [3, "degree_C"], "kdegree_E" => [3, "degree_E"],
|
@@ -1643,7 +1192,8 @@ UALIASES = {
|
|
1643
1192
|
"kiloangular_minute" => [3, "angular_minute"],
|
1644
1193
|
"kiloangular_second" => [3, "angular_second"],
|
1645
1194
|
"kiloare" => [3, "are"], "kiloatmosphere" => [3, "atmosphere"],
|
1646
|
-
"kilocalorie" => [3, "calorie"], "
|
1195
|
+
"kilocalorie" => [3, "calorie"], "kilocandela" => [3, "candela"],
|
1196
|
+
"kilocelsius" => [3, "celsius"],
|
1647
1197
|
"kilocentigrade" => [3, "centigrade"],
|
1648
1198
|
"kilocentury" => [3, "century"], "kilochain" => [3, "chain"],
|
1649
1199
|
"kilocommon_year" => [3, "common_year"],
|
@@ -1666,8 +1216,9 @@ UALIASES = {
|
|
1666
1216
|
"kilomonth" => [3, "month"], "kilonewton" => [3, "newton"],
|
1667
1217
|
"kiloounce" => [3, "ounce"], "kiloparsec" => [3, "parsec"],
|
1668
1218
|
"kilopascal" => [3, "pascal"], "kilopentad" => [3, "pentad"],
|
1669
|
-
"
|
1670
|
-
"
|
1219
|
+
"kilopercent" => [3, "percent"], "kilopoise" => [3, "poise"],
|
1220
|
+
"kilopound" => [3, "pound"], "kiloradian" => [3, "radian"],
|
1221
|
+
"kilosecond" => [3, "second"],
|
1671
1222
|
"kilosecond_angle" => [3, "second_angle"],
|
1672
1223
|
"kilosteradian" => [3, "steradian"], "kilostokes" => [3, "stokes"],
|
1673
1224
|
"kilotesla" => [3, "tesla"], "kiloton" => [3, "ton"],
|
@@ -1675,29 +1226,27 @@ UALIASES = {
|
|
1675
1226
|
"kilovolt" => [3, "volt"], "kilowatt" => [3, "watt"],
|
1676
1227
|
"kiloweber" => [3, "weber"], "kiloyard" => [3, "yard"],
|
1677
1228
|
"kiloyd" => [3, "yd"], "kiloyear" => [3, "year"],
|
1678
|
-
"kin" => [3, "in"], "
|
1679
|
-
"
|
1680
|
-
"
|
1681
|
-
"
|
1682
|
-
"
|
1683
|
-
"
|
1684
|
-
"
|
1685
|
-
"
|
1686
|
-
"
|
1687
|
-
"
|
1688
|
-
"
|
1689
|
-
"
|
1690
|
-
"
|
1691
|
-
"
|
1692
|
-
"
|
1693
|
-
"
|
1694
|
-
"
|
1695
|
-
"
|
1696
|
-
"
|
1697
|
-
"mac" => [-3, "ac"], "matm" => [-3, "atm"], "mbar" => [-3, "bar"],
|
1698
|
-
"mcal" => [-3, "cal"],
|
1229
|
+
"kin" => [3, "in"], "kkgf" => [3, "kgf"], "kkph" => [3, "kph"],
|
1230
|
+
"klb" => [3, "lb"], "klm" => [3, "lm"], "klx" => [3, "lx"],
|
1231
|
+
"kly" => [3, "ly"], "km" => [3, "m"], "kmb" => [3, "mb"],
|
1232
|
+
"kmercury" => [3, "mercury"], "kmgal" => [3, "mgal"],
|
1233
|
+
"kmin" => [3, "min"], "kmol" => [3, "mol"], "kmon" => [3, "mon"],
|
1234
|
+
"kmph" => [3, "mph"], "knots" => [0, "knot"], "kohm" => [3, "ohm"],
|
1235
|
+
"koz" => [3, "oz"], "kpc" => [3, "pc"], "kpsi" => [3, "psi"],
|
1236
|
+
"krad" => [3, "rad"], "ks" => [3, "s"], "ksr" => [3, "sr"],
|
1237
|
+
"kt" => [3, "t"], "kyr" => [3, "yr"], "litres" => [0, "litre"],
|
1238
|
+
"mA" => [-3, "A"], "mAu" => [-3, "Au"], "mBq" => [-3, "Bq"],
|
1239
|
+
"mC" => [-3, "C"], "mF" => [-3, "F"], "mG" => [-3, "G"],
|
1240
|
+
"mGal" => [-3, "Gal"], "mGy" => [-3, "Gy"], "mH" => [-3, "H"],
|
1241
|
+
"mHg" => [-3, "Hg"], "mHz" => [-3, "Hz"], "mJ" => [-3, "J"],
|
1242
|
+
"mK" => [-3, "K"], "mL" => [-3, "L"], "mN" => [-3, "N"],
|
1243
|
+
"mP" => [-3, "P"], "mPa" => [-3, "Pa"], "mS" => [-3, "S"],
|
1244
|
+
"mSt" => [-3, "St"], "mSv" => [-3, "Sv"], "mT" => [-3, "T"],
|
1245
|
+
"mV" => [-3, "V"], "mW" => [-3, "W"], "mWb" => [-3, "Wb"],
|
1246
|
+
"ma" => [-3, "a"], "mac" => [-3, "ac"], "matm" => [-3, "atm"],
|
1247
|
+
"mbar" => [-3, "bar"], "mcal" => [-3, "cal"], "mcd" => [-3, "cd"],
|
1699
1248
|
"mconventional_mercury" => [-3, "conventional_mercury"],
|
1700
|
-
"
|
1249
|
+
"mdegC" => [-3, "degC"], "mdegF" => [-3, "degF"],
|
1701
1250
|
"mdeg_C" => [-3, "deg_C"], "mdeg_F" => [-3, "deg_F"],
|
1702
1251
|
"mdegreeC" => [-3, "degreeC"], "mdegreeF" => [-3, "degreeF"],
|
1703
1252
|
"mdegree_C" => [-3, "degree_C"], "mdegree_E" => [-3, "degree_E"],
|
@@ -1722,7 +1271,8 @@ UALIASES = {
|
|
1722
1271
|
"megaangular_minute" => [6, "angular_minute"],
|
1723
1272
|
"megaangular_second" => [6, "angular_second"],
|
1724
1273
|
"megaare" => [6, "are"], "megaatmosphere" => [6, "atmosphere"],
|
1725
|
-
"megacalorie" => [6, "calorie"], "
|
1274
|
+
"megacalorie" => [6, "calorie"], "megacandela" => [6, "candela"],
|
1275
|
+
"megacelsius" => [6, "celsius"],
|
1726
1276
|
"megacentigrade" => [6, "centigrade"],
|
1727
1277
|
"megacentury" => [6, "century"], "megachain" => [6, "chain"],
|
1728
1278
|
"megacommon_year" => [6, "common_year"],
|
@@ -1745,8 +1295,9 @@ UALIASES = {
|
|
1745
1295
|
"megamonth" => [6, "month"], "meganewton" => [6, "newton"],
|
1746
1296
|
"megaounce" => [6, "ounce"], "megaparsec" => [6, "parsec"],
|
1747
1297
|
"megapascal" => [6, "pascal"], "megapentad" => [6, "pentad"],
|
1748
|
-
"
|
1749
|
-
"
|
1298
|
+
"megapercent" => [6, "percent"], "megapoise" => [6, "poise"],
|
1299
|
+
"megapound" => [6, "pound"], "megaradian" => [6, "radian"],
|
1300
|
+
"megasecond" => [6, "second"],
|
1750
1301
|
"megasecond_angle" => [6, "second_angle"],
|
1751
1302
|
"megasteradian" => [6, "steradian"], "megastokes" => [6, "stokes"],
|
1752
1303
|
"megatesla" => [6, "tesla"], "megaton" => [6, "ton"],
|
@@ -1767,7 +1318,8 @@ UALIASES = {
|
|
1767
1318
|
"microangular_minute" => [-6, "angular_minute"],
|
1768
1319
|
"microangular_second" => [-6, "angular_second"],
|
1769
1320
|
"microare" => [-6, "are"], "microatmosphere" => [-6, "atmosphere"],
|
1770
|
-
"microcalorie" => [-6, "calorie"], "
|
1321
|
+
"microcalorie" => [-6, "calorie"], "microcandela" => [-6, "candela"],
|
1322
|
+
"microcelsius" => [-6, "celsius"],
|
1771
1323
|
"microcentigrade" => [-6, "centigrade"],
|
1772
1324
|
"microcentury" => [-6, "century"], "microchain" => [-6, "chain"],
|
1773
1325
|
"microcommon_year" => [-6, "common_year"],
|
@@ -1791,8 +1343,9 @@ UALIASES = {
|
|
1791
1343
|
"micronewton" => [-6, "newton"], "microns" => [0, "micron"],
|
1792
1344
|
"microounce" => [-6, "ounce"], "microparsec" => [-6, "parsec"],
|
1793
1345
|
"micropascal" => [-6, "pascal"], "micropentad" => [-6, "pentad"],
|
1794
|
-
"
|
1795
|
-
"
|
1346
|
+
"micropercent" => [-6, "percent"], "micropoise" => [-6, "poise"],
|
1347
|
+
"micropound" => [-6, "pound"], "microradian" => [-6, "radian"],
|
1348
|
+
"microsecond" => [-6, "second"],
|
1796
1349
|
"microsecond_angle" => [-6, "second_angle"],
|
1797
1350
|
"microsteradian" => [-6, "steradian"],
|
1798
1351
|
"microstokes" => [-6, "stokes"], "microtesla" => [-6, "tesla"],
|
@@ -1811,7 +1364,7 @@ UALIASES = {
|
|
1811
1364
|
"milliangular_second" => [-3, "angular_second"],
|
1812
1365
|
"milliare" => [-3, "are"], "milliatmosphere" => [-3, "atmosphere"],
|
1813
1366
|
"millibars" => [0, "millibar"], "millicalorie" => [-3, "calorie"],
|
1814
|
-
"millicelsius" => [-3, "celsius"],
|
1367
|
+
"millicandela" => [-3, "candela"], "millicelsius" => [-3, "celsius"],
|
1815
1368
|
"millicentigrade" => [-3, "centigrade"],
|
1816
1369
|
"millicentury" => [-3, "century"], "millichain" => [-3, "chain"],
|
1817
1370
|
"millicommon_year" => [-3, "common_year"],
|
@@ -1834,9 +1387,9 @@ UALIASES = {
|
|
1834
1387
|
"millimole" => [-3, "mole"], "millimonth" => [-3, "month"],
|
1835
1388
|
"millinewton" => [-3, "newton"], "milliounce" => [-3, "ounce"],
|
1836
1389
|
"milliparsec" => [-3, "parsec"], "millipascal" => [-3, "pascal"],
|
1837
|
-
"millipentad" => [-3, "pentad"], "
|
1838
|
-
"
|
1839
|
-
"millisecond" => [-3, "second"],
|
1390
|
+
"millipentad" => [-3, "pentad"], "millipercent" => [-3, "percent"],
|
1391
|
+
"millipoise" => [-3, "poise"], "millipound" => [-3, "pound"],
|
1392
|
+
"milliradian" => [-3, "radian"], "millisecond" => [-3, "second"],
|
1840
1393
|
"millisecond_angle" => [-3, "second_angle"],
|
1841
1394
|
"millisteradian" => [-3, "steradian"],
|
1842
1395
|
"millistokes" => [-3, "stokes"], "millitesla" => [-3, "tesla"],
|
@@ -1846,27 +1399,25 @@ UALIASES = {
|
|
1846
1399
|
"milliyard" => [-3, "yard"], "milliyd" => [-3, "yd"],
|
1847
1400
|
"milliyear" => [-3, "year"], "min" => [-3, "in"],
|
1848
1401
|
"minutes" => [0, "minute"], "minutes_angle" => [0, "minute_angle"],
|
1849
|
-
"
|
1850
|
-
"
|
1851
|
-
"
|
1402
|
+
"mkgf" => [-3, "kgf"], "mkph" => [-3, "kph"], "mlb" => [-3, "lb"],
|
1403
|
+
"mlm" => [-3, "lm"], "mlx" => [-3, "lx"], "mly" => [-3, "ly"],
|
1404
|
+
"mm" => [-3, "m"], "mmb" => [-3, "mb"],
|
1852
1405
|
"mmercury" => [-3, "mercury"], "mmgal" => [-3, "mgal"],
|
1853
1406
|
"mmin" => [-3, "min"], "mmol" => [-3, "mol"], "mmon" => [-3, "mon"],
|
1854
1407
|
"mmph" => [-3, "mph"], "mohm" => [-3, "ohm"],
|
1855
1408
|
"moles" => [0, "mole"], "months" => [0, "month"],
|
1856
|
-
"moz" => [-3, "oz"], "mpc" => [-3, "pc"],
|
1857
|
-
"
|
1858
|
-
"
|
1859
|
-
"
|
1860
|
-
"
|
1861
|
-
"
|
1862
|
-
"
|
1863
|
-
"
|
1864
|
-
"
|
1865
|
-
"
|
1866
|
-
"
|
1867
|
-
"
|
1868
|
-
"nWb" => [-9, "Wb"], "na" => [-9, "a"], "nac" => [-9, "ac"],
|
1869
|
-
"nanoCelsius" => [-9, "Celsius"],
|
1409
|
+
"moz" => [-3, "oz"], "mpc" => [-3, "pc"], "mpsi" => [-3, "psi"],
|
1410
|
+
"mrad" => [-3, "rad"], "ms" => [-3, "s"], "msr" => [-3, "sr"],
|
1411
|
+
"mt" => [-3, "t"], "myr" => [-3, "yr"], "nA" => [-9, "A"],
|
1412
|
+
"nAu" => [-9, "Au"], "nBq" => [-9, "Bq"], "nC" => [-9, "C"],
|
1413
|
+
"nF" => [-9, "F"], "nG" => [-9, "G"], "nGal" => [-9, "Gal"],
|
1414
|
+
"nGy" => [-9, "Gy"], "nH" => [-9, "H"], "nHg" => [-9, "Hg"],
|
1415
|
+
"nHz" => [-9, "Hz"], "nJ" => [-9, "J"], "nK" => [-9, "K"],
|
1416
|
+
"nL" => [-9, "L"], "nN" => [-9, "N"], "nP" => [-9, "P"],
|
1417
|
+
"nPa" => [-9, "Pa"], "nS" => [-9, "S"], "nSt" => [-9, "St"],
|
1418
|
+
"nSv" => [-9, "Sv"], "nT" => [-9, "T"], "nV" => [-9, "V"],
|
1419
|
+
"nW" => [-9, "W"], "nWb" => [-9, "Wb"], "na" => [-9, "a"],
|
1420
|
+
"nac" => [-9, "ac"], "nanoCelsius" => [-9, "Celsius"],
|
1870
1421
|
"nanoFahrenheit" => [-9, "Fahrenheit"],
|
1871
1422
|
"nanoJulian_year" => [-9, "Julian_year"],
|
1872
1423
|
"nanoPascal" => [-9, "Pascal"], "nanoacre" => [-9, "acre"],
|
@@ -1875,7 +1426,8 @@ UALIASES = {
|
|
1875
1426
|
"nanoangular_minute" => [-9, "angular_minute"],
|
1876
1427
|
"nanoangular_second" => [-9, "angular_second"],
|
1877
1428
|
"nanoare" => [-9, "are"], "nanoatmosphere" => [-9, "atmosphere"],
|
1878
|
-
"nanocalorie" => [-9, "calorie"], "
|
1429
|
+
"nanocalorie" => [-9, "calorie"], "nanocandela" => [-9, "candela"],
|
1430
|
+
"nanocelsius" => [-9, "celsius"],
|
1879
1431
|
"nanocentigrade" => [-9, "centigrade"],
|
1880
1432
|
"nanocentury" => [-9, "century"], "nanochain" => [-9, "chain"],
|
1881
1433
|
"nanocommon_year" => [-9, "common_year"],
|
@@ -1898,9 +1450,9 @@ UALIASES = {
|
|
1898
1450
|
"nanomole" => [-9, "mole"], "nanomonth" => [-9, "month"],
|
1899
1451
|
"nanonewton" => [-9, "newton"], "nanoounce" => [-9, "ounce"],
|
1900
1452
|
"nanoparsec" => [-9, "parsec"], "nanopascal" => [-9, "pascal"],
|
1901
|
-
"nanopentad" => [-9, "pentad"], "
|
1902
|
-
"
|
1903
|
-
"nanosecond" => [-9, "second"],
|
1453
|
+
"nanopentad" => [-9, "pentad"], "nanopercent" => [-9, "percent"],
|
1454
|
+
"nanopoise" => [-9, "poise"], "nanopound" => [-9, "pound"],
|
1455
|
+
"nanoradian" => [-9, "radian"], "nanosecond" => [-9, "second"],
|
1904
1456
|
"nanosecond_angle" => [-9, "second_angle"],
|
1905
1457
|
"nanosteradian" => [-9, "steradian"], "nanostokes" => [-9, "stokes"],
|
1906
1458
|
"nanotesla" => [-9, "tesla"], "nanoton" => [-9, "ton"],
|
@@ -1909,8 +1461,9 @@ UALIASES = {
|
|
1909
1461
|
"nanoweber" => [-9, "weber"], "nanoyard" => [-9, "yard"],
|
1910
1462
|
"nanoyd" => [-9, "yd"], "nanoyear" => [-9, "year"],
|
1911
1463
|
"natm" => [-9, "atm"], "nbar" => [-9, "bar"], "ncal" => [-9, "cal"],
|
1464
|
+
"ncd" => [-9, "cd"],
|
1912
1465
|
"nconventional_mercury" => [-9, "conventional_mercury"],
|
1913
|
-
"
|
1466
|
+
"ndegC" => [-9, "degC"], "ndegF" => [-9, "degF"],
|
1914
1467
|
"ndeg_C" => [-9, "deg_C"], "ndeg_F" => [-9, "deg_F"],
|
1915
1468
|
"ndegreeC" => [-9, "degreeC"], "ndegreeF" => [-9, "degreeF"],
|
1916
1469
|
"ndegree_C" => [-9, "degree_C"], "ndegree_E" => [-9, "degree_E"],
|
@@ -1930,37 +1483,35 @@ UALIASES = {
|
|
1930
1483
|
"nforce" => [-9, "force"], "ng" => [-9, "g"],
|
1931
1484
|
"ngravity" => [-9, "gravity"], "nh" => [-9, "h"],
|
1932
1485
|
"nhg" => [-9, "hg"], "nhr" => [-9, "hr"], "nin" => [-9, "in"],
|
1933
|
-
"
|
1934
|
-
"
|
1935
|
-
"
|
1486
|
+
"nkgf" => [-9, "kgf"], "nkph" => [-9, "kph"], "nlb" => [-9, "lb"],
|
1487
|
+
"nlm" => [-9, "lm"], "nlx" => [-9, "lx"], "nly" => [-9, "ly"],
|
1488
|
+
"nm" => [-9, "m"], "nmb" => [-9, "mb"],
|
1936
1489
|
"nmercury" => [-9, "mercury"], "nmgal" => [-9, "mgal"],
|
1937
1490
|
"nmin" => [-9, "min"], "nmol" => [-9, "mol"], "nmon" => [-9, "mon"],
|
1938
1491
|
"nmph" => [-9, "mph"], "nohm" => [-9, "ohm"], "noz" => [-9, "oz"],
|
1939
|
-
"npc" => [-9, "pc"], "
|
1940
|
-
"
|
1941
|
-
"
|
1942
|
-
"
|
1943
|
-
"
|
1944
|
-
"
|
1945
|
-
"
|
1946
|
-
"
|
1947
|
-
"
|
1948
|
-
"
|
1949
|
-
"
|
1950
|
-
"
|
1951
|
-
"
|
1952
|
-
"
|
1953
|
-
"
|
1954
|
-
"pcal" => [-12, "cal"],
|
1492
|
+
"npc" => [-9, "pc"], "npsi" => [-9, "psi"], "nrad" => [-9, "rad"],
|
1493
|
+
"ns" => [-9, "s"], "nsr" => [-9, "sr"], "nt" => [-9, "t"],
|
1494
|
+
"nyr" => [-9, "yr"], "ounces" => [0, "ounce"], "pA" => [-12, "A"],
|
1495
|
+
"pAu" => [-12, "Au"], "pBq" => [-12, "Bq"], "pC" => [-12, "C"],
|
1496
|
+
"pF" => [-12, "F"], "pG" => [-12, "G"], "pGal" => [-12, "Gal"],
|
1497
|
+
"pGy" => [-12, "Gy"], "pH" => [-12, "H"], "pHg" => [-12, "Hg"],
|
1498
|
+
"pHz" => [-12, "Hz"], "pJ" => [-12, "J"], "pK" => [-12, "K"],
|
1499
|
+
"pL" => [-12, "L"], "pN" => [-12, "N"], "pP" => [-12, "P"],
|
1500
|
+
"pPa" => [-12, "Pa"], "pS" => [-12, "S"], "pSt" => [-12, "St"],
|
1501
|
+
"pSv" => [-12, "Sv"], "pT" => [-12, "T"], "pV" => [-12, "V"],
|
1502
|
+
"pW" => [-12, "W"], "pWb" => [-12, "Wb"], "pa" => [-12, "a"],
|
1503
|
+
"pac" => [-12, "ac"], "parsecs" => [0, "parsec"],
|
1504
|
+
"pascals" => [0, "pascal"], "patm" => [-12, "atm"],
|
1505
|
+
"pbar" => [-12, "bar"], "pcal" => [-12, "cal"],
|
1506
|
+
"pcd" => [-12, "cd"],
|
1955
1507
|
"pconventional_mercury" => [-12, "conventional_mercury"],
|
1956
|
-
"
|
1957
|
-
"
|
1958
|
-
"
|
1959
|
-
"
|
1960
|
-
"
|
1961
|
-
"
|
1962
|
-
"
|
1963
|
-
"pdegree_c" => [-12, "degree_c"],
|
1508
|
+
"pdegC" => [-12, "degC"], "pdegF" => [-12, "degF"],
|
1509
|
+
"pdeg_C" => [-12, "deg_C"], "pdeg_F" => [-12, "deg_F"],
|
1510
|
+
"pdegreeC" => [-12, "degreeC"], "pdegreeF" => [-12, "degreeF"],
|
1511
|
+
"pdegree_C" => [-12, "degree_C"], "pdegree_E" => [-12, "degree_E"],
|
1512
|
+
"pdegree_F" => [-12, "degree_F"], "pdegree_N" => [-12, "degree_N"],
|
1513
|
+
"pdegree_R" => [-12, "degree_R"], "pdegree_S" => [-12, "degree_S"],
|
1514
|
+
"pdegree_W" => [-12, "degree_W"], "pdegree_c" => [-12, "degree_c"],
|
1964
1515
|
"pdegree_east" => [-12, "degree_east"],
|
1965
1516
|
"pdegree_f" => [-12, "degree_f"],
|
1966
1517
|
"pdegree_north" => [-12, "degree_north"],
|
@@ -1970,8 +1521,8 @@ UALIASES = {
|
|
1970
1521
|
"pdegrees_north" => [-12, "degrees_north"],
|
1971
1522
|
"pdegrees_south" => [-12, "degrees_south"],
|
1972
1523
|
"pdegrees_west" => [-12, "degrees_west"], "pdyn" => [-12, "dyn"],
|
1973
|
-
"pentads" => [0, "pentad"], "
|
1974
|
-
"petaCelsius" => [15, "Celsius"],
|
1524
|
+
"pentads" => [0, "pentad"], "percents" => [0, "percent"],
|
1525
|
+
"perg" => [-12, "erg"], "petaCelsius" => [15, "Celsius"],
|
1975
1526
|
"petaFahrenheit" => [15, "Fahrenheit"],
|
1976
1527
|
"petaJulian_year" => [15, "Julian_year"],
|
1977
1528
|
"petaPascal" => [15, "Pascal"], "petaacre" => [15, "acre"],
|
@@ -1980,7 +1531,8 @@ UALIASES = {
|
|
1980
1531
|
"petaangular_minute" => [15, "angular_minute"],
|
1981
1532
|
"petaangular_second" => [15, "angular_second"],
|
1982
1533
|
"petaare" => [15, "are"], "petaatmosphere" => [15, "atmosphere"],
|
1983
|
-
"petacalorie" => [15, "calorie"], "
|
1534
|
+
"petacalorie" => [15, "calorie"], "petacandela" => [15, "candela"],
|
1535
|
+
"petacelsius" => [15, "celsius"],
|
1984
1536
|
"petacentigrade" => [15, "centigrade"],
|
1985
1537
|
"petacentury" => [15, "century"], "petachain" => [15, "chain"],
|
1986
1538
|
"petacommon_year" => [15, "common_year"],
|
@@ -2003,9 +1555,9 @@ UALIASES = {
|
|
2003
1555
|
"petamole" => [15, "mole"], "petamonth" => [15, "month"],
|
2004
1556
|
"petanewton" => [15, "newton"], "petaounce" => [15, "ounce"],
|
2005
1557
|
"petaparsec" => [15, "parsec"], "petapascal" => [15, "pascal"],
|
2006
|
-
"petapentad" => [15, "pentad"], "
|
2007
|
-
"
|
2008
|
-
"petasecond" => [15, "second"],
|
1558
|
+
"petapentad" => [15, "pentad"], "petapercent" => [15, "percent"],
|
1559
|
+
"petapoise" => [15, "poise"], "petapound" => [15, "pound"],
|
1560
|
+
"petaradian" => [15, "radian"], "petasecond" => [15, "second"],
|
2009
1561
|
"petasecond_angle" => [15, "second_angle"],
|
2010
1562
|
"petasteradian" => [15, "steradian"], "petastokes" => [15, "stokes"],
|
2011
1563
|
"petatesla" => [15, "tesla"], "petaton" => [15, "ton"],
|
@@ -2025,7 +1577,8 @@ UALIASES = {
|
|
2025
1577
|
"picoangular_minute" => [-12, "angular_minute"],
|
2026
1578
|
"picoangular_second" => [-12, "angular_second"],
|
2027
1579
|
"picoare" => [-12, "are"], "picoatmosphere" => [-12, "atmosphere"],
|
2028
|
-
"picocalorie" => [-12, "calorie"], "
|
1580
|
+
"picocalorie" => [-12, "calorie"], "picocandela" => [-12, "candela"],
|
1581
|
+
"picocelsius" => [-12, "celsius"],
|
2029
1582
|
"picocentigrade" => [-12, "centigrade"],
|
2030
1583
|
"picocentury" => [-12, "century"], "picochain" => [-12, "chain"],
|
2031
1584
|
"picocommon_year" => [-12, "common_year"],
|
@@ -2048,9 +1601,9 @@ UALIASES = {
|
|
2048
1601
|
"picomole" => [-12, "mole"], "picomonth" => [-12, "month"],
|
2049
1602
|
"piconewton" => [-12, "newton"], "picoounce" => [-12, "ounce"],
|
2050
1603
|
"picoparsec" => [-12, "parsec"], "picopascal" => [-12, "pascal"],
|
2051
|
-
"picopentad" => [-12, "pentad"], "
|
2052
|
-
"
|
2053
|
-
"picosecond" => [-12, "second"],
|
1604
|
+
"picopentad" => [-12, "pentad"], "picopercent" => [-12, "percent"],
|
1605
|
+
"picopoise" => [-12, "poise"], "picopound" => [-12, "pound"],
|
1606
|
+
"picoradian" => [-12, "radian"], "picosecond" => [-12, "second"],
|
2054
1607
|
"picosecond_angle" => [-12, "second_angle"],
|
2055
1608
|
"picosteradian" => [-12, "steradian"],
|
2056
1609
|
"picostokes" => [-12, "stokes"], "picotesla" => [-12, "tesla"],
|
@@ -2059,18 +1612,17 @@ UALIASES = {
|
|
2059
1612
|
"picowatt" => [-12, "watt"], "picoweber" => [-12, "weber"],
|
2060
1613
|
"picoyard" => [-12, "yard"], "picoyd" => [-12, "yd"],
|
2061
1614
|
"picoyear" => [-12, "year"], "pin" => [-12, "in"],
|
2062
|
-
"
|
2063
|
-
"
|
2064
|
-
"
|
2065
|
-
"
|
2066
|
-
"
|
2067
|
-
"
|
2068
|
-
"
|
2069
|
-
"
|
2070
|
-
"
|
2071
|
-
"
|
2072
|
-
"
|
2073
|
-
"psr" => [-12, "sr"], "pt" => [-12, "t"], "pyr" => [-12, "yr"],
|
1615
|
+
"pkgf" => [-12, "kgf"], "pkph" => [-12, "kph"],
|
1616
|
+
"plb" => [-12, "lb"], "plm" => [-12, "lm"], "plx" => [-12, "lx"],
|
1617
|
+
"ply" => [-12, "ly"], "pm" => [-12, "m"], "pmb" => [-12, "mb"],
|
1618
|
+
"pmercury" => [-12, "mercury"], "pmgal" => [-12, "mgal"],
|
1619
|
+
"pmin" => [-12, "min"], "pmol" => [-12, "mol"],
|
1620
|
+
"pmon" => [-12, "mon"], "pmph" => [-12, "mph"],
|
1621
|
+
"pohm" => [-12, "ohm"], "poises" => [0, "poise"],
|
1622
|
+
"pounds" => [0, "pound"], "poz" => [-12, "oz"],
|
1623
|
+
"ppc" => [-12, "pc"], "ppsi" => [-12, "psi"],
|
1624
|
+
"prad" => [-12, "rad"], "ps" => [-12, "s"], "psr" => [-12, "sr"],
|
1625
|
+
"pt" => [-12, "t"], "pyr" => [-12, "yr"],
|
2074
1626
|
"radians" => [0, "radian"], "seconds" => [0, "second"],
|
2075
1627
|
"seconds_angle" => [0, "second_angle"],
|
2076
1628
|
"steradians" => [0, "steradian"], "stokeses" => [0, "stokes"],
|
@@ -2083,7 +1635,8 @@ UALIASES = {
|
|
2083
1635
|
"telaangular_minute" => [12, "angular_minute"],
|
2084
1636
|
"telaangular_second" => [12, "angular_second"],
|
2085
1637
|
"telaare" => [12, "are"], "telaatmosphere" => [12, "atmosphere"],
|
2086
|
-
"telacalorie" => [12, "calorie"], "
|
1638
|
+
"telacalorie" => [12, "calorie"], "telacandela" => [12, "candela"],
|
1639
|
+
"telacelsius" => [12, "celsius"],
|
2087
1640
|
"telacentigrade" => [12, "centigrade"],
|
2088
1641
|
"telacentury" => [12, "century"], "telachain" => [12, "chain"],
|
2089
1642
|
"telacommon_year" => [12, "common_year"],
|
@@ -2106,9 +1659,9 @@ UALIASES = {
|
|
2106
1659
|
"telamole" => [12, "mole"], "telamonth" => [12, "month"],
|
2107
1660
|
"telanewton" => [12, "newton"], "telaounce" => [12, "ounce"],
|
2108
1661
|
"telaparsec" => [12, "parsec"], "telapascal" => [12, "pascal"],
|
2109
|
-
"telapentad" => [12, "pentad"], "
|
2110
|
-
"
|
2111
|
-
"telasecond" => [12, "second"],
|
1662
|
+
"telapentad" => [12, "pentad"], "telapercent" => [12, "percent"],
|
1663
|
+
"telapoise" => [12, "poise"], "telapound" => [12, "pound"],
|
1664
|
+
"telaradian" => [12, "radian"], "telasecond" => [12, "second"],
|
2112
1665
|
"telasecond_angle" => [12, "second_angle"],
|
2113
1666
|
"telasteradian" => [12, "steradian"], "telastokes" => [12, "stokes"],
|
2114
1667
|
"telatesla" => [12, "tesla"], "telaton" => [12, "ton"],
|
@@ -2117,19 +1670,19 @@ UALIASES = {
|
|
2117
1670
|
"telaweber" => [12, "weber"], "telayard" => [12, "yard"],
|
2118
1671
|
"telayd" => [12, "yd"], "telayear" => [12, "year"],
|
2119
1672
|
"teslas" => [0, "tesla"], "tonnes" => [0, "tonne"],
|
2120
|
-
"tons" => [0, "ton"], "torrs" => [0, "torr"], "
|
2121
|
-
"
|
2122
|
-
"
|
2123
|
-
"
|
2124
|
-
"
|
2125
|
-
"
|
2126
|
-
"
|
2127
|
-
"
|
2128
|
-
"
|
2129
|
-
"
|
2130
|
-
"
|
1673
|
+
"tons" => [0, "ton"], "torrs" => [0, "torr"], "uA" => [-6, "A"],
|
1674
|
+
"uAu" => [-6, "Au"], "uBq" => [-6, "Bq"], "uC" => [-6, "C"],
|
1675
|
+
"uF" => [-6, "F"], "uG" => [-6, "G"], "uGal" => [-6, "Gal"],
|
1676
|
+
"uGy" => [-6, "Gy"], "uH" => [-6, "H"], "uHg" => [-6, "Hg"],
|
1677
|
+
"uHz" => [-6, "Hz"], "uJ" => [-6, "J"], "uK" => [-6, "K"],
|
1678
|
+
"uL" => [-6, "L"], "uN" => [-6, "N"], "uP" => [-6, "P"],
|
1679
|
+
"uPa" => [-6, "Pa"], "uS" => [-6, "S"], "uSt" => [-6, "St"],
|
1680
|
+
"uSv" => [-6, "Sv"], "uT" => [-6, "T"], "uV" => [-6, "V"],
|
1681
|
+
"uW" => [-6, "W"], "uWb" => [-6, "Wb"], "ua" => [-6, "a"],
|
1682
|
+
"uac" => [-6, "ac"], "uatm" => [-6, "atm"], "ubar" => [-6, "bar"],
|
1683
|
+
"ucal" => [-6, "cal"], "ucd" => [-6, "cd"],
|
2131
1684
|
"uconventional_mercury" => [-6, "conventional_mercury"],
|
2132
|
-
"
|
1685
|
+
"udegC" => [-6, "degC"], "udegF" => [-6, "degF"],
|
2133
1686
|
"udeg_C" => [-6, "deg_C"], "udeg_F" => [-6, "deg_F"],
|
2134
1687
|
"udegreeC" => [-6, "degreeC"], "udegreeF" => [-6, "degreeF"],
|
2135
1688
|
"udegree_C" => [-6, "degree_C"], "udegree_E" => [-6, "degree_E"],
|
@@ -2148,18 +1701,17 @@ UALIASES = {
|
|
2148
1701
|
"uerg" => [-6, "erg"], "uforce" => [-6, "force"], "ug" => [-6, "g"],
|
2149
1702
|
"ugravity" => [-6, "gravity"], "uh" => [-6, "h"],
|
2150
1703
|
"uhg" => [-6, "hg"], "uhr" => [-6, "hr"], "uin" => [-6, "in"],
|
2151
|
-
"
|
2152
|
-
"
|
2153
|
-
"
|
1704
|
+
"ukgf" => [-6, "kgf"], "ukph" => [-6, "kph"], "ulb" => [-6, "lb"],
|
1705
|
+
"ulm" => [-6, "lm"], "ulx" => [-6, "lx"], "uly" => [-6, "ly"],
|
1706
|
+
"um" => [-6, "m"], "umb" => [-6, "mb"],
|
2154
1707
|
"umercury" => [-6, "mercury"], "umgal" => [-6, "mgal"],
|
2155
1708
|
"umin" => [-6, "min"], "umol" => [-6, "mol"], "umon" => [-6, "mon"],
|
2156
1709
|
"umph" => [-6, "mph"], "uohm" => [-6, "ohm"], "uoz" => [-6, "oz"],
|
2157
|
-
"upc" => [-6, "pc"], "
|
2158
|
-
"
|
2159
|
-
"
|
2160
|
-
"
|
2161
|
-
"
|
2162
|
-
"yards" => [0, "yard"], "yds" => [0, "yd"], "years" => [0, "year"],
|
1710
|
+
"upc" => [-6, "pc"], "upsi" => [-6, "psi"], "urad" => [-6, "rad"],
|
1711
|
+
"us" => [-6, "s"], "usr" => [-6, "sr"], "ut" => [-6, "t"],
|
1712
|
+
"uyr" => [-6, "yr"], "volts" => [0, "volt"], "watts" => [0, "watt"],
|
1713
|
+
"webers" => [0, "weber"], "yards" => [0, "yard"],
|
1714
|
+
"yds" => [0, "yd"], "years" => [0, "year"],
|
2163
1715
|
}
|
2164
1716
|
UPLURALS = {
|
2165
1717
|
"Celsiuses" => "Celsius", "Fahrenheits" => "Fahrenheit",
|
@@ -2169,22 +1721,23 @@ UPLURALS = {
|
|
2169
1721
|
"angulars_minute" => "angular_minute",
|
2170
1722
|
"angulars_second" => "angular_second", "ares" => "are",
|
2171
1723
|
"atmospheres" => "atmosphere", "calories" => "calorie",
|
2172
|
-
"
|
2173
|
-
"
|
2174
|
-
"
|
2175
|
-
"
|
2176
|
-
"
|
2177
|
-
"
|
2178
|
-
"
|
2179
|
-
"
|
2180
|
-
"
|
2181
|
-
"
|
2182
|
-
"
|
2183
|
-
"
|
2184
|
-
"
|
2185
|
-
"
|
2186
|
-
"
|
2187
|
-
"
|
1724
|
+
"candelas" => "candela", "celsiuses" => "celsius",
|
1725
|
+
"centigrades" => "centigrade", "centuries" => "century",
|
1726
|
+
"chains" => "chain", "commons_year" => "common_year",
|
1727
|
+
"coulombs" => "coulomb", "days" => "day", "degKs" => "degK",
|
1728
|
+
"degreeKs" => "degreeK", "degrees" => "degree", "degs_K" => "deg_K",
|
1729
|
+
"dynes" => "dyne", "ergs" => "erg", "fahrenheits" => "fahrenheit",
|
1730
|
+
"farads" => "farad", "fermis" => "fermi", "gals" => "gal",
|
1731
|
+
"gausses" => "gauss", "grams" => "gram", "hectares" => "hectare",
|
1732
|
+
"hertzes" => "hertz", "hours" => "hour", "inchs" => "inch",
|
1733
|
+
"joules" => "joule", "kelvins" => "kelvin",
|
1734
|
+
"kilograms" => "kilogram", "knots" => "knot", "litres" => "litre",
|
1735
|
+
"meters" => "meter", "metres" => "metre", "microns" => "micron",
|
1736
|
+
"miles" => "mile", "millibars" => "millibar", "minutes" => "minute",
|
1737
|
+
"minutes_angle" => "minute_angle", "moles" => "mole",
|
1738
|
+
"months" => "month", "newtons" => "newton", "ounces" => "ounce",
|
1739
|
+
"parsecs" => "parsec", "pascals" => "pascal", "pentads" => "pentad",
|
1740
|
+
"percents" => "percent", "poises" => "poise", "pounds" => "pound",
|
2188
1741
|
"radians" => "radian", "seconds" => "second",
|
2189
1742
|
"seconds_angle" => "second_angle", "steradians" => "steradian",
|
2190
1743
|
"stokeses" => "stokes", "teslas" => "tesla", "tonnes" => "tonne",
|
@@ -2803,7 +2356,7 @@ def next_token
|
|
2803
2356
|
end
|
2804
2357
|
|
2805
2358
|
if :TIME_SEEN === @lexstat \
|
2806
|
-
and @copy.sub!(%r{^UTC[ \t]*}, '') then
|
2359
|
+
and @copy.sub!(%r{^(UTC|Z)[ \t]*}, '') then
|
2807
2360
|
@lexstat = nil
|
2808
2361
|
return [:ZONE, 0]
|
2809
2362
|
end
|
@@ -3127,257 +2680,299 @@ def self::pow_f(a, b)
|
|
3127
2680
|
a ** b
|
3128
2681
|
end
|
3129
2682
|
end
|
3130
|
-
|
3131
|
-
#####
|
3132
|
-
|
3133
|
-
racc_reduce_table = [
|
3134
|
-
0, 0, :racc_error,
|
3135
|
-
0, 17, :_reduce_none,
|
3136
|
-
1, 17, :_reduce_2,
|
3137
|
-
1, 17, :_reduce_3,
|
3138
|
-
1, 18, :_reduce_none,
|
3139
|
-
3, 18, :_reduce_5,
|
3140
|
-
3, 18, :_reduce_6,
|
3141
|
-
1, 19, :_reduce_none,
|
3142
|
-
1, 19, :_reduce_none,
|
3143
|
-
2, 19, :_reduce_9,
|
3144
|
-
3, 19, :_reduce_10,
|
3145
|
-
3, 19, :_reduce_11,
|
3146
|
-
3, 19, :_reduce_12,
|
3147
|
-
3, 19, :_reduce_13,
|
3148
|
-
1, 22, :_reduce_14,
|
3149
|
-
2, 22, :_reduce_15,
|
3150
|
-
3, 22, :_reduce_16,
|
3151
|
-
3, 22, :_reduce_17,
|
3152
|
-
1, 20, :_reduce_none,
|
3153
|
-
3, 20, :_reduce_19,
|
3154
|
-
1, 23, :_reduce_20,
|
3155
|
-
1, 23, :_reduce_21,
|
3156
|
-
1, 21, :_reduce_none,
|
3157
|
-
3, 21, :_reduce_23,
|
3158
|
-
1, 24, :_reduce_24,
|
3159
|
-
2, 24, :_reduce_25,
|
3160
|
-
3, 24, :_reduce_26 ]
|
3161
|
-
|
3162
|
-
racc_reduce_n = 27
|
3163
|
-
|
3164
|
-
racc_shift_n = 39
|
2683
|
+
...end units.racc/module_eval...
|
2684
|
+
##### State transition tables begin ###
|
3165
2685
|
|
3166
2686
|
racc_action_table = [
|
3167
|
-
3,
|
3168
|
-
9,
|
3169
|
-
|
3170
|
-
|
3171
|
-
|
3172
|
-
nil,
|
3173
|
-
|
2687
|
+
3, 9, 35, 9, 32, 9, 19, 11, 10, 7,
|
2688
|
+
10, 9, 10, 8, 25, 31, 36, 23, 10, 7,
|
2689
|
+
9, 37, 9, 8, 9, 38, nil, 10, 7, 10,
|
2690
|
+
7, 10, 8, 25, 8, 9, 23, nil, 12, 9,
|
2691
|
+
14, 15, 10, 9, 7, 17, 10, 31, 8, 17,
|
2692
|
+
10, 9, nil, 9, nil, nil, nil, 17, 10, 17,
|
2693
|
+
10 ]
|
3174
2694
|
|
3175
2695
|
racc_action_check = [
|
3176
|
-
0, 0,
|
3177
|
-
|
3178
|
-
|
3179
|
-
|
3180
|
-
|
3181
|
-
nil,
|
3182
|
-
|
2696
|
+
0, 0, 25, 31, 18, 23, 11, 1, 0, 0,
|
2697
|
+
31, 14, 23, 0, 23, 31, 33, 23, 14, 14,
|
2698
|
+
8, 34, 15, 14, 12, 35, nil, 8, 8, 15,
|
2699
|
+
15, 12, 8, 12, 15, 17, 12, nil, 4, 5,
|
2700
|
+
4, 4, 17, 28, 4, 5, 5, 17, 4, 28,
|
2701
|
+
28, 13, nil, 26, nil, nil, nil, 13, 13, 26,
|
2702
|
+
26 ]
|
3183
2703
|
|
3184
2704
|
racc_action_pointer = [
|
3185
|
-
-1,
|
3186
|
-
nil,
|
3187
|
-
|
3188
|
-
nil,
|
2705
|
+
-1, 7, nil, nil, 34, 37, nil, nil, 18, nil,
|
2706
|
+
nil, 6, 22, 49, 9, 20, nil, 33, -11, nil,
|
2707
|
+
nil, nil, nil, 3, nil, -10, 51, nil, 41, nil,
|
2708
|
+
nil, 1, nil, 1, 6, 12, nil, nil, nil ]
|
3189
2709
|
|
3190
2710
|
racc_action_default = [
|
3191
|
-
-1,
|
3192
|
-
-
|
3193
|
-
|
3194
|
-
-
|
2711
|
+
-1, -27, -2, -3, -4, -7, -8, -14, -27, -20,
|
2712
|
+
-21, -27, -27, -9, -27, -27, -15, -27, -27, 39,
|
2713
|
+
-5, -6, -18, -27, -22, -24, -10, -12, -11, -13,
|
2714
|
+
-16, -27, -17, -27, -27, -25, -19, -23, -26 ]
|
3195
2715
|
|
3196
2716
|
racc_goto_table = [
|
3197
|
-
|
3198
|
-
|
3199
|
-
|
2717
|
+
6, 20, 21, 2, 1, nil, 30, nil, 6, 13,
|
2718
|
+
nil, 18, 22, 34, 27, 29, nil, 22, nil, 26,
|
2719
|
+
28, nil, nil, 22, nil, nil, nil, nil, nil, nil,
|
2720
|
+
nil, 22 ]
|
3200
2721
|
|
3201
2722
|
racc_goto_check = [
|
3202
|
-
7,
|
3203
|
-
|
3204
|
-
7, nil, nil, nil, nil, nil,
|
2723
|
+
7, 4, 5, 2, 1, nil, 4, nil, 7, 6,
|
2724
|
+
nil, 2, 7, 5, 7, 7, nil, 7, nil, 6,
|
2725
|
+
6, nil, nil, 7, nil, nil, nil, nil, nil, nil,
|
2726
|
+
nil, 7 ]
|
3205
2727
|
|
3206
2728
|
racc_goto_pointer = [
|
3207
|
-
nil,
|
2729
|
+
nil, 4, 3, nil, -11, -10, 5, 0, nil ]
|
3208
2730
|
|
3209
2731
|
racc_goto_default = [
|
3210
|
-
nil, nil, nil,
|
2732
|
+
nil, nil, nil, 4, 33, nil, 5, 16, 24 ]
|
3211
2733
|
|
3212
|
-
|
3213
|
-
|
3214
|
-
|
3215
|
-
:
|
3216
|
-
:
|
3217
|
-
:
|
3218
|
-
:
|
3219
|
-
:
|
3220
|
-
:
|
3221
|
-
:
|
3222
|
-
:
|
3223
|
-
:
|
3224
|
-
:
|
3225
|
-
:
|
3226
|
-
:
|
3227
|
-
|
3228
|
-
|
2734
|
+
racc_reduce_table = [
|
2735
|
+
0, 0, :racc_error,
|
2736
|
+
0, 17, :_reduce_none,
|
2737
|
+
1, 17, :_reduce_2,
|
2738
|
+
1, 17, :_reduce_3,
|
2739
|
+
1, 18, :_reduce_none,
|
2740
|
+
3, 18, :_reduce_5,
|
2741
|
+
3, 18, :_reduce_6,
|
2742
|
+
1, 19, :_reduce_none,
|
2743
|
+
1, 19, :_reduce_none,
|
2744
|
+
2, 19, :_reduce_9,
|
2745
|
+
3, 19, :_reduce_10,
|
2746
|
+
3, 19, :_reduce_11,
|
2747
|
+
3, 19, :_reduce_12,
|
2748
|
+
3, 19, :_reduce_13,
|
2749
|
+
1, 22, :_reduce_14,
|
2750
|
+
2, 22, :_reduce_15,
|
2751
|
+
3, 22, :_reduce_16,
|
2752
|
+
3, 22, :_reduce_17,
|
2753
|
+
1, 20, :_reduce_none,
|
2754
|
+
3, 20, :_reduce_19,
|
2755
|
+
1, 23, :_reduce_20,
|
2756
|
+
1, 23, :_reduce_21,
|
2757
|
+
1, 21, :_reduce_none,
|
2758
|
+
3, 21, :_reduce_23,
|
2759
|
+
1, 24, :_reduce_24,
|
2760
|
+
2, 24, :_reduce_25,
|
2761
|
+
3, 24, :_reduce_26 ]
|
3229
2762
|
|
3230
|
-
|
2763
|
+
racc_reduce_n = 27
|
2764
|
+
|
2765
|
+
racc_shift_n = 39
|
2766
|
+
|
2767
|
+
racc_token_table = {
|
2768
|
+
false => 0,
|
2769
|
+
:error => 1,
|
2770
|
+
:INT => 2,
|
2771
|
+
:ERR => 3,
|
2772
|
+
:SHIFT => 4,
|
2773
|
+
:SPACE => 5,
|
2774
|
+
:MULTIPLY => 6,
|
2775
|
+
:DIVIDE => 7,
|
2776
|
+
:EXPONENT => 8,
|
2777
|
+
:REAL => 9,
|
2778
|
+
:NAME => 10,
|
2779
|
+
:DATE => 11,
|
2780
|
+
:TIME => 12,
|
2781
|
+
:ZONE => 13,
|
2782
|
+
"(" => 14,
|
2783
|
+
")" => 15 }
|
3231
2784
|
|
3232
2785
|
racc_nt_base = 16
|
3233
2786
|
|
2787
|
+
racc_use_result_var = false
|
2788
|
+
|
3234
2789
|
Racc_arg = [
|
3235
|
-
|
3236
|
-
|
3237
|
-
|
3238
|
-
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3242
|
-
|
3243
|
-
|
3244
|
-
|
3245
|
-
|
3246
|
-
|
3247
|
-
|
3248
|
-
|
2790
|
+
racc_action_table,
|
2791
|
+
racc_action_check,
|
2792
|
+
racc_action_default,
|
2793
|
+
racc_action_pointer,
|
2794
|
+
racc_goto_table,
|
2795
|
+
racc_goto_check,
|
2796
|
+
racc_goto_default,
|
2797
|
+
racc_goto_pointer,
|
2798
|
+
racc_nt_base,
|
2799
|
+
racc_reduce_table,
|
2800
|
+
racc_token_table,
|
2801
|
+
racc_shift_n,
|
2802
|
+
racc_reduce_n,
|
2803
|
+
racc_use_result_var ]
|
3249
2804
|
|
3250
2805
|
Racc_token_to_s_table = [
|
3251
|
-
|
3252
|
-
|
3253
|
-
|
3254
|
-
|
3255
|
-
|
3256
|
-
|
3257
|
-
|
3258
|
-
|
3259
|
-
|
3260
|
-
|
3261
|
-
|
3262
|
-
|
3263
|
-
|
3264
|
-
|
3265
|
-
|
3266
|
-
|
3267
|
-
|
3268
|
-
|
3269
|
-
|
3270
|
-
|
3271
|
-
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3275
|
-
|
2806
|
+
"$end",
|
2807
|
+
"error",
|
2808
|
+
"INT",
|
2809
|
+
"ERR",
|
2810
|
+
"SHIFT",
|
2811
|
+
"SPACE",
|
2812
|
+
"MULTIPLY",
|
2813
|
+
"DIVIDE",
|
2814
|
+
"EXPONENT",
|
2815
|
+
"REAL",
|
2816
|
+
"NAME",
|
2817
|
+
"DATE",
|
2818
|
+
"TIME",
|
2819
|
+
"ZONE",
|
2820
|
+
"\"(\"",
|
2821
|
+
"\")\"",
|
2822
|
+
"$start",
|
2823
|
+
"unit_spec",
|
2824
|
+
"origin_exp",
|
2825
|
+
"unit_exp",
|
2826
|
+
"value_exp",
|
2827
|
+
"timestamp",
|
2828
|
+
"power_exp",
|
2829
|
+
"number_exp",
|
2830
|
+
"time_exp" ]
|
3276
2831
|
|
3277
2832
|
Racc_debug_parser = false
|
3278
2833
|
|
3279
|
-
#####
|
2834
|
+
##### State transition tables end #####
|
3280
2835
|
|
3281
|
-
|
2836
|
+
# reduce 0 omitted
|
3282
2837
|
|
3283
|
-
|
2838
|
+
# reduce 1 omitted
|
3284
2839
|
|
3285
|
-
|
3286
|
-
|
2840
|
+
module_eval(<<'.,.,', 'units.racc', 9)
|
2841
|
+
def _reduce_2(val, _values)
|
2842
|
+
val[0]
|
3287
2843
|
end
|
2844
|
+
.,.,
|
3288
2845
|
|
3289
|
-
|
3290
|
-
|
2846
|
+
module_eval(<<'.,.,', 'units.racc', 10)
|
2847
|
+
def _reduce_3(val, _values)
|
2848
|
+
yyerrok
|
3291
2849
|
end
|
2850
|
+
.,.,
|
3292
2851
|
|
3293
|
-
|
2852
|
+
# reduce 4 omitted
|
3294
2853
|
|
3295
|
-
|
3296
|
-
|
2854
|
+
module_eval(<<'.,.,', 'units.racc', 15)
|
2855
|
+
def _reduce_5(val, _values)
|
2856
|
+
val[0].shift(val[2])
|
3297
2857
|
end
|
2858
|
+
.,.,
|
3298
2859
|
|
3299
|
-
|
3300
|
-
|
2860
|
+
module_eval(<<'.,.,', 'units.racc', 16)
|
2861
|
+
def _reduce_6(val, _values)
|
2862
|
+
val[0].shift(val[2])
|
3301
2863
|
end
|
2864
|
+
.,.,
|
3302
2865
|
|
3303
|
-
|
2866
|
+
# reduce 7 omitted
|
3304
2867
|
|
3305
|
-
|
2868
|
+
# reduce 8 omitted
|
3306
2869
|
|
3307
|
-
|
3308
|
-
|
2870
|
+
module_eval(<<'.,.,', 'units.racc', 22)
|
2871
|
+
def _reduce_9(val, _values)
|
2872
|
+
val[0].mul(val[1])
|
3309
2873
|
end
|
2874
|
+
.,.,
|
3310
2875
|
|
3311
|
-
|
3312
|
-
|
2876
|
+
module_eval(<<'.,.,', 'units.racc', 23)
|
2877
|
+
def _reduce_10(val, _values)
|
2878
|
+
val[0].mul(val[2])
|
3313
2879
|
end
|
2880
|
+
.,.,
|
3314
2881
|
|
3315
|
-
|
3316
|
-
|
2882
|
+
module_eval(<<'.,.,', 'units.racc', 24)
|
2883
|
+
def _reduce_11(val, _values)
|
2884
|
+
val[0].divide(val[2])
|
3317
2885
|
end
|
2886
|
+
.,.,
|
3318
2887
|
|
3319
|
-
|
3320
|
-
|
2888
|
+
module_eval(<<'.,.,', 'units.racc', 25)
|
2889
|
+
def _reduce_12(val, _values)
|
2890
|
+
val[0].mul(val[2])
|
3321
2891
|
end
|
2892
|
+
.,.,
|
3322
2893
|
|
3323
|
-
|
3324
|
-
|
2894
|
+
module_eval(<<'.,.,', 'units.racc', 26)
|
2895
|
+
def _reduce_13(val, _values)
|
2896
|
+
val[0].divide(val[2])
|
3325
2897
|
end
|
2898
|
+
.,.,
|
3326
2899
|
|
3327
|
-
|
3328
|
-
|
2900
|
+
module_eval(<<'.,.,', 'units.racc', 30)
|
2901
|
+
def _reduce_14(val, _values)
|
2902
|
+
NameNode.new(val[0])
|
3329
2903
|
end
|
2904
|
+
.,.,
|
3330
2905
|
|
3331
|
-
|
3332
|
-
|
2906
|
+
module_eval(<<'.,.,', 'units.racc', 31)
|
2907
|
+
def _reduce_15(val, _values)
|
2908
|
+
val[0].pow(val[1])
|
3333
2909
|
end
|
2910
|
+
.,.,
|
3334
2911
|
|
3335
|
-
|
3336
|
-
|
2912
|
+
module_eval(<<'.,.,', 'units.racc', 32)
|
2913
|
+
def _reduce_16(val, _values)
|
2914
|
+
val[0].pow(val[2])
|
3337
2915
|
end
|
2916
|
+
.,.,
|
3338
2917
|
|
3339
|
-
|
3340
|
-
val
|
2918
|
+
module_eval(<<'.,.,', 'units.racc', 33)
|
2919
|
+
def _reduce_17(val, _values)
|
2920
|
+
val[1]
|
3341
2921
|
end
|
2922
|
+
.,.,
|
3342
2923
|
|
3343
|
-
|
2924
|
+
# reduce 18 omitted
|
3344
2925
|
|
3345
|
-
|
3346
|
-
val
|
2926
|
+
module_eval(<<'.,.,', 'units.racc', 38)
|
2927
|
+
def _reduce_19(val, _values)
|
2928
|
+
val[1]
|
3347
2929
|
end
|
2930
|
+
.,.,
|
3348
2931
|
|
3349
|
-
|
3350
|
-
|
2932
|
+
module_eval(<<'.,.,', 'units.racc', 42)
|
2933
|
+
def _reduce_20(val, _values)
|
2934
|
+
NumberNode.new(val[0])
|
3351
2935
|
end
|
2936
|
+
.,.,
|
3352
2937
|
|
3353
|
-
|
3354
|
-
|
2938
|
+
module_eval(<<'.,.,', 'units.racc', 43)
|
2939
|
+
def _reduce_21(val, _values)
|
2940
|
+
NumberNode.new(val[0])
|
3355
2941
|
end
|
2942
|
+
.,.,
|
3356
2943
|
|
3357
|
-
|
2944
|
+
# reduce 22 omitted
|
3358
2945
|
|
3359
|
-
|
3360
|
-
val
|
2946
|
+
module_eval(<<'.,.,', 'units.racc', 48)
|
2947
|
+
def _reduce_23(val, _values)
|
2948
|
+
val[1]
|
3361
2949
|
end
|
2950
|
+
.,.,
|
3362
2951
|
|
3363
|
-
|
3364
|
-
|
2952
|
+
module_eval(<<'.,.,', 'units.racc', 52)
|
2953
|
+
def _reduce_24(val, _values)
|
2954
|
+
TimeNode.new(val[0], 0.0, 0)
|
3365
2955
|
end
|
2956
|
+
.,.,
|
3366
2957
|
|
3367
|
-
|
3368
|
-
|
2958
|
+
module_eval(<<'.,.,', 'units.racc', 53)
|
2959
|
+
def _reduce_25(val, _values)
|
2960
|
+
TimeNode.new(val[0], val[1], 0)
|
3369
2961
|
end
|
2962
|
+
.,.,
|
3370
2963
|
|
3371
|
-
|
3372
|
-
|
2964
|
+
module_eval(<<'.,.,', 'units.racc', 54)
|
2965
|
+
def _reduce_26(val, _values)
|
2966
|
+
TimeNode.new(val[0], val[1], val[2])
|
3373
2967
|
end
|
2968
|
+
.,.,
|
3374
2969
|
|
3375
|
-
|
2970
|
+
def _reduce_none(val, _values)
|
3376
2971
|
val[0]
|
3377
|
-
|
2972
|
+
end
|
3378
2973
|
|
3379
|
-
end # class Units
|
3380
|
-
end # module NumRu
|
2974
|
+
end # class Units
|
2975
|
+
end # module NumRu
|
3381
2976
|
|
3382
2977
|
####################
|
3383
2978
|
if $0 == __FILE__
|
@@ -3390,7 +2985,7 @@ if $0 == __FILE__
|
|
3390
2985
|
|
3391
2986
|
puts "=== reduce1 ==="
|
3392
2987
|
|
3393
|
-
assert Units.new('').reduce1.to_s, ""
|
2988
|
+
assert Units.new('').reduce1.to_s, "1"
|
3394
2989
|
assert Units.new('m').reduce1.to_s, "m"
|
3395
2990
|
assert Units.new('3').reduce1.to_s, "3"
|
3396
2991
|
assert Units.new('3.14').reduce1.to_s, "3.14"
|
@@ -3457,25 +3052,25 @@ if $0 == __FILE__
|
|
3457
3052
|
assert Units.new('km2').reduce4.to_s, "km2"
|
3458
3053
|
assert Units.new('hours.hour').reduce4.to_s, "hour2"
|
3459
3054
|
assert Units.new('(10)^2').reduce4.to_s, "100"
|
3460
|
-
assert Units.new('100/10').reduce4.to_s, "10
|
3461
|
-
assert Units.new('(10)^2/100').reduce4.to_s, "1
|
3055
|
+
assert Units.new('100/10').reduce4.to_s, "10"
|
3056
|
+
assert Units.new('(10)^2/100').reduce4.to_s, "1"
|
3462
3057
|
|
3463
3058
|
puts "=== reduce5 ==="
|
3464
3059
|
|
3465
3060
|
assert Units.new('km2').reduce5.to_s, "1000000 m2"
|
3466
|
-
assert Units.new('(10)^2/100').reduce5.to_s, "1
|
3061
|
+
assert Units.new('(10)^2/100').reduce5.to_s, "1"
|
3467
3062
|
|
3468
3063
|
assert Units.new('hPa').reduce5.to_s, "100 kg.m-1 s-2"
|
3469
|
-
assert Units.new('mb').reduce5.to_s, "100
|
3064
|
+
assert Units.new('mb').reduce5.to_s, "100 kg.m-1 s-2"
|
3470
3065
|
|
3471
|
-
assert Units.new('hPa/mb').reduce5.to_s, "1
|
3066
|
+
assert Units.new('hPa/mb').reduce5.to_s, "1"
|
3472
3067
|
|
3473
3068
|
assert Units.new('(K @ 273.15)@ 10').reduce5.to_s, "(K @ 283.15)"
|
3474
3069
|
|
3475
3070
|
puts "=== APPLICATIONS ==="
|
3476
3071
|
|
3477
3072
|
assert Units.new('km @ 2').convert(3, Units.new('m @ 100')), 4900
|
3478
|
-
assert Units.new('degree_F').convert(32, Units.new('K')).to_s,
|
3073
|
+
assert Units.new('degree_F').convert(32, Units.new('K')).to_s, ((32+459.67)*(1.8**-1)).to_s
|
3479
3074
|
|
3480
3075
|
u1 = Units.new('m/s')
|
3481
3076
|
u2 = Units.new('mm/s')
|