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
@@ -0,0 +1,3099 @@
|
|
1
|
+
#
|
2
|
+
# DO NOT MODIFY!!!!
|
3
|
+
# This file is automatically generated by Racc 1.4.8
|
4
|
+
# from Racc grammer file "".
|
5
|
+
#
|
6
|
+
|
7
|
+
require 'racc/parser.rb'
|
8
|
+
|
9
|
+
|
10
|
+
require 'date'
|
11
|
+
|
12
|
+
module NumRu
|
13
|
+
class Units < Racc::Parser
|
14
|
+
|
15
|
+
module_eval(<<'...end units.racc/module_eval...', 'units.racc', 65)
|
16
|
+
|
17
|
+
VERSION = "1.9"
|
18
|
+
|
19
|
+
=begin
|
20
|
+
= class Node
|
21
|
+
Node is a parent class for classes of parse tree node.
|
22
|
+
This is not expected to be instanciated directly.
|
23
|
+
=end
|
24
|
+
|
25
|
+
class Node
|
26
|
+
|
27
|
+
def initialize(*args)
|
28
|
+
raise "#{self.class} is virtual."
|
29
|
+
end
|
30
|
+
|
31
|
+
def to_s(*args)
|
32
|
+
raise "#{self.class}#to_s is virtual."
|
33
|
+
end
|
34
|
+
|
35
|
+
=begin
|
36
|
+
--- pow other
|
37
|
+
simply constructs a PowNode object.
|
38
|
+
No reduction is performed.
|
39
|
+
=end
|
40
|
+
|
41
|
+
def pow(other)
|
42
|
+
PowNode.new(self, other)
|
43
|
+
end
|
44
|
+
|
45
|
+
=begin
|
46
|
+
--- mul other
|
47
|
+
simply constructs a MulNode object.
|
48
|
+
No reduction is performed.
|
49
|
+
=end
|
50
|
+
|
51
|
+
def mul(other)
|
52
|
+
other = NumberNode.new(other) if Numeric === other
|
53
|
+
MulNode.new(self, other)
|
54
|
+
end
|
55
|
+
|
56
|
+
=begin
|
57
|
+
--- divide other
|
58
|
+
simply constructs a MulNode object.
|
59
|
+
No reduction is performed.
|
60
|
+
=end
|
61
|
+
|
62
|
+
def divide(other)
|
63
|
+
MulNode.new(self, PowNode.new(other, NumberNode.new(-1)))
|
64
|
+
end
|
65
|
+
|
66
|
+
=begin
|
67
|
+
--- shift other
|
68
|
+
simply constructs a ShiftNode object.
|
69
|
+
No reduction is performed.
|
70
|
+
=end
|
71
|
+
|
72
|
+
def shift(other)
|
73
|
+
ShiftNode.new(self, other)
|
74
|
+
end
|
75
|
+
|
76
|
+
=begin
|
77
|
+
--- pow_eval other
|
78
|
+
similar to ((<pow other>)), but reduces PowNode[PowNode[...]] into
|
79
|
+
single PowNode[...], so overriden at PowNode class.
|
80
|
+
=end
|
81
|
+
|
82
|
+
def pow_eval(other)
|
83
|
+
pow(other)
|
84
|
+
end
|
85
|
+
|
86
|
+
=begin
|
87
|
+
--- inspect
|
88
|
+
=end
|
89
|
+
|
90
|
+
def inspect2; "#{self.class}[#{to_s}]"; end
|
91
|
+
|
92
|
+
def inspect; inspect2.gsub(/Units::/, '').gsub(/NumRu::/, '').gsub(/Node\[/, '['); end
|
93
|
+
|
94
|
+
=begin
|
95
|
+
--- trim
|
96
|
+
in most subclasses, "trim" is redirected into "trim2".
|
97
|
+
=end
|
98
|
+
|
99
|
+
def trim
|
100
|
+
trim2
|
101
|
+
end
|
102
|
+
|
103
|
+
=begin
|
104
|
+
--- flatten
|
105
|
+
in most subclasses, "flatten" is redirected into "flatten2".
|
106
|
+
=end
|
107
|
+
|
108
|
+
def flatten
|
109
|
+
flatten2
|
110
|
+
end
|
111
|
+
|
112
|
+
=begin
|
113
|
+
--- sort
|
114
|
+
=end
|
115
|
+
|
116
|
+
def sort
|
117
|
+
raise "#{self.class}#sort is virtual: call after flatten"
|
118
|
+
end
|
119
|
+
|
120
|
+
=begin
|
121
|
+
--- reduce1
|
122
|
+
--- reduce2
|
123
|
+
--- reduce3
|
124
|
+
--- reduce4
|
125
|
+
--- reduce5
|
126
|
+
=end
|
127
|
+
|
128
|
+
def reduce1
|
129
|
+
self
|
130
|
+
end
|
131
|
+
|
132
|
+
def reduce2
|
133
|
+
trim
|
134
|
+
end
|
135
|
+
|
136
|
+
def reduce3
|
137
|
+
trim.flatten
|
138
|
+
end
|
139
|
+
|
140
|
+
def reduce4
|
141
|
+
# unalias(Hash.new).trim.flatten.sort
|
142
|
+
foldnumber(nil).trim.flatten.sort
|
143
|
+
end
|
144
|
+
|
145
|
+
def reduce5
|
146
|
+
expand(Hash.new).trim.flatten.sort
|
147
|
+
end
|
148
|
+
|
149
|
+
=begin
|
150
|
+
--- ref
|
151
|
+
to be overriden at ShiftNode
|
152
|
+
--- deref
|
153
|
+
to be overriden at ShiftNode
|
154
|
+
=end
|
155
|
+
|
156
|
+
def ref
|
157
|
+
NumberNode::ZERO
|
158
|
+
end
|
159
|
+
|
160
|
+
def deref
|
161
|
+
self
|
162
|
+
end
|
163
|
+
|
164
|
+
end
|
165
|
+
|
166
|
+
class ErrorNode < Node
|
167
|
+
|
168
|
+
def initialize(string)
|
169
|
+
@a = string
|
170
|
+
end
|
171
|
+
|
172
|
+
def to_s; @a; end
|
173
|
+
|
174
|
+
end
|
175
|
+
|
176
|
+
class ContainerNode < Node
|
177
|
+
|
178
|
+
def trim2
|
179
|
+
x = []
|
180
|
+
for child in self
|
181
|
+
x.push child.trim2
|
182
|
+
end
|
183
|
+
self.class.new(*x)
|
184
|
+
end
|
185
|
+
|
186
|
+
def inspect2
|
187
|
+
a = []
|
188
|
+
for child in self
|
189
|
+
a.push child.inspect2
|
190
|
+
end
|
191
|
+
"#{self.class}[#{a.join(', ')}]"
|
192
|
+
end
|
193
|
+
|
194
|
+
end
|
195
|
+
|
196
|
+
module BinaryNode
|
197
|
+
|
198
|
+
def each
|
199
|
+
yield @lhs
|
200
|
+
yield @rhs
|
201
|
+
end
|
202
|
+
|
203
|
+
def expand(stopper)
|
204
|
+
self.class.new(@lhs.expand(stopper), @rhs.expand(stopper))
|
205
|
+
end
|
206
|
+
|
207
|
+
def unalias(stopper)
|
208
|
+
self.class.new(@lhs.unalias(stopper), @rhs.unalias(stopper))
|
209
|
+
end
|
210
|
+
|
211
|
+
def foldnumber(stopper)
|
212
|
+
self.class.new(@lhs.foldnumber(stopper), @rhs.foldnumber(stopper))
|
213
|
+
end
|
214
|
+
|
215
|
+
end
|
216
|
+
|
217
|
+
class TerminalNode < Node
|
218
|
+
|
219
|
+
def trim2; self; end
|
220
|
+
def flatten2; self; end
|
221
|
+
|
222
|
+
def expand(stopper); self; end
|
223
|
+
alias :unalias :expand
|
224
|
+
alias :foldnumber :expand
|
225
|
+
|
226
|
+
def sort; self; end
|
227
|
+
|
228
|
+
end
|
229
|
+
class NameNode < TerminalNode
|
230
|
+
|
231
|
+
def initialize(string)
|
232
|
+
@a = string
|
233
|
+
end
|
234
|
+
|
235
|
+
def to_s; @a; end
|
236
|
+
|
237
|
+
alias :name :to_s
|
238
|
+
|
239
|
+
def power; NumberNode::UNITY; end
|
240
|
+
|
241
|
+
def mul_eval(another)
|
242
|
+
raise "internal error (#{name}, #{another.name})" if name != another.name
|
243
|
+
PowNode.new(self, self.power.add_eval(another.power))
|
244
|
+
end
|
245
|
+
|
246
|
+
def expand(stopper)
|
247
|
+
raise "circular dependency for #{@a}" if stopper[@a]
|
248
|
+
return self if basic?
|
249
|
+
return CACHE[@a] if CACHE.include?(@a)
|
250
|
+
CACHE[@a] = expand2(stopper)
|
251
|
+
end
|
252
|
+
|
253
|
+
def expand2(stopper)
|
254
|
+
newstopper = stopper.dup
|
255
|
+
newstopper[@a] = true
|
256
|
+
if UDEFS.include?(@a) then
|
257
|
+
Units.new(UDEFS[@a]).ptree.expand(newstopper)
|
258
|
+
else
|
259
|
+
p, n = UALIASES[@a]
|
260
|
+
u = Units.new(UDEFS[n] || n).ptree.expand(newstopper)
|
261
|
+
MulNode.new(u, PowNode.new(NumberNode.new(10), NumberNode.new(p)))
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
def unalias(stopper)
|
266
|
+
raise "circular dependency for #{@a}" if stopper[@a]
|
267
|
+
return self unless UALIASES.include?(@a)
|
268
|
+
p, n = UALIASES[@a]
|
269
|
+
u = NameNode.new(n)
|
270
|
+
q = PowNode.new(NumberNode.new(10), NumberNode.new(p))
|
271
|
+
MulNode.new(u, q)
|
272
|
+
end
|
273
|
+
|
274
|
+
def foldnumber(stopper)
|
275
|
+
return self unless UPLURALS.include?(@a)
|
276
|
+
n = UPLURALS[@a]
|
277
|
+
NameNode.new(n)
|
278
|
+
end
|
279
|
+
|
280
|
+
def basic?
|
281
|
+
not (UDEFS.include?(@a) or UALIASES.include?(@a))
|
282
|
+
end
|
283
|
+
|
284
|
+
CACHE = {}
|
285
|
+
|
286
|
+
def factor
|
287
|
+
1
|
288
|
+
end
|
289
|
+
|
290
|
+
end
|
291
|
+
|
292
|
+
class NameNode
|
293
|
+
UDEFS = {
|
294
|
+
"%" => "1e-2", "Au" => "astronomical_unit", "Bq" => "s-1",
|
295
|
+
"C" => "A.s", "Celsius" => "K @ 273.15", "F" => "C/V",
|
296
|
+
"Fahrenheit" => "degree_F", "G" => "gauss", "Gal" => "cm s-2",
|
297
|
+
"Gy" => "J.kg-1", "H" => "Wb.A-1", "Hg" => "mercury",
|
298
|
+
"Hz" => "1/s", "J" => "N.m", "Julian_year" => "365.25 day",
|
299
|
+
"L" => "litre", "N" => "kg.m.s-2", "P" => "poise", "Pa" => "N.m-2",
|
300
|
+
"Pascal" => "Pa", "S" => "A/V", "St" => "stokes", "Sv" => "J.kg-1",
|
301
|
+
"T" => "Wb.m-2", "V" => "J/C", "W" => "J/s", "Wb" => "V.s",
|
302
|
+
"a" => "are", "ac" => "acre", "acre" => "10 chain2",
|
303
|
+
"ampere" => "A", "angstrom" => "1.0e-10 m",
|
304
|
+
"angular_degree" => "degree", "angular_minute" => "minute_angle",
|
305
|
+
"angular_second" => "second_angle", "are" => "100 m2",
|
306
|
+
"astronomical_unit" => "1.49597870e11 m",
|
307
|
+
"astronomical_units" => "1.49597870e11 m", "atm" => "atmosphere",
|
308
|
+
"atmosphere" => "101325 Pa", "bar" => "1e6 dyn.cm-2",
|
309
|
+
"cal" => "calorie", "calorie" => "4.18605 J",
|
310
|
+
"celsius" => "K @ 273.15", "centigrade" => "K @ 273.15",
|
311
|
+
"century" => "100 year", "chain" => "22 yard",
|
312
|
+
"common_year" => "365 day",
|
313
|
+
"conventional_mercury" => "gravity 13595.10 kg/m3", "coulomb" => "C",
|
314
|
+
"d" => "24 hour", "day" => "24 hour", "degC" => "K @ 273.15",
|
315
|
+
"degF" => "degree_F", "degK" => "K", "deg_C" => "K @ 273.15",
|
316
|
+
"deg_F" => "degree_F", "deg_K" => "K", "degree" => "pi.rad/180",
|
317
|
+
"degreeC" => "K @ 273.15", "degreeF" => "degree_F",
|
318
|
+
"degreeK" => "K", "degree_C" => "K @ 273.15",
|
319
|
+
"degree_E" => "degree", "degree_F" => "degree_R @ 459.67",
|
320
|
+
"degree_N" => "degree", "degree_R" => "K / 1.8",
|
321
|
+
"degree_S" => "degree", "degree_W" => "degree",
|
322
|
+
"degree_c" => "K @ 273.15", "degree_east" => "degree_E",
|
323
|
+
"degree_f" => "degree_R @ 459.67", "degree_north" => "degree_N",
|
324
|
+
"degree_south" => "degree_S", "degree_west" => "degree_W",
|
325
|
+
"degrees_east" => "degree_E", "degrees_north" => "degree_N",
|
326
|
+
"degrees_south" => "degree_S", "degrees_west" => "degree_W",
|
327
|
+
"dyn" => "g.cm.s-2", "dyne" => "g.cm.s-2", "erg" => "dyn cm",
|
328
|
+
"fahrenheit" => "degree_F", "farad" => "coulomb/volt",
|
329
|
+
"feet" => "foot", "fermi" => "1.0e-15 m", "foot" => "12 inch",
|
330
|
+
"force" => "9.80665 m.s-2", "ft" => "foot", "g" => "kg/1000",
|
331
|
+
"gal" => "cm s-2", "gauss" => "T / 10000", "gram" => "kg/1000",
|
332
|
+
"gravity" => "9.806650 meter/second2", "h" => "60 min",
|
333
|
+
"hectare" => "100 are", "hertz" => "Hz", "hg" => "mercury",
|
334
|
+
"horse_power" => "75 m kilogram-force / s", "hour" => "60 min",
|
335
|
+
"hr" => "60 min", "in" => "inch", "inch" => "2.54 cm",
|
336
|
+
"joule" => "J", "kelvin" => "K", "kgf" => "kilogram-force",
|
337
|
+
"kilogram" => "kg", "knot" => "nautical_mile / hour",
|
338
|
+
"kph" => "km / hour", "lb" => "pound",
|
339
|
+
"light_speed" => "299792458 m/s", "light_year" => "9.46e15 m",
|
340
|
+
"light_years" => "9.46e15 m", "litre" => "1.0e-3 m3",
|
341
|
+
"lm" => "cd.sr", "lx" => "lm.m-2", "ly" => "light_year",
|
342
|
+
"mb" => "bar / 1000", "mercury" => "conventional_mercury",
|
343
|
+
"meter" => "metre", "metre" => "m", "mgal" => "cm s-2 / 1000",
|
344
|
+
"micron" => "1.0e-6 m", "mile" => "1760 yard",
|
345
|
+
"millibar" => "bar / 1000", "min" => "60 s", "minute" => "60 s",
|
346
|
+
"minute_angle" => "pi.rad/180/60", "mole" => "mol",
|
347
|
+
"mon" => "month", "month" => "6 pentad", "mph" => "mile / hour",
|
348
|
+
"nautical_mile" => "1852 m", "nautical_miles" => "1852 m",
|
349
|
+
"newton" => "N", "ohm" => "V/A", "ounce" => "pound / 16",
|
350
|
+
"oz" => "ounce", "parsec" => "3.0857e16 m", "pascal" => "Pa",
|
351
|
+
"pc" => "parsec", "percent" => "1e-2", "permil" => "1e-3",
|
352
|
+
"pi" => "3.141592653589793238462", "poise" => "dyn s / cm2",
|
353
|
+
"pound" => "453.6 g", "psi" => "pound-force / inch2",
|
354
|
+
"radian" => "rad", "second" => "s",
|
355
|
+
"second_angle" => "pi.rad/180/60/60", "steradian" => "sr",
|
356
|
+
"stokes" => "cm2 / s", "t" => "ton", "tesla" => "Wb.m-2",
|
357
|
+
"ton" => "1000 kg", "tonne" => "ton", "torr" => "133.322 Pa",
|
358
|
+
"volt" => "V", "watt" => "W", "weber" => "Wb", "yard" => "6 feet",
|
359
|
+
"yd" => "yard", "year" => "12 month", "yr" => "year",
|
360
|
+
}
|
361
|
+
UALIASES = {
|
362
|
+
"Celsiuses" => [0, "Celsius"], "E%" => [18, "%"], "EA" => [18, "A"],
|
363
|
+
"EAu" => [18, "Au"], "EBq" => [18, "Bq"], "EC" => [18, "C"],
|
364
|
+
"EF" => [18, "F"], "EG" => [18, "G"], "EGal" => [18, "Gal"],
|
365
|
+
"EGy" => [18, "Gy"], "EH" => [18, "H"], "EHg" => [18, "Hg"],
|
366
|
+
"EHz" => [18, "Hz"], "EJ" => [18, "J"], "EK" => [18, "K"],
|
367
|
+
"EL" => [18, "L"], "EN" => [18, "N"], "EP" => [18, "P"],
|
368
|
+
"EPa" => [18, "Pa"], "ES" => [18, "S"], "ESt" => [18, "St"],
|
369
|
+
"ESv" => [18, "Sv"], "ET" => [18, "T"], "EV" => [18, "V"],
|
370
|
+
"EW" => [18, "W"], "EWb" => [18, "Wb"], "Ea" => [18, "a"],
|
371
|
+
"Eac" => [18, "ac"], "Eatm" => [18, "atm"], "Ebar" => [18, "bar"],
|
372
|
+
"Ecal" => [18, "cal"],
|
373
|
+
"Econventional_mercury" => [18, "conventional_mercury"],
|
374
|
+
"Ed" => [18, "d"], "EdegC" => [18, "degC"], "EdegF" => [18, "degF"],
|
375
|
+
"Edeg_C" => [18, "deg_C"], "Edeg_F" => [18, "deg_F"],
|
376
|
+
"EdegreeC" => [18, "degreeC"], "EdegreeF" => [18, "degreeF"],
|
377
|
+
"Edegree_C" => [18, "degree_C"], "Edegree_E" => [18, "degree_E"],
|
378
|
+
"Edegree_F" => [18, "degree_F"], "Edegree_N" => [18, "degree_N"],
|
379
|
+
"Edegree_R" => [18, "degree_R"], "Edegree_S" => [18, "degree_S"],
|
380
|
+
"Edegree_W" => [18, "degree_W"], "Edegree_c" => [18, "degree_c"],
|
381
|
+
"Edegree_east" => [18, "degree_east"],
|
382
|
+
"Edegree_f" => [18, "degree_f"],
|
383
|
+
"Edegree_north" => [18, "degree_north"],
|
384
|
+
"Edegree_south" => [18, "degree_south"],
|
385
|
+
"Edegree_west" => [18, "degree_west"],
|
386
|
+
"Edegrees_east" => [18, "degrees_east"],
|
387
|
+
"Edegrees_north" => [18, "degrees_north"],
|
388
|
+
"Edegrees_south" => [18, "degrees_south"],
|
389
|
+
"Edegrees_west" => [18, "degrees_west"], "Edyn" => [18, "dyn"],
|
390
|
+
"Eerg" => [18, "erg"], "Eforce" => [18, "force"], "Eg" => [18, "g"],
|
391
|
+
"Egravity" => [18, "gravity"], "Eh" => [18, "h"],
|
392
|
+
"Ehg" => [18, "hg"], "Ehr" => [18, "hr"], "Ein" => [18, "in"],
|
393
|
+
"Ekg" => [18, "kg"], "Ekgf" => [18, "kgf"], "Ekph" => [18, "kph"],
|
394
|
+
"Elb" => [18, "lb"], "Elm" => [18, "lm"], "Elx" => [18, "lx"],
|
395
|
+
"Ely" => [18, "ly"], "Em" => [18, "m"], "Emb" => [18, "mb"],
|
396
|
+
"Emercury" => [18, "mercury"], "Emgal" => [18, "mgal"],
|
397
|
+
"Emin" => [18, "min"], "Emol" => [18, "mol"], "Emon" => [18, "mon"],
|
398
|
+
"Emph" => [18, "mph"], "Eohm" => [18, "ohm"], "Eoz" => [18, "oz"],
|
399
|
+
"Epc" => [18, "pc"], "Epercent" => [18, "percent"],
|
400
|
+
"Epermil" => [18, "permil"], "Epsi" => [18, "psi"],
|
401
|
+
"Erad" => [18, "rad"], "Es" => [18, "s"], "Esr" => [18, "sr"],
|
402
|
+
"Et" => [18, "t"], "Eyr" => [18, "yr"],
|
403
|
+
"Fahrenheits" => [0, "Fahrenheit"], "G%" => [9, "%"],
|
404
|
+
"GA" => [9, "A"], "GAu" => [9, "Au"], "GBq" => [9, "Bq"],
|
405
|
+
"GC" => [9, "C"], "GF" => [9, "F"], "GG" => [9, "G"],
|
406
|
+
"GGal" => [9, "Gal"], "GGy" => [9, "Gy"], "GH" => [9, "H"],
|
407
|
+
"GHg" => [9, "Hg"], "GHz" => [9, "Hz"], "GJ" => [9, "J"],
|
408
|
+
"GK" => [9, "K"], "GL" => [9, "L"], "GN" => [9, "N"],
|
409
|
+
"GP" => [9, "P"], "GPa" => [9, "Pa"], "GS" => [9, "S"],
|
410
|
+
"GSt" => [9, "St"], "GSv" => [9, "Sv"], "GT" => [9, "T"],
|
411
|
+
"GV" => [9, "V"], "GW" => [9, "W"], "GWb" => [9, "Wb"],
|
412
|
+
"Ga" => [9, "a"], "Gac" => [9, "ac"], "Gatm" => [9, "atm"],
|
413
|
+
"Gbar" => [9, "bar"], "Gcal" => [9, "cal"],
|
414
|
+
"Gconventional_mercury" => [9, "conventional_mercury"],
|
415
|
+
"Gd" => [9, "d"], "GdegC" => [9, "degC"], "GdegF" => [9, "degF"],
|
416
|
+
"Gdeg_C" => [9, "deg_C"], "Gdeg_F" => [9, "deg_F"],
|
417
|
+
"GdegreeC" => [9, "degreeC"], "GdegreeF" => [9, "degreeF"],
|
418
|
+
"Gdegree_C" => [9, "degree_C"], "Gdegree_E" => [9, "degree_E"],
|
419
|
+
"Gdegree_F" => [9, "degree_F"], "Gdegree_N" => [9, "degree_N"],
|
420
|
+
"Gdegree_R" => [9, "degree_R"], "Gdegree_S" => [9, "degree_S"],
|
421
|
+
"Gdegree_W" => [9, "degree_W"], "Gdegree_c" => [9, "degree_c"],
|
422
|
+
"Gdegree_east" => [9, "degree_east"], "Gdegree_f" => [9, "degree_f"],
|
423
|
+
"Gdegree_north" => [9, "degree_north"],
|
424
|
+
"Gdegree_south" => [9, "degree_south"],
|
425
|
+
"Gdegree_west" => [9, "degree_west"],
|
426
|
+
"Gdegrees_east" => [9, "degrees_east"],
|
427
|
+
"Gdegrees_north" => [9, "degrees_north"],
|
428
|
+
"Gdegrees_south" => [9, "degrees_south"],
|
429
|
+
"Gdegrees_west" => [9, "degrees_west"], "Gdyn" => [9, "dyn"],
|
430
|
+
"Gerg" => [9, "erg"], "Gforce" => [9, "force"], "Gg" => [9, "g"],
|
431
|
+
"Ggravity" => [9, "gravity"], "Gh" => [9, "h"], "Ghg" => [9, "hg"],
|
432
|
+
"Ghr" => [9, "hr"], "Gin" => [9, "in"], "Gkg" => [9, "kg"],
|
433
|
+
"Gkgf" => [9, "kgf"], "Gkph" => [9, "kph"], "Glb" => [9, "lb"],
|
434
|
+
"Glm" => [9, "lm"], "Glx" => [9, "lx"], "Gly" => [9, "ly"],
|
435
|
+
"Gm" => [9, "m"], "Gmb" => [9, "mb"], "Gmercury" => [9, "mercury"],
|
436
|
+
"Gmgal" => [9, "mgal"], "Gmin" => [9, "min"], "Gmol" => [9, "mol"],
|
437
|
+
"Gmon" => [9, "mon"], "Gmph" => [9, "mph"], "Gohm" => [9, "ohm"],
|
438
|
+
"Goz" => [9, "oz"], "Gpc" => [9, "pc"],
|
439
|
+
"Gpercent" => [9, "percent"], "Gpermil" => [9, "permil"],
|
440
|
+
"Gpsi" => [9, "psi"], "Grad" => [9, "rad"], "Gs" => [9, "s"],
|
441
|
+
"Gsr" => [9, "sr"], "Gt" => [9, "t"], "Gyr" => [9, "yr"],
|
442
|
+
"Julians_year" => [0, "Julian_year"], "M%" => [6, "%"],
|
443
|
+
"MA" => [6, "A"], "MAu" => [6, "Au"], "MBq" => [6, "Bq"],
|
444
|
+
"MC" => [6, "C"], "MF" => [6, "F"], "MG" => [6, "G"],
|
445
|
+
"MGal" => [6, "Gal"], "MGy" => [6, "Gy"], "MH" => [6, "H"],
|
446
|
+
"MHg" => [6, "Hg"], "MHz" => [6, "Hz"], "MJ" => [6, "J"],
|
447
|
+
"MK" => [6, "K"], "ML" => [6, "L"], "MN" => [6, "N"],
|
448
|
+
"MP" => [6, "P"], "MPa" => [6, "Pa"], "MS" => [6, "S"],
|
449
|
+
"MSt" => [6, "St"], "MSv" => [6, "Sv"], "MT" => [6, "T"],
|
450
|
+
"MV" => [6, "V"], "MW" => [6, "W"], "MWb" => [6, "Wb"],
|
451
|
+
"Ma" => [6, "a"], "Mac" => [6, "ac"], "Matm" => [6, "atm"],
|
452
|
+
"Mbar" => [6, "bar"], "Mcal" => [6, "cal"],
|
453
|
+
"Mconventional_mercury" => [6, "conventional_mercury"],
|
454
|
+
"Md" => [6, "d"], "MdegC" => [6, "degC"], "MdegF" => [6, "degF"],
|
455
|
+
"Mdeg_C" => [6, "deg_C"], "Mdeg_F" => [6, "deg_F"],
|
456
|
+
"MdegreeC" => [6, "degreeC"], "MdegreeF" => [6, "degreeF"],
|
457
|
+
"Mdegree_C" => [6, "degree_C"], "Mdegree_E" => [6, "degree_E"],
|
458
|
+
"Mdegree_F" => [6, "degree_F"], "Mdegree_N" => [6, "degree_N"],
|
459
|
+
"Mdegree_R" => [6, "degree_R"], "Mdegree_S" => [6, "degree_S"],
|
460
|
+
"Mdegree_W" => [6, "degree_W"], "Mdegree_c" => [6, "degree_c"],
|
461
|
+
"Mdegree_east" => [6, "degree_east"], "Mdegree_f" => [6, "degree_f"],
|
462
|
+
"Mdegree_north" => [6, "degree_north"],
|
463
|
+
"Mdegree_south" => [6, "degree_south"],
|
464
|
+
"Mdegree_west" => [6, "degree_west"],
|
465
|
+
"Mdegrees_east" => [6, "degrees_east"],
|
466
|
+
"Mdegrees_north" => [6, "degrees_north"],
|
467
|
+
"Mdegrees_south" => [6, "degrees_south"],
|
468
|
+
"Mdegrees_west" => [6, "degrees_west"], "Mdyn" => [6, "dyn"],
|
469
|
+
"Merg" => [6, "erg"], "Mforce" => [6, "force"], "Mg" => [6, "g"],
|
470
|
+
"Mgravity" => [6, "gravity"], "Mh" => [6, "h"], "Mhg" => [6, "hg"],
|
471
|
+
"Mhr" => [6, "hr"], "Min" => [6, "in"], "Mkg" => [6, "kg"],
|
472
|
+
"Mkgf" => [6, "kgf"], "Mkph" => [6, "kph"], "Mlb" => [6, "lb"],
|
473
|
+
"Mlm" => [6, "lm"], "Mlx" => [6, "lx"], "Mly" => [6, "ly"],
|
474
|
+
"Mm" => [6, "m"], "Mmb" => [6, "mb"], "Mmercury" => [6, "mercury"],
|
475
|
+
"Mmgal" => [6, "mgal"], "Mmin" => [6, "min"], "Mmol" => [6, "mol"],
|
476
|
+
"Mmon" => [6, "mon"], "Mmph" => [6, "mph"], "Mohm" => [6, "ohm"],
|
477
|
+
"Moz" => [6, "oz"], "Mpc" => [6, "pc"],
|
478
|
+
"Mpercent" => [6, "percent"], "Mpermil" => [6, "permil"],
|
479
|
+
"Mpsi" => [6, "psi"], "Mrad" => [6, "rad"], "Ms" => [6, "s"],
|
480
|
+
"Msr" => [6, "sr"], "Mt" => [6, "t"], "Myr" => [6, "yr"],
|
481
|
+
"P%" => [15, "%"], "PA" => [15, "A"], "PAu" => [15, "Au"],
|
482
|
+
"PBq" => [15, "Bq"], "PC" => [15, "C"], "PF" => [15, "F"],
|
483
|
+
"PG" => [15, "G"], "PGal" => [15, "Gal"], "PGy" => [15, "Gy"],
|
484
|
+
"PH" => [15, "H"], "PHg" => [15, "Hg"], "PHz" => [15, "Hz"],
|
485
|
+
"PJ" => [15, "J"], "PK" => [15, "K"], "PL" => [15, "L"],
|
486
|
+
"PN" => [15, "N"], "PP" => [15, "P"], "PPa" => [15, "Pa"],
|
487
|
+
"PS" => [15, "S"], "PSt" => [15, "St"], "PSv" => [15, "Sv"],
|
488
|
+
"PT" => [15, "T"], "PV" => [15, "V"], "PW" => [15, "W"],
|
489
|
+
"PWb" => [15, "Wb"], "Pa" => [15, "a"], "Pac" => [15, "ac"],
|
490
|
+
"Pascals" => [0, "Pascal"], "Patm" => [15, "atm"],
|
491
|
+
"Pbar" => [15, "bar"], "Pcal" => [15, "cal"],
|
492
|
+
"Pconventional_mercury" => [15, "conventional_mercury"],
|
493
|
+
"Pd" => [15, "d"], "PdegC" => [15, "degC"], "PdegF" => [15, "degF"],
|
494
|
+
"Pdeg_C" => [15, "deg_C"], "Pdeg_F" => [15, "deg_F"],
|
495
|
+
"PdegreeC" => [15, "degreeC"], "PdegreeF" => [15, "degreeF"],
|
496
|
+
"Pdegree_C" => [15, "degree_C"], "Pdegree_E" => [15, "degree_E"],
|
497
|
+
"Pdegree_F" => [15, "degree_F"], "Pdegree_N" => [15, "degree_N"],
|
498
|
+
"Pdegree_R" => [15, "degree_R"], "Pdegree_S" => [15, "degree_S"],
|
499
|
+
"Pdegree_W" => [15, "degree_W"], "Pdegree_c" => [15, "degree_c"],
|
500
|
+
"Pdegree_east" => [15, "degree_east"],
|
501
|
+
"Pdegree_f" => [15, "degree_f"],
|
502
|
+
"Pdegree_north" => [15, "degree_north"],
|
503
|
+
"Pdegree_south" => [15, "degree_south"],
|
504
|
+
"Pdegree_west" => [15, "degree_west"],
|
505
|
+
"Pdegrees_east" => [15, "degrees_east"],
|
506
|
+
"Pdegrees_north" => [15, "degrees_north"],
|
507
|
+
"Pdegrees_south" => [15, "degrees_south"],
|
508
|
+
"Pdegrees_west" => [15, "degrees_west"], "Pdyn" => [15, "dyn"],
|
509
|
+
"Perg" => [15, "erg"], "Pforce" => [15, "force"], "Pg" => [15, "g"],
|
510
|
+
"Pgravity" => [15, "gravity"], "Ph" => [15, "h"],
|
511
|
+
"Phg" => [15, "hg"], "Phr" => [15, "hr"], "Pin" => [15, "in"],
|
512
|
+
"Pkg" => [15, "kg"], "Pkgf" => [15, "kgf"], "Pkph" => [15, "kph"],
|
513
|
+
"Plb" => [15, "lb"], "Plm" => [15, "lm"], "Plx" => [15, "lx"],
|
514
|
+
"Ply" => [15, "ly"], "Pm" => [15, "m"], "Pmb" => [15, "mb"],
|
515
|
+
"Pmercury" => [15, "mercury"], "Pmgal" => [15, "mgal"],
|
516
|
+
"Pmin" => [15, "min"], "Pmol" => [15, "mol"], "Pmon" => [15, "mon"],
|
517
|
+
"Pmph" => [15, "mph"], "Pohm" => [15, "ohm"], "Poz" => [15, "oz"],
|
518
|
+
"Ppc" => [15, "pc"], "Ppercent" => [15, "percent"],
|
519
|
+
"Ppermil" => [15, "permil"], "Ppsi" => [15, "psi"],
|
520
|
+
"Prad" => [15, "rad"], "Ps" => [15, "s"], "Psr" => [15, "sr"],
|
521
|
+
"Pt" => [15, "t"], "Pyr" => [15, "yr"], "T%" => [12, "%"],
|
522
|
+
"TA" => [12, "A"], "TAu" => [12, "Au"], "TBq" => [12, "Bq"],
|
523
|
+
"TC" => [12, "C"], "TF" => [12, "F"], "TG" => [12, "G"],
|
524
|
+
"TGal" => [12, "Gal"], "TGy" => [12, "Gy"], "TH" => [12, "H"],
|
525
|
+
"THg" => [12, "Hg"], "THz" => [12, "Hz"], "TJ" => [12, "J"],
|
526
|
+
"TK" => [12, "K"], "TL" => [12, "L"], "TN" => [12, "N"],
|
527
|
+
"TP" => [12, "P"], "TPa" => [12, "Pa"], "TS" => [12, "S"],
|
528
|
+
"TSt" => [12, "St"], "TSv" => [12, "Sv"], "TT" => [12, "T"],
|
529
|
+
"TV" => [12, "V"], "TW" => [12, "W"], "TWb" => [12, "Wb"],
|
530
|
+
"Ta" => [12, "a"], "Tac" => [12, "ac"], "Tatm" => [12, "atm"],
|
531
|
+
"Tbar" => [12, "bar"], "Tcal" => [12, "cal"],
|
532
|
+
"Tconventional_mercury" => [12, "conventional_mercury"],
|
533
|
+
"Td" => [12, "d"], "TdegC" => [12, "degC"], "TdegF" => [12, "degF"],
|
534
|
+
"Tdeg_C" => [12, "deg_C"], "Tdeg_F" => [12, "deg_F"],
|
535
|
+
"TdegreeC" => [12, "degreeC"], "TdegreeF" => [12, "degreeF"],
|
536
|
+
"Tdegree_C" => [12, "degree_C"], "Tdegree_E" => [12, "degree_E"],
|
537
|
+
"Tdegree_F" => [12, "degree_F"], "Tdegree_N" => [12, "degree_N"],
|
538
|
+
"Tdegree_R" => [12, "degree_R"], "Tdegree_S" => [12, "degree_S"],
|
539
|
+
"Tdegree_W" => [12, "degree_W"], "Tdegree_c" => [12, "degree_c"],
|
540
|
+
"Tdegree_east" => [12, "degree_east"],
|
541
|
+
"Tdegree_f" => [12, "degree_f"],
|
542
|
+
"Tdegree_north" => [12, "degree_north"],
|
543
|
+
"Tdegree_south" => [12, "degree_south"],
|
544
|
+
"Tdegree_west" => [12, "degree_west"],
|
545
|
+
"Tdegrees_east" => [12, "degrees_east"],
|
546
|
+
"Tdegrees_north" => [12, "degrees_north"],
|
547
|
+
"Tdegrees_south" => [12, "degrees_south"],
|
548
|
+
"Tdegrees_west" => [12, "degrees_west"], "Tdyn" => [12, "dyn"],
|
549
|
+
"Terg" => [12, "erg"], "Tforce" => [12, "force"], "Tg" => [12, "g"],
|
550
|
+
"Tgravity" => [12, "gravity"], "Th" => [12, "h"],
|
551
|
+
"Thg" => [12, "hg"], "Thr" => [12, "hr"], "Tin" => [12, "in"],
|
552
|
+
"Tkg" => [12, "kg"], "Tkgf" => [12, "kgf"], "Tkph" => [12, "kph"],
|
553
|
+
"Tlb" => [12, "lb"], "Tlm" => [12, "lm"], "Tlx" => [12, "lx"],
|
554
|
+
"Tly" => [12, "ly"], "Tm" => [12, "m"], "Tmb" => [12, "mb"],
|
555
|
+
"Tmercury" => [12, "mercury"], "Tmgal" => [12, "mgal"],
|
556
|
+
"Tmin" => [12, "min"], "Tmol" => [12, "mol"], "Tmon" => [12, "mon"],
|
557
|
+
"Tmph" => [12, "mph"], "Tohm" => [12, "ohm"], "Toz" => [12, "oz"],
|
558
|
+
"Tpc" => [12, "pc"], "Tpercent" => [12, "percent"],
|
559
|
+
"Tpermil" => [12, "permil"], "Tpsi" => [12, "psi"],
|
560
|
+
"Trad" => [12, "rad"], "Ts" => [12, "s"], "Tsr" => [12, "sr"],
|
561
|
+
"Tt" => [12, "t"], "Tyr" => [12, "yr"], "a%" => [-18, "%"],
|
562
|
+
"aA" => [-18, "A"], "aAu" => [-18, "Au"], "aBq" => [-18, "Bq"],
|
563
|
+
"aC" => [-18, "C"], "aF" => [-18, "F"], "aG" => [-18, "G"],
|
564
|
+
"aGal" => [-18, "Gal"], "aGy" => [-18, "Gy"], "aH" => [-18, "H"],
|
565
|
+
"aHg" => [-18, "Hg"], "aHz" => [-18, "Hz"], "aJ" => [-18, "J"],
|
566
|
+
"aK" => [-18, "K"], "aL" => [-18, "L"], "aN" => [-18, "N"],
|
567
|
+
"aP" => [-18, "P"], "aPa" => [-18, "Pa"], "aS" => [-18, "S"],
|
568
|
+
"aSt" => [-18, "St"], "aSv" => [-18, "Sv"], "aT" => [-18, "T"],
|
569
|
+
"aV" => [-18, "V"], "aW" => [-18, "W"], "aWb" => [-18, "Wb"],
|
570
|
+
"aa" => [-18, "a"], "aac" => [-18, "ac"], "aatm" => [-18, "atm"],
|
571
|
+
"abar" => [-18, "bar"], "acal" => [-18, "cal"],
|
572
|
+
"aconventional_mercury" => [-18, "conventional_mercury"],
|
573
|
+
"acres" => [0, "acre"], "ad" => [-18, "d"],
|
574
|
+
"adegC" => [-18, "degC"], "adegF" => [-18, "degF"],
|
575
|
+
"adeg_C" => [-18, "deg_C"], "adeg_F" => [-18, "deg_F"],
|
576
|
+
"adegreeC" => [-18, "degreeC"], "adegreeF" => [-18, "degreeF"],
|
577
|
+
"adegree_C" => [-18, "degree_C"], "adegree_E" => [-18, "degree_E"],
|
578
|
+
"adegree_F" => [-18, "degree_F"], "adegree_N" => [-18, "degree_N"],
|
579
|
+
"adegree_R" => [-18, "degree_R"], "adegree_S" => [-18, "degree_S"],
|
580
|
+
"adegree_W" => [-18, "degree_W"], "adegree_c" => [-18, "degree_c"],
|
581
|
+
"adegree_east" => [-18, "degree_east"],
|
582
|
+
"adegree_f" => [-18, "degree_f"],
|
583
|
+
"adegree_north" => [-18, "degree_north"],
|
584
|
+
"adegree_south" => [-18, "degree_south"],
|
585
|
+
"adegree_west" => [-18, "degree_west"],
|
586
|
+
"adegrees_east" => [-18, "degrees_east"],
|
587
|
+
"adegrees_north" => [-18, "degrees_north"],
|
588
|
+
"adegrees_south" => [-18, "degrees_south"],
|
589
|
+
"adegrees_west" => [-18, "degrees_west"], "adyn" => [-18, "dyn"],
|
590
|
+
"aerg" => [-18, "erg"], "aforce" => [-18, "force"],
|
591
|
+
"ag" => [-18, "g"], "agravity" => [-18, "gravity"],
|
592
|
+
"ah" => [-18, "h"], "ahg" => [-18, "hg"], "ahr" => [-18, "hr"],
|
593
|
+
"ain" => [-18, "in"], "akg" => [-18, "kg"], "akgf" => [-18, "kgf"],
|
594
|
+
"akph" => [-18, "kph"], "alb" => [-18, "lb"], "alm" => [-18, "lm"],
|
595
|
+
"alx" => [-18, "lx"], "aly" => [-18, "ly"], "am" => [-18, "m"],
|
596
|
+
"amb" => [-18, "mb"], "amercury" => [-18, "mercury"],
|
597
|
+
"amgal" => [-18, "mgal"], "amin" => [-18, "min"],
|
598
|
+
"amol" => [-18, "mol"], "amon" => [-18, "mon"],
|
599
|
+
"amperes" => [0, "ampere"], "amph" => [-18, "mph"],
|
600
|
+
"angstroms" => [0, "angstrom"],
|
601
|
+
"angulars_degree" => [0, "angular_degree"],
|
602
|
+
"angulars_minute" => [0, "angular_minute"],
|
603
|
+
"angulars_second" => [0, "angular_second"], "aohm" => [-18, "ohm"],
|
604
|
+
"aoz" => [-18, "oz"], "apc" => [-18, "pc"],
|
605
|
+
"apercent" => [-18, "percent"], "apermil" => [-18, "permil"],
|
606
|
+
"apsi" => [-18, "psi"], "arad" => [-18, "rad"],
|
607
|
+
"ares" => [0, "are"], "as" => [-18, "s"], "asr" => [-18, "sr"],
|
608
|
+
"at" => [-18, "t"], "atmospheres" => [0, "atmosphere"],
|
609
|
+
"attoCelsius" => [-18, "Celsius"],
|
610
|
+
"attoFahrenheit" => [-18, "Fahrenheit"],
|
611
|
+
"attoJulian_year" => [-18, "Julian_year"],
|
612
|
+
"attoPascal" => [-18, "Pascal"], "attoacre" => [-18, "acre"],
|
613
|
+
"attoampere" => [-18, "ampere"], "attoangstrom" => [-18, "angstrom"],
|
614
|
+
"attoangular_degree" => [-18, "angular_degree"],
|
615
|
+
"attoangular_minute" => [-18, "angular_minute"],
|
616
|
+
"attoangular_second" => [-18, "angular_second"],
|
617
|
+
"attoare" => [-18, "are"], "attoatmosphere" => [-18, "atmosphere"],
|
618
|
+
"attocalorie" => [-18, "calorie"], "attocelsius" => [-18, "celsius"],
|
619
|
+
"attocentigrade" => [-18, "centigrade"],
|
620
|
+
"attocentury" => [-18, "century"], "attochain" => [-18, "chain"],
|
621
|
+
"attocommon_year" => [-18, "common_year"],
|
622
|
+
"attocoulomb" => [-18, "coulomb"], "attoday" => [-18, "day"],
|
623
|
+
"attodegK" => [-18, "degK"], "attodeg_K" => [-18, "deg_K"],
|
624
|
+
"attodegree" => [-18, "degree"], "attodegreeK" => [-18, "degreeK"],
|
625
|
+
"attodyne" => [-18, "dyne"], "attoerg" => [-18, "erg"],
|
626
|
+
"attofahrenheit" => [-18, "fahrenheit"],
|
627
|
+
"attofarad" => [-18, "farad"], "attofermi" => [-18, "fermi"],
|
628
|
+
"attogal" => [-18, "gal"], "attogauss" => [-18, "gauss"],
|
629
|
+
"attogram" => [-18, "gram"], "attohectare" => [-18, "hectare"],
|
630
|
+
"attohertz" => [-18, "hertz"], "attohour" => [-18, "hour"],
|
631
|
+
"attoinch" => [-18, "inch"], "attojoule" => [-18, "joule"],
|
632
|
+
"attokelvin" => [-18, "kelvin"], "attokilogram" => [-18, "kilogram"],
|
633
|
+
"attoknot" => [-18, "knot"], "attolitre" => [-18, "litre"],
|
634
|
+
"attometer" => [-18, "meter"], "attometre" => [-18, "metre"],
|
635
|
+
"attomicron" => [-18, "micron"], "attomile" => [-18, "mile"],
|
636
|
+
"attomillibar" => [-18, "millibar"], "attominute" => [-18, "minute"],
|
637
|
+
"attominute_angle" => [-18, "minute_angle"],
|
638
|
+
"attomole" => [-18, "mole"], "attomonth" => [-18, "month"],
|
639
|
+
"attonewton" => [-18, "newton"], "attoounce" => [-18, "ounce"],
|
640
|
+
"attoparsec" => [-18, "parsec"], "attopascal" => [-18, "pascal"],
|
641
|
+
"attopentad" => [-18, "pentad"], "attopoise" => [-18, "poise"],
|
642
|
+
"attopound" => [-18, "pound"], "attoradian" => [-18, "radian"],
|
643
|
+
"attosecond" => [-18, "second"],
|
644
|
+
"attosecond_angle" => [-18, "second_angle"],
|
645
|
+
"attosteradian" => [-18, "steradian"],
|
646
|
+
"attostokes" => [-18, "stokes"], "attotesla" => [-18, "tesla"],
|
647
|
+
"attoton" => [-18, "ton"], "attotonne" => [-18, "tonne"],
|
648
|
+
"attotorr" => [-18, "torr"], "attovolt" => [-18, "volt"],
|
649
|
+
"attowatt" => [-18, "watt"], "attoweber" => [-18, "weber"],
|
650
|
+
"attoyard" => [-18, "yard"], "attoyd" => [-18, "yd"],
|
651
|
+
"attoyear" => [-18, "year"], "ayr" => [-18, "yr"],
|
652
|
+
"c%" => [-2, "%"], "cA" => [-2, "A"], "cAu" => [-2, "Au"],
|
653
|
+
"cBq" => [-2, "Bq"], "cC" => [-2, "C"], "cF" => [-2, "F"],
|
654
|
+
"cG" => [-2, "G"], "cGal" => [-2, "Gal"], "cGy" => [-2, "Gy"],
|
655
|
+
"cH" => [-2, "H"], "cHg" => [-2, "Hg"], "cHz" => [-2, "Hz"],
|
656
|
+
"cJ" => [-2, "J"], "cK" => [-2, "K"], "cL" => [-2, "L"],
|
657
|
+
"cN" => [-2, "N"], "cP" => [-2, "P"], "cPa" => [-2, "Pa"],
|
658
|
+
"cS" => [-2, "S"], "cSt" => [-2, "St"], "cSv" => [-2, "Sv"],
|
659
|
+
"cT" => [-2, "T"], "cV" => [-2, "V"], "cW" => [-2, "W"],
|
660
|
+
"cWb" => [-2, "Wb"], "ca" => [-2, "a"], "cac" => [-2, "ac"],
|
661
|
+
"calories" => [0, "calorie"], "catm" => [-2, "atm"],
|
662
|
+
"cbar" => [-2, "bar"], "ccal" => [-2, "cal"],
|
663
|
+
"cconventional_mercury" => [-2, "conventional_mercury"],
|
664
|
+
"cd" => [-2, "d"], "cdegC" => [-2, "degC"], "cdegF" => [-2, "degF"],
|
665
|
+
"cdeg_C" => [-2, "deg_C"], "cdeg_F" => [-2, "deg_F"],
|
666
|
+
"cdegreeC" => [-2, "degreeC"], "cdegreeF" => [-2, "degreeF"],
|
667
|
+
"cdegree_C" => [-2, "degree_C"], "cdegree_E" => [-2, "degree_E"],
|
668
|
+
"cdegree_F" => [-2, "degree_F"], "cdegree_N" => [-2, "degree_N"],
|
669
|
+
"cdegree_R" => [-2, "degree_R"], "cdegree_S" => [-2, "degree_S"],
|
670
|
+
"cdegree_W" => [-2, "degree_W"], "cdegree_c" => [-2, "degree_c"],
|
671
|
+
"cdegree_east" => [-2, "degree_east"],
|
672
|
+
"cdegree_f" => [-2, "degree_f"],
|
673
|
+
"cdegree_north" => [-2, "degree_north"],
|
674
|
+
"cdegree_south" => [-2, "degree_south"],
|
675
|
+
"cdegree_west" => [-2, "degree_west"],
|
676
|
+
"cdegrees_east" => [-2, "degrees_east"],
|
677
|
+
"cdegrees_north" => [-2, "degrees_north"],
|
678
|
+
"cdegrees_south" => [-2, "degrees_south"],
|
679
|
+
"cdegrees_west" => [-2, "degrees_west"], "cdyn" => [-2, "dyn"],
|
680
|
+
"celsiuses" => [0, "celsius"], "centiCelsius" => [-2, "Celsius"],
|
681
|
+
"centiFahrenheit" => [-2, "Fahrenheit"],
|
682
|
+
"centiJulian_year" => [-2, "Julian_year"],
|
683
|
+
"centiPascal" => [-2, "Pascal"], "centiacre" => [-2, "acre"],
|
684
|
+
"centiampere" => [-2, "ampere"], "centiangstrom" => [-2, "angstrom"],
|
685
|
+
"centiangular_degree" => [-2, "angular_degree"],
|
686
|
+
"centiangular_minute" => [-2, "angular_minute"],
|
687
|
+
"centiangular_second" => [-2, "angular_second"],
|
688
|
+
"centiare" => [-2, "are"], "centiatmosphere" => [-2, "atmosphere"],
|
689
|
+
"centicalorie" => [-2, "calorie"], "centicelsius" => [-2, "celsius"],
|
690
|
+
"centicentigrade" => [-2, "centigrade"],
|
691
|
+
"centicentury" => [-2, "century"], "centichain" => [-2, "chain"],
|
692
|
+
"centicommon_year" => [-2, "common_year"],
|
693
|
+
"centicoulomb" => [-2, "coulomb"], "centiday" => [-2, "day"],
|
694
|
+
"centidegK" => [-2, "degK"], "centideg_K" => [-2, "deg_K"],
|
695
|
+
"centidegree" => [-2, "degree"], "centidegreeK" => [-2, "degreeK"],
|
696
|
+
"centidyne" => [-2, "dyne"], "centierg" => [-2, "erg"],
|
697
|
+
"centifahrenheit" => [-2, "fahrenheit"],
|
698
|
+
"centifarad" => [-2, "farad"], "centifermi" => [-2, "fermi"],
|
699
|
+
"centigal" => [-2, "gal"], "centigauss" => [-2, "gauss"],
|
700
|
+
"centigrades" => [0, "centigrade"], "centigram" => [-2, "gram"],
|
701
|
+
"centihectare" => [-2, "hectare"], "centihertz" => [-2, "hertz"],
|
702
|
+
"centihour" => [-2, "hour"], "centiinch" => [-2, "inch"],
|
703
|
+
"centijoule" => [-2, "joule"], "centikelvin" => [-2, "kelvin"],
|
704
|
+
"centikilogram" => [-2, "kilogram"], "centiknot" => [-2, "knot"],
|
705
|
+
"centilitre" => [-2, "litre"], "centimeter" => [-2, "meter"],
|
706
|
+
"centimetre" => [-2, "metre"], "centimicron" => [-2, "micron"],
|
707
|
+
"centimile" => [-2, "mile"], "centimillibar" => [-2, "millibar"],
|
708
|
+
"centiminute" => [-2, "minute"],
|
709
|
+
"centiminute_angle" => [-2, "minute_angle"],
|
710
|
+
"centimole" => [-2, "mole"], "centimonth" => [-2, "month"],
|
711
|
+
"centinewton" => [-2, "newton"], "centiounce" => [-2, "ounce"],
|
712
|
+
"centiparsec" => [-2, "parsec"], "centipascal" => [-2, "pascal"],
|
713
|
+
"centipentad" => [-2, "pentad"], "centipoise" => [-2, "poise"],
|
714
|
+
"centipound" => [-2, "pound"], "centiradian" => [-2, "radian"],
|
715
|
+
"centisecond" => [-2, "second"],
|
716
|
+
"centisecond_angle" => [-2, "second_angle"],
|
717
|
+
"centisteradian" => [-2, "steradian"],
|
718
|
+
"centistokes" => [-2, "stokes"], "centitesla" => [-2, "tesla"],
|
719
|
+
"centiton" => [-2, "ton"], "centitonne" => [-2, "tonne"],
|
720
|
+
"centitorr" => [-2, "torr"], "centivolt" => [-2, "volt"],
|
721
|
+
"centiwatt" => [-2, "watt"], "centiweber" => [-2, "weber"],
|
722
|
+
"centiyard" => [-2, "yard"], "centiyd" => [-2, "yd"],
|
723
|
+
"centiyear" => [-2, "year"], "centuries" => [0, "century"],
|
724
|
+
"cerg" => [-2, "erg"], "cforce" => [-2, "force"], "cg" => [-2, "g"],
|
725
|
+
"cgravity" => [-2, "gravity"], "ch" => [-2, "h"],
|
726
|
+
"chains" => [0, "chain"], "chg" => [-2, "hg"], "chr" => [-2, "hr"],
|
727
|
+
"cin" => [-2, "in"], "ckg" => [-2, "kg"], "ckgf" => [-2, "kgf"],
|
728
|
+
"ckph" => [-2, "kph"], "clb" => [-2, "lb"], "clm" => [-2, "lm"],
|
729
|
+
"clx" => [-2, "lx"], "cly" => [-2, "ly"], "cm" => [-2, "m"],
|
730
|
+
"cmb" => [-2, "mb"], "cmercury" => [-2, "mercury"],
|
731
|
+
"cmgal" => [-2, "mgal"], "cmin" => [-2, "min"],
|
732
|
+
"cmol" => [-2, "mol"], "cmon" => [-2, "mon"], "cmph" => [-2, "mph"],
|
733
|
+
"cohm" => [-2, "ohm"], "commons_year" => [0, "common_year"],
|
734
|
+
"coulombs" => [0, "coulomb"], "coz" => [-2, "oz"],
|
735
|
+
"cpc" => [-2, "pc"], "cpercent" => [-2, "percent"],
|
736
|
+
"cpermil" => [-2, "permil"], "cpsi" => [-2, "psi"],
|
737
|
+
"crad" => [-2, "rad"], "cs" => [-2, "s"], "csr" => [-2, "sr"],
|
738
|
+
"ct" => [-2, "t"], "cyr" => [-2, "yr"], "d%" => [-1, "%"],
|
739
|
+
"dA" => [-1, "A"], "dAu" => [-1, "Au"], "dBq" => [-1, "Bq"],
|
740
|
+
"dC" => [-1, "C"], "dF" => [-1, "F"], "dG" => [-1, "G"],
|
741
|
+
"dGal" => [-1, "Gal"], "dGy" => [-1, "Gy"], "dH" => [-1, "H"],
|
742
|
+
"dHg" => [-1, "Hg"], "dHz" => [-1, "Hz"], "dJ" => [-1, "J"],
|
743
|
+
"dK" => [-1, "K"], "dL" => [-1, "L"], "dN" => [-1, "N"],
|
744
|
+
"dP" => [-1, "P"], "dPa" => [-1, "Pa"], "dS" => [-1, "S"],
|
745
|
+
"dSt" => [-1, "St"], "dSv" => [-1, "Sv"], "dT" => [-1, "T"],
|
746
|
+
"dV" => [-1, "V"], "dW" => [-1, "W"], "dWb" => [-1, "Wb"],
|
747
|
+
"da" => [-1, "a"], "da%" => [1, "%"], "daA" => [1, "A"],
|
748
|
+
"daAu" => [1, "Au"], "daBq" => [1, "Bq"], "daC" => [1, "C"],
|
749
|
+
"daF" => [1, "F"], "daG" => [1, "G"], "daGal" => [1, "Gal"],
|
750
|
+
"daGy" => [1, "Gy"], "daH" => [1, "H"], "daHg" => [1, "Hg"],
|
751
|
+
"daHz" => [1, "Hz"], "daJ" => [1, "J"], "daK" => [1, "K"],
|
752
|
+
"daL" => [1, "L"], "daN" => [1, "N"], "daP" => [1, "P"],
|
753
|
+
"daPa" => [1, "Pa"], "daS" => [1, "S"], "daSt" => [1, "St"],
|
754
|
+
"daSv" => [1, "Sv"], "daT" => [1, "T"], "daV" => [1, "V"],
|
755
|
+
"daW" => [1, "W"], "daWb" => [1, "Wb"], "daa" => [1, "a"],
|
756
|
+
"daac" => [1, "ac"], "daatm" => [1, "atm"], "dabar" => [1, "bar"],
|
757
|
+
"dac" => [-1, "ac"], "dacal" => [1, "cal"],
|
758
|
+
"daconventional_mercury" => [1, "conventional_mercury"],
|
759
|
+
"dad" => [1, "d"], "dadegC" => [1, "degC"], "dadegF" => [1, "degF"],
|
760
|
+
"dadeg_C" => [1, "deg_C"], "dadeg_F" => [1, "deg_F"],
|
761
|
+
"dadegreeC" => [1, "degreeC"], "dadegreeF" => [1, "degreeF"],
|
762
|
+
"dadegree_C" => [1, "degree_C"], "dadegree_E" => [1, "degree_E"],
|
763
|
+
"dadegree_F" => [1, "degree_F"], "dadegree_N" => [1, "degree_N"],
|
764
|
+
"dadegree_R" => [1, "degree_R"], "dadegree_S" => [1, "degree_S"],
|
765
|
+
"dadegree_W" => [1, "degree_W"], "dadegree_c" => [1, "degree_c"],
|
766
|
+
"dadegree_east" => [1, "degree_east"],
|
767
|
+
"dadegree_f" => [1, "degree_f"],
|
768
|
+
"dadegree_north" => [1, "degree_north"],
|
769
|
+
"dadegree_south" => [1, "degree_south"],
|
770
|
+
"dadegree_west" => [1, "degree_west"],
|
771
|
+
"dadegrees_east" => [1, "degrees_east"],
|
772
|
+
"dadegrees_north" => [1, "degrees_north"],
|
773
|
+
"dadegrees_south" => [1, "degrees_south"],
|
774
|
+
"dadegrees_west" => [1, "degrees_west"], "dadyn" => [1, "dyn"],
|
775
|
+
"daerg" => [1, "erg"], "daforce" => [1, "force"], "dag" => [1, "g"],
|
776
|
+
"dagravity" => [1, "gravity"], "dah" => [1, "h"],
|
777
|
+
"dahg" => [1, "hg"], "dahr" => [1, "hr"], "dain" => [1, "in"],
|
778
|
+
"dakg" => [1, "kg"], "dakgf" => [1, "kgf"], "dakph" => [1, "kph"],
|
779
|
+
"dalb" => [1, "lb"], "dalm" => [1, "lm"], "dalx" => [1, "lx"],
|
780
|
+
"daly" => [1, "ly"], "dam" => [1, "m"], "damb" => [1, "mb"],
|
781
|
+
"damercury" => [1, "mercury"], "damgal" => [1, "mgal"],
|
782
|
+
"damin" => [1, "min"], "damol" => [1, "mol"], "damon" => [1, "mon"],
|
783
|
+
"damph" => [1, "mph"], "daohm" => [1, "ohm"], "daoz" => [1, "oz"],
|
784
|
+
"dapc" => [1, "pc"], "dapercent" => [1, "percent"],
|
785
|
+
"dapermil" => [1, "permil"], "dapsi" => [1, "psi"],
|
786
|
+
"darad" => [1, "rad"], "das" => [1, "s"], "dasr" => [1, "sr"],
|
787
|
+
"dat" => [1, "t"], "datm" => [-1, "atm"], "dayr" => [1, "yr"],
|
788
|
+
"days" => [0, "day"], "dbar" => [-1, "bar"], "dcal" => [-1, "cal"],
|
789
|
+
"dconventional_mercury" => [-1, "conventional_mercury"],
|
790
|
+
"dd" => [-1, "d"], "ddegC" => [-1, "degC"], "ddegF" => [-1, "degF"],
|
791
|
+
"ddeg_C" => [-1, "deg_C"], "ddeg_F" => [-1, "deg_F"],
|
792
|
+
"ddegreeC" => [-1, "degreeC"], "ddegreeF" => [-1, "degreeF"],
|
793
|
+
"ddegree_C" => [-1, "degree_C"], "ddegree_E" => [-1, "degree_E"],
|
794
|
+
"ddegree_F" => [-1, "degree_F"], "ddegree_N" => [-1, "degree_N"],
|
795
|
+
"ddegree_R" => [-1, "degree_R"], "ddegree_S" => [-1, "degree_S"],
|
796
|
+
"ddegree_W" => [-1, "degree_W"], "ddegree_c" => [-1, "degree_c"],
|
797
|
+
"ddegree_east" => [-1, "degree_east"],
|
798
|
+
"ddegree_f" => [-1, "degree_f"],
|
799
|
+
"ddegree_north" => [-1, "degree_north"],
|
800
|
+
"ddegree_south" => [-1, "degree_south"],
|
801
|
+
"ddegree_west" => [-1, "degree_west"],
|
802
|
+
"ddegrees_east" => [-1, "degrees_east"],
|
803
|
+
"ddegrees_north" => [-1, "degrees_north"],
|
804
|
+
"ddegrees_south" => [-1, "degrees_south"],
|
805
|
+
"ddegrees_west" => [-1, "degrees_west"], "ddyn" => [-1, "dyn"],
|
806
|
+
"decaCelsius" => [1, "Celsius"],
|
807
|
+
"decaFahrenheit" => [1, "Fahrenheit"],
|
808
|
+
"decaJulian_year" => [1, "Julian_year"],
|
809
|
+
"decaPascal" => [1, "Pascal"], "decaacre" => [1, "acre"],
|
810
|
+
"decaampere" => [1, "ampere"], "decaangstrom" => [1, "angstrom"],
|
811
|
+
"decaangular_degree" => [1, "angular_degree"],
|
812
|
+
"decaangular_minute" => [1, "angular_minute"],
|
813
|
+
"decaangular_second" => [1, "angular_second"],
|
814
|
+
"decaare" => [1, "are"], "decaatmosphere" => [1, "atmosphere"],
|
815
|
+
"decacalorie" => [1, "calorie"], "decacelsius" => [1, "celsius"],
|
816
|
+
"decacentigrade" => [1, "centigrade"],
|
817
|
+
"decacentury" => [1, "century"], "decachain" => [1, "chain"],
|
818
|
+
"decacommon_year" => [1, "common_year"],
|
819
|
+
"decacoulomb" => [1, "coulomb"], "decaday" => [1, "day"],
|
820
|
+
"decadegK" => [1, "degK"], "decadeg_K" => [1, "deg_K"],
|
821
|
+
"decadegree" => [1, "degree"], "decadegreeK" => [1, "degreeK"],
|
822
|
+
"decadyne" => [1, "dyne"], "decaerg" => [1, "erg"],
|
823
|
+
"decafahrenheit" => [1, "fahrenheit"], "decafarad" => [1, "farad"],
|
824
|
+
"decafermi" => [1, "fermi"], "decagal" => [1, "gal"],
|
825
|
+
"decagauss" => [1, "gauss"], "decagram" => [1, "gram"],
|
826
|
+
"decahectare" => [1, "hectare"], "decahertz" => [1, "hertz"],
|
827
|
+
"decahour" => [1, "hour"], "decainch" => [1, "inch"],
|
828
|
+
"decajoule" => [1, "joule"], "decakelvin" => [1, "kelvin"],
|
829
|
+
"decakilogram" => [1, "kilogram"], "decaknot" => [1, "knot"],
|
830
|
+
"decalitre" => [1, "litre"], "decameter" => [1, "meter"],
|
831
|
+
"decametre" => [1, "metre"], "decamicron" => [1, "micron"],
|
832
|
+
"decamile" => [1, "mile"], "decamillibar" => [1, "millibar"],
|
833
|
+
"decaminute" => [1, "minute"],
|
834
|
+
"decaminute_angle" => [1, "minute_angle"], "decamole" => [1, "mole"],
|
835
|
+
"decamonth" => [1, "month"], "decanewton" => [1, "newton"],
|
836
|
+
"decaounce" => [1, "ounce"], "decaparsec" => [1, "parsec"],
|
837
|
+
"decapascal" => [1, "pascal"], "decapentad" => [1, "pentad"],
|
838
|
+
"decapoise" => [1, "poise"], "decapound" => [1, "pound"],
|
839
|
+
"decaradian" => [1, "radian"], "decasecond" => [1, "second"],
|
840
|
+
"decasecond_angle" => [1, "second_angle"],
|
841
|
+
"decasteradian" => [1, "steradian"], "decastokes" => [1, "stokes"],
|
842
|
+
"decatesla" => [1, "tesla"], "decaton" => [1, "ton"],
|
843
|
+
"decatonne" => [1, "tonne"], "decatorr" => [1, "torr"],
|
844
|
+
"decavolt" => [1, "volt"], "decawatt" => [1, "watt"],
|
845
|
+
"decaweber" => [1, "weber"], "decayard" => [1, "yard"],
|
846
|
+
"decayd" => [1, "yd"], "decayear" => [1, "year"],
|
847
|
+
"deciCelsius" => [-1, "Celsius"],
|
848
|
+
"deciFahrenheit" => [-1, "Fahrenheit"],
|
849
|
+
"deciJulian_year" => [-1, "Julian_year"],
|
850
|
+
"deciPascal" => [-1, "Pascal"], "deciacre" => [-1, "acre"],
|
851
|
+
"deciampere" => [-1, "ampere"], "deciangstrom" => [-1, "angstrom"],
|
852
|
+
"deciangular_degree" => [-1, "angular_degree"],
|
853
|
+
"deciangular_minute" => [-1, "angular_minute"],
|
854
|
+
"deciangular_second" => [-1, "angular_second"],
|
855
|
+
"deciare" => [-1, "are"], "deciatmosphere" => [-1, "atmosphere"],
|
856
|
+
"decicalorie" => [-1, "calorie"], "decicelsius" => [-1, "celsius"],
|
857
|
+
"decicentigrade" => [-1, "centigrade"],
|
858
|
+
"decicentury" => [-1, "century"], "decichain" => [-1, "chain"],
|
859
|
+
"decicommon_year" => [-1, "common_year"],
|
860
|
+
"decicoulomb" => [-1, "coulomb"], "deciday" => [-1, "day"],
|
861
|
+
"decidegK" => [-1, "degK"], "decideg_K" => [-1, "deg_K"],
|
862
|
+
"decidegree" => [-1, "degree"], "decidegreeK" => [-1, "degreeK"],
|
863
|
+
"decidyne" => [-1, "dyne"], "decierg" => [-1, "erg"],
|
864
|
+
"decifahrenheit" => [-1, "fahrenheit"], "decifarad" => [-1, "farad"],
|
865
|
+
"decifermi" => [-1, "fermi"], "decigal" => [-1, "gal"],
|
866
|
+
"decigauss" => [-1, "gauss"], "decigram" => [-1, "gram"],
|
867
|
+
"decihectare" => [-1, "hectare"], "decihertz" => [-1, "hertz"],
|
868
|
+
"decihour" => [-1, "hour"], "deciinch" => [-1, "inch"],
|
869
|
+
"decijoule" => [-1, "joule"], "decikelvin" => [-1, "kelvin"],
|
870
|
+
"decikilogram" => [-1, "kilogram"], "deciknot" => [-1, "knot"],
|
871
|
+
"decilitre" => [-1, "litre"], "decimeter" => [-1, "meter"],
|
872
|
+
"decimetre" => [-1, "metre"], "decimicron" => [-1, "micron"],
|
873
|
+
"decimile" => [-1, "mile"], "decimillibar" => [-1, "millibar"],
|
874
|
+
"deciminute" => [-1, "minute"],
|
875
|
+
"deciminute_angle" => [-1, "minute_angle"],
|
876
|
+
"decimole" => [-1, "mole"], "decimonth" => [-1, "month"],
|
877
|
+
"decinewton" => [-1, "newton"], "deciounce" => [-1, "ounce"],
|
878
|
+
"deciparsec" => [-1, "parsec"], "decipascal" => [-1, "pascal"],
|
879
|
+
"decipentad" => [-1, "pentad"], "decipoise" => [-1, "poise"],
|
880
|
+
"decipound" => [-1, "pound"], "deciradian" => [-1, "radian"],
|
881
|
+
"decisecond" => [-1, "second"],
|
882
|
+
"decisecond_angle" => [-1, "second_angle"],
|
883
|
+
"decisteradian" => [-1, "steradian"], "decistokes" => [-1, "stokes"],
|
884
|
+
"decitesla" => [-1, "tesla"], "deciton" => [-1, "ton"],
|
885
|
+
"decitonne" => [-1, "tonne"], "decitorr" => [-1, "torr"],
|
886
|
+
"decivolt" => [-1, "volt"], "deciwatt" => [-1, "watt"],
|
887
|
+
"deciweber" => [-1, "weber"], "deciyard" => [-1, "yard"],
|
888
|
+
"deciyd" => [-1, "yd"], "deciyear" => [-1, "year"],
|
889
|
+
"degKs" => [0, "degK"], "degreeKs" => [0, "degreeK"],
|
890
|
+
"degrees" => [0, "degree"], "degs_K" => [0, "deg_K"],
|
891
|
+
"derg" => [-1, "erg"], "dforce" => [-1, "force"], "dg" => [-1, "g"],
|
892
|
+
"dgravity" => [-1, "gravity"], "dh" => [-1, "h"],
|
893
|
+
"dhg" => [-1, "hg"], "dhr" => [-1, "hr"], "din" => [-1, "in"],
|
894
|
+
"dkg" => [-1, "kg"], "dkgf" => [-1, "kgf"], "dkph" => [-1, "kph"],
|
895
|
+
"dlb" => [-1, "lb"], "dlm" => [-1, "lm"], "dlx" => [-1, "lx"],
|
896
|
+
"dly" => [-1, "ly"], "dm" => [-1, "m"], "dmb" => [-1, "mb"],
|
897
|
+
"dmercury" => [-1, "mercury"], "dmgal" => [-1, "mgal"],
|
898
|
+
"dmin" => [-1, "min"], "dmol" => [-1, "mol"], "dmon" => [-1, "mon"],
|
899
|
+
"dmph" => [-1, "mph"], "dohm" => [-1, "ohm"], "doz" => [-1, "oz"],
|
900
|
+
"dpc" => [-1, "pc"], "dpercent" => [-1, "percent"],
|
901
|
+
"dpermil" => [-1, "permil"], "dpsi" => [-1, "psi"],
|
902
|
+
"drad" => [-1, "rad"], "ds" => [-1, "s"], "dsr" => [-1, "sr"],
|
903
|
+
"dt" => [-1, "t"], "dynes" => [0, "dyne"], "dyr" => [-1, "yr"],
|
904
|
+
"ergs" => [0, "erg"], "exaCelsius" => [18, "Celsius"],
|
905
|
+
"exaFahrenheit" => [18, "Fahrenheit"],
|
906
|
+
"exaJulian_year" => [18, "Julian_year"],
|
907
|
+
"exaPascal" => [18, "Pascal"], "exaacre" => [18, "acre"],
|
908
|
+
"exaampere" => [18, "ampere"], "exaangstrom" => [18, "angstrom"],
|
909
|
+
"exaangular_degree" => [18, "angular_degree"],
|
910
|
+
"exaangular_minute" => [18, "angular_minute"],
|
911
|
+
"exaangular_second" => [18, "angular_second"],
|
912
|
+
"exaare" => [18, "are"], "exaatmosphere" => [18, "atmosphere"],
|
913
|
+
"exacalorie" => [18, "calorie"], "exacelsius" => [18, "celsius"],
|
914
|
+
"exacentigrade" => [18, "centigrade"],
|
915
|
+
"exacentury" => [18, "century"], "exachain" => [18, "chain"],
|
916
|
+
"exacommon_year" => [18, "common_year"],
|
917
|
+
"exacoulomb" => [18, "coulomb"], "exaday" => [18, "day"],
|
918
|
+
"exadegK" => [18, "degK"], "exadeg_K" => [18, "deg_K"],
|
919
|
+
"exadegree" => [18, "degree"], "exadegreeK" => [18, "degreeK"],
|
920
|
+
"exadyne" => [18, "dyne"], "exaerg" => [18, "erg"],
|
921
|
+
"exafahrenheit" => [18, "fahrenheit"], "exafarad" => [18, "farad"],
|
922
|
+
"exafermi" => [18, "fermi"], "exagal" => [18, "gal"],
|
923
|
+
"exagauss" => [18, "gauss"], "exagram" => [18, "gram"],
|
924
|
+
"exahectare" => [18, "hectare"], "exahertz" => [18, "hertz"],
|
925
|
+
"exahour" => [18, "hour"], "exainch" => [18, "inch"],
|
926
|
+
"exajoule" => [18, "joule"], "exakelvin" => [18, "kelvin"],
|
927
|
+
"exakilogram" => [18, "kilogram"], "exaknot" => [18, "knot"],
|
928
|
+
"exalitre" => [18, "litre"], "exameter" => [18, "meter"],
|
929
|
+
"exametre" => [18, "metre"], "examicron" => [18, "micron"],
|
930
|
+
"examile" => [18, "mile"], "examillibar" => [18, "millibar"],
|
931
|
+
"examinute" => [18, "minute"],
|
932
|
+
"examinute_angle" => [18, "minute_angle"], "examole" => [18, "mole"],
|
933
|
+
"examonth" => [18, "month"], "exanewton" => [18, "newton"],
|
934
|
+
"exaounce" => [18, "ounce"], "exaparsec" => [18, "parsec"],
|
935
|
+
"exapascal" => [18, "pascal"], "exapentad" => [18, "pentad"],
|
936
|
+
"exapoise" => [18, "poise"], "exapound" => [18, "pound"],
|
937
|
+
"exaradian" => [18, "radian"], "exasecond" => [18, "second"],
|
938
|
+
"exasecond_angle" => [18, "second_angle"],
|
939
|
+
"exasteradian" => [18, "steradian"], "exastokes" => [18, "stokes"],
|
940
|
+
"exatesla" => [18, "tesla"], "exaton" => [18, "ton"],
|
941
|
+
"exatonne" => [18, "tonne"], "exatorr" => [18, "torr"],
|
942
|
+
"exavolt" => [18, "volt"], "exawatt" => [18, "watt"],
|
943
|
+
"exaweber" => [18, "weber"], "exayard" => [18, "yard"],
|
944
|
+
"exayd" => [18, "yd"], "exayear" => [18, "year"],
|
945
|
+
"f%" => [-15, "%"], "fA" => [-15, "A"], "fAu" => [-15, "Au"],
|
946
|
+
"fBq" => [-15, "Bq"], "fC" => [-15, "C"], "fF" => [-15, "F"],
|
947
|
+
"fG" => [-15, "G"], "fGal" => [-15, "Gal"], "fGy" => [-15, "Gy"],
|
948
|
+
"fH" => [-15, "H"], "fHg" => [-15, "Hg"], "fHz" => [-15, "Hz"],
|
949
|
+
"fJ" => [-15, "J"], "fK" => [-15, "K"], "fL" => [-15, "L"],
|
950
|
+
"fN" => [-15, "N"], "fP" => [-15, "P"], "fPa" => [-15, "Pa"],
|
951
|
+
"fS" => [-15, "S"], "fSt" => [-15, "St"], "fSv" => [-15, "Sv"],
|
952
|
+
"fT" => [-15, "T"], "fV" => [-15, "V"], "fW" => [-15, "W"],
|
953
|
+
"fWb" => [-15, "Wb"], "fa" => [-15, "a"], "fac" => [-15, "ac"],
|
954
|
+
"fahrenheits" => [0, "fahrenheit"], "farads" => [0, "farad"],
|
955
|
+
"fatm" => [-15, "atm"], "fbar" => [-15, "bar"],
|
956
|
+
"fcal" => [-15, "cal"],
|
957
|
+
"fconventional_mercury" => [-15, "conventional_mercury"],
|
958
|
+
"fd" => [-15, "d"], "fdegC" => [-15, "degC"],
|
959
|
+
"fdegF" => [-15, "degF"], "fdeg_C" => [-15, "deg_C"],
|
960
|
+
"fdeg_F" => [-15, "deg_F"], "fdegreeC" => [-15, "degreeC"],
|
961
|
+
"fdegreeF" => [-15, "degreeF"], "fdegree_C" => [-15, "degree_C"],
|
962
|
+
"fdegree_E" => [-15, "degree_E"], "fdegree_F" => [-15, "degree_F"],
|
963
|
+
"fdegree_N" => [-15, "degree_N"], "fdegree_R" => [-15, "degree_R"],
|
964
|
+
"fdegree_S" => [-15, "degree_S"], "fdegree_W" => [-15, "degree_W"],
|
965
|
+
"fdegree_c" => [-15, "degree_c"],
|
966
|
+
"fdegree_east" => [-15, "degree_east"],
|
967
|
+
"fdegree_f" => [-15, "degree_f"],
|
968
|
+
"fdegree_north" => [-15, "degree_north"],
|
969
|
+
"fdegree_south" => [-15, "degree_south"],
|
970
|
+
"fdegree_west" => [-15, "degree_west"],
|
971
|
+
"fdegrees_east" => [-15, "degrees_east"],
|
972
|
+
"fdegrees_north" => [-15, "degrees_north"],
|
973
|
+
"fdegrees_south" => [-15, "degrees_south"],
|
974
|
+
"fdegrees_west" => [-15, "degrees_west"], "fdyn" => [-15, "dyn"],
|
975
|
+
"femtoCelsius" => [-15, "Celsius"],
|
976
|
+
"femtoFahrenheit" => [-15, "Fahrenheit"],
|
977
|
+
"femtoJulian_year" => [-15, "Julian_year"],
|
978
|
+
"femtoPascal" => [-15, "Pascal"], "femtoacre" => [-15, "acre"],
|
979
|
+
"femtoampere" => [-15, "ampere"],
|
980
|
+
"femtoangstrom" => [-15, "angstrom"],
|
981
|
+
"femtoangular_degree" => [-15, "angular_degree"],
|
982
|
+
"femtoangular_minute" => [-15, "angular_minute"],
|
983
|
+
"femtoangular_second" => [-15, "angular_second"],
|
984
|
+
"femtoare" => [-15, "are"], "femtoatmosphere" => [-15, "atmosphere"],
|
985
|
+
"femtocalorie" => [-15, "calorie"],
|
986
|
+
"femtocelsius" => [-15, "celsius"],
|
987
|
+
"femtocentigrade" => [-15, "centigrade"],
|
988
|
+
"femtocentury" => [-15, "century"], "femtochain" => [-15, "chain"],
|
989
|
+
"femtocommon_year" => [-15, "common_year"],
|
990
|
+
"femtocoulomb" => [-15, "coulomb"], "femtoday" => [-15, "day"],
|
991
|
+
"femtodegK" => [-15, "degK"], "femtodeg_K" => [-15, "deg_K"],
|
992
|
+
"femtodegree" => [-15, "degree"], "femtodegreeK" => [-15, "degreeK"],
|
993
|
+
"femtodyne" => [-15, "dyne"], "femtoerg" => [-15, "erg"],
|
994
|
+
"femtofahrenheit" => [-15, "fahrenheit"],
|
995
|
+
"femtofarad" => [-15, "farad"], "femtofermi" => [-15, "fermi"],
|
996
|
+
"femtogal" => [-15, "gal"], "femtogauss" => [-15, "gauss"],
|
997
|
+
"femtogram" => [-15, "gram"], "femtohectare" => [-15, "hectare"],
|
998
|
+
"femtohertz" => [-15, "hertz"], "femtohour" => [-15, "hour"],
|
999
|
+
"femtoinch" => [-15, "inch"], "femtojoule" => [-15, "joule"],
|
1000
|
+
"femtokelvin" => [-15, "kelvin"],
|
1001
|
+
"femtokilogram" => [-15, "kilogram"], "femtoknot" => [-15, "knot"],
|
1002
|
+
"femtolitre" => [-15, "litre"], "femtometer" => [-15, "meter"],
|
1003
|
+
"femtometre" => [-15, "metre"], "femtomicron" => [-15, "micron"],
|
1004
|
+
"femtomile" => [-15, "mile"], "femtomillibar" => [-15, "millibar"],
|
1005
|
+
"femtominute" => [-15, "minute"],
|
1006
|
+
"femtominute_angle" => [-15, "minute_angle"],
|
1007
|
+
"femtomole" => [-15, "mole"], "femtomonth" => [-15, "month"],
|
1008
|
+
"femtonewton" => [-15, "newton"], "femtoounce" => [-15, "ounce"],
|
1009
|
+
"femtoparsec" => [-15, "parsec"], "femtopascal" => [-15, "pascal"],
|
1010
|
+
"femtopentad" => [-15, "pentad"], "femtopoise" => [-15, "poise"],
|
1011
|
+
"femtopound" => [-15, "pound"], "femtoradian" => [-15, "radian"],
|
1012
|
+
"femtosecond" => [-15, "second"],
|
1013
|
+
"femtosecond_angle" => [-15, "second_angle"],
|
1014
|
+
"femtosteradian" => [-15, "steradian"],
|
1015
|
+
"femtostokes" => [-15, "stokes"], "femtotesla" => [-15, "tesla"],
|
1016
|
+
"femtoton" => [-15, "ton"], "femtotonne" => [-15, "tonne"],
|
1017
|
+
"femtotorr" => [-15, "torr"], "femtovolt" => [-15, "volt"],
|
1018
|
+
"femtowatt" => [-15, "watt"], "femtoweber" => [-15, "weber"],
|
1019
|
+
"femtoyard" => [-15, "yard"], "femtoyd" => [-15, "yd"],
|
1020
|
+
"femtoyear" => [-15, "year"], "ferg" => [-15, "erg"],
|
1021
|
+
"fermis" => [0, "fermi"], "fforce" => [-15, "force"],
|
1022
|
+
"fg" => [-15, "g"], "fgravity" => [-15, "gravity"],
|
1023
|
+
"fh" => [-15, "h"], "fhg" => [-15, "hg"], "fhr" => [-15, "hr"],
|
1024
|
+
"fin" => [-15, "in"], "fkg" => [-15, "kg"], "fkgf" => [-15, "kgf"],
|
1025
|
+
"fkph" => [-15, "kph"], "flb" => [-15, "lb"], "flm" => [-15, "lm"],
|
1026
|
+
"flx" => [-15, "lx"], "fly" => [-15, "ly"], "fm" => [-15, "m"],
|
1027
|
+
"fmb" => [-15, "mb"], "fmercury" => [-15, "mercury"],
|
1028
|
+
"fmgal" => [-15, "mgal"], "fmin" => [-15, "min"],
|
1029
|
+
"fmol" => [-15, "mol"], "fmon" => [-15, "mon"],
|
1030
|
+
"fmph" => [-15, "mph"], "fohm" => [-15, "ohm"],
|
1031
|
+
"foz" => [-15, "oz"], "fpc" => [-15, "pc"],
|
1032
|
+
"fpercent" => [-15, "percent"], "fpermil" => [-15, "permil"],
|
1033
|
+
"fpsi" => [-15, "psi"], "frad" => [-15, "rad"], "fs" => [-15, "s"],
|
1034
|
+
"fsr" => [-15, "sr"], "ft" => [-15, "t"], "fyr" => [-15, "yr"],
|
1035
|
+
"gals" => [0, "gal"], "gausses" => [0, "gauss"],
|
1036
|
+
"gigaCelsius" => [9, "Celsius"],
|
1037
|
+
"gigaFahrenheit" => [9, "Fahrenheit"],
|
1038
|
+
"gigaJulian_year" => [9, "Julian_year"],
|
1039
|
+
"gigaPascal" => [9, "Pascal"], "gigaacre" => [9, "acre"],
|
1040
|
+
"gigaampere" => [9, "ampere"], "gigaangstrom" => [9, "angstrom"],
|
1041
|
+
"gigaangular_degree" => [9, "angular_degree"],
|
1042
|
+
"gigaangular_minute" => [9, "angular_minute"],
|
1043
|
+
"gigaangular_second" => [9, "angular_second"],
|
1044
|
+
"gigaare" => [9, "are"], "gigaatmosphere" => [9, "atmosphere"],
|
1045
|
+
"gigacalorie" => [9, "calorie"], "gigacelsius" => [9, "celsius"],
|
1046
|
+
"gigacentigrade" => [9, "centigrade"],
|
1047
|
+
"gigacentury" => [9, "century"], "gigachain" => [9, "chain"],
|
1048
|
+
"gigacommon_year" => [9, "common_year"],
|
1049
|
+
"gigacoulomb" => [9, "coulomb"], "gigaday" => [9, "day"],
|
1050
|
+
"gigadegK" => [9, "degK"], "gigadeg_K" => [9, "deg_K"],
|
1051
|
+
"gigadegree" => [9, "degree"], "gigadegreeK" => [9, "degreeK"],
|
1052
|
+
"gigadyne" => [9, "dyne"], "gigaerg" => [9, "erg"],
|
1053
|
+
"gigafahrenheit" => [9, "fahrenheit"], "gigafarad" => [9, "farad"],
|
1054
|
+
"gigafermi" => [9, "fermi"], "gigagal" => [9, "gal"],
|
1055
|
+
"gigagauss" => [9, "gauss"], "gigagram" => [9, "gram"],
|
1056
|
+
"gigahectare" => [9, "hectare"], "gigahertz" => [9, "hertz"],
|
1057
|
+
"gigahour" => [9, "hour"], "gigainch" => [9, "inch"],
|
1058
|
+
"gigajoule" => [9, "joule"], "gigakelvin" => [9, "kelvin"],
|
1059
|
+
"gigakilogram" => [9, "kilogram"], "gigaknot" => [9, "knot"],
|
1060
|
+
"gigalitre" => [9, "litre"], "gigameter" => [9, "meter"],
|
1061
|
+
"gigametre" => [9, "metre"], "gigamicron" => [9, "micron"],
|
1062
|
+
"gigamile" => [9, "mile"], "gigamillibar" => [9, "millibar"],
|
1063
|
+
"gigaminute" => [9, "minute"],
|
1064
|
+
"gigaminute_angle" => [9, "minute_angle"], "gigamole" => [9, "mole"],
|
1065
|
+
"gigamonth" => [9, "month"], "giganewton" => [9, "newton"],
|
1066
|
+
"gigaounce" => [9, "ounce"], "gigaparsec" => [9, "parsec"],
|
1067
|
+
"gigapascal" => [9, "pascal"], "gigapentad" => [9, "pentad"],
|
1068
|
+
"gigapoise" => [9, "poise"], "gigapound" => [9, "pound"],
|
1069
|
+
"gigaradian" => [9, "radian"], "gigasecond" => [9, "second"],
|
1070
|
+
"gigasecond_angle" => [9, "second_angle"],
|
1071
|
+
"gigasteradian" => [9, "steradian"], "gigastokes" => [9, "stokes"],
|
1072
|
+
"gigatesla" => [9, "tesla"], "gigaton" => [9, "ton"],
|
1073
|
+
"gigatonne" => [9, "tonne"], "gigatorr" => [9, "torr"],
|
1074
|
+
"gigavolt" => [9, "volt"], "gigawatt" => [9, "watt"],
|
1075
|
+
"gigaweber" => [9, "weber"], "gigayard" => [9, "yard"],
|
1076
|
+
"gigayd" => [9, "yd"], "gigayear" => [9, "year"],
|
1077
|
+
"grams" => [0, "gram"], "h%" => [2, "%"], "hA" => [2, "A"],
|
1078
|
+
"hAu" => [2, "Au"], "hBq" => [2, "Bq"], "hC" => [2, "C"],
|
1079
|
+
"hF" => [2, "F"], "hG" => [2, "G"], "hGal" => [2, "Gal"],
|
1080
|
+
"hGy" => [2, "Gy"], "hH" => [2, "H"], "hHg" => [2, "Hg"],
|
1081
|
+
"hHz" => [2, "Hz"], "hJ" => [2, "J"], "hK" => [2, "K"],
|
1082
|
+
"hL" => [2, "L"], "hN" => [2, "N"], "hP" => [2, "P"],
|
1083
|
+
"hPa" => [2, "Pa"], "hS" => [2, "S"], "hSt" => [2, "St"],
|
1084
|
+
"hSv" => [2, "Sv"], "hT" => [2, "T"], "hV" => [2, "V"],
|
1085
|
+
"hW" => [2, "W"], "hWb" => [2, "Wb"], "ha" => [2, "a"],
|
1086
|
+
"hac" => [2, "ac"], "hatm" => [2, "atm"], "hbar" => [2, "bar"],
|
1087
|
+
"hcal" => [2, "cal"],
|
1088
|
+
"hconventional_mercury" => [2, "conventional_mercury"],
|
1089
|
+
"hd" => [2, "d"], "hdegC" => [2, "degC"], "hdegF" => [2, "degF"],
|
1090
|
+
"hdeg_C" => [2, "deg_C"], "hdeg_F" => [2, "deg_F"],
|
1091
|
+
"hdegreeC" => [2, "degreeC"], "hdegreeF" => [2, "degreeF"],
|
1092
|
+
"hdegree_C" => [2, "degree_C"], "hdegree_E" => [2, "degree_E"],
|
1093
|
+
"hdegree_F" => [2, "degree_F"], "hdegree_N" => [2, "degree_N"],
|
1094
|
+
"hdegree_R" => [2, "degree_R"], "hdegree_S" => [2, "degree_S"],
|
1095
|
+
"hdegree_W" => [2, "degree_W"], "hdegree_c" => [2, "degree_c"],
|
1096
|
+
"hdegree_east" => [2, "degree_east"], "hdegree_f" => [2, "degree_f"],
|
1097
|
+
"hdegree_north" => [2, "degree_north"],
|
1098
|
+
"hdegree_south" => [2, "degree_south"],
|
1099
|
+
"hdegree_west" => [2, "degree_west"],
|
1100
|
+
"hdegrees_east" => [2, "degrees_east"],
|
1101
|
+
"hdegrees_north" => [2, "degrees_north"],
|
1102
|
+
"hdegrees_south" => [2, "degrees_south"],
|
1103
|
+
"hdegrees_west" => [2, "degrees_west"], "hdyn" => [2, "dyn"],
|
1104
|
+
"hectares" => [0, "hectare"], "hectoCelsius" => [2, "Celsius"],
|
1105
|
+
"hectoFahrenheit" => [2, "Fahrenheit"],
|
1106
|
+
"hectoJulian_year" => [2, "Julian_year"],
|
1107
|
+
"hectoPascal" => [2, "Pascal"], "hectoacre" => [2, "acre"],
|
1108
|
+
"hectoampere" => [2, "ampere"], "hectoangstrom" => [2, "angstrom"],
|
1109
|
+
"hectoangular_degree" => [2, "angular_degree"],
|
1110
|
+
"hectoangular_minute" => [2, "angular_minute"],
|
1111
|
+
"hectoangular_second" => [2, "angular_second"],
|
1112
|
+
"hectoare" => [2, "are"], "hectoatmosphere" => [2, "atmosphere"],
|
1113
|
+
"hectocalorie" => [2, "calorie"], "hectocelsius" => [2, "celsius"],
|
1114
|
+
"hectocentigrade" => [2, "centigrade"],
|
1115
|
+
"hectocentury" => [2, "century"], "hectochain" => [2, "chain"],
|
1116
|
+
"hectocommon_year" => [2, "common_year"],
|
1117
|
+
"hectocoulomb" => [2, "coulomb"], "hectoday" => [2, "day"],
|
1118
|
+
"hectodegK" => [2, "degK"], "hectodeg_K" => [2, "deg_K"],
|
1119
|
+
"hectodegree" => [2, "degree"], "hectodegreeK" => [2, "degreeK"],
|
1120
|
+
"hectodyne" => [2, "dyne"], "hectoerg" => [2, "erg"],
|
1121
|
+
"hectofahrenheit" => [2, "fahrenheit"], "hectofarad" => [2, "farad"],
|
1122
|
+
"hectofermi" => [2, "fermi"], "hectogal" => [2, "gal"],
|
1123
|
+
"hectogauss" => [2, "gauss"], "hectogram" => [2, "gram"],
|
1124
|
+
"hectohectare" => [2, "hectare"], "hectohertz" => [2, "hertz"],
|
1125
|
+
"hectohour" => [2, "hour"], "hectoinch" => [2, "inch"],
|
1126
|
+
"hectojoule" => [2, "joule"], "hectokelvin" => [2, "kelvin"],
|
1127
|
+
"hectokilogram" => [2, "kilogram"], "hectoknot" => [2, "knot"],
|
1128
|
+
"hectolitre" => [2, "litre"], "hectometer" => [2, "meter"],
|
1129
|
+
"hectometre" => [2, "metre"], "hectomicron" => [2, "micron"],
|
1130
|
+
"hectomile" => [2, "mile"], "hectomillibar" => [2, "millibar"],
|
1131
|
+
"hectominute" => [2, "minute"],
|
1132
|
+
"hectominute_angle" => [2, "minute_angle"],
|
1133
|
+
"hectomole" => [2, "mole"], "hectomonth" => [2, "month"],
|
1134
|
+
"hectonewton" => [2, "newton"], "hectoounce" => [2, "ounce"],
|
1135
|
+
"hectoparsec" => [2, "parsec"], "hectopascal" => [2, "pascal"],
|
1136
|
+
"hectopentad" => [2, "pentad"], "hectopoise" => [2, "poise"],
|
1137
|
+
"hectopound" => [2, "pound"], "hectoradian" => [2, "radian"],
|
1138
|
+
"hectosecond" => [2, "second"],
|
1139
|
+
"hectosecond_angle" => [2, "second_angle"],
|
1140
|
+
"hectosteradian" => [2, "steradian"], "hectostokes" => [2, "stokes"],
|
1141
|
+
"hectotesla" => [2, "tesla"], "hectoton" => [2, "ton"],
|
1142
|
+
"hectotonne" => [2, "tonne"], "hectotorr" => [2, "torr"],
|
1143
|
+
"hectovolt" => [2, "volt"], "hectowatt" => [2, "watt"],
|
1144
|
+
"hectoweber" => [2, "weber"], "hectoyard" => [2, "yard"],
|
1145
|
+
"hectoyd" => [2, "yd"], "hectoyear" => [2, "year"],
|
1146
|
+
"herg" => [2, "erg"], "hertzes" => [0, "hertz"],
|
1147
|
+
"hforce" => [2, "force"], "hg" => [2, "g"],
|
1148
|
+
"hgravity" => [2, "gravity"], "hh" => [2, "h"], "hhg" => [2, "hg"],
|
1149
|
+
"hhr" => [2, "hr"], "hin" => [2, "in"], "hkg" => [2, "kg"],
|
1150
|
+
"hkgf" => [2, "kgf"], "hkph" => [2, "kph"], "hlb" => [2, "lb"],
|
1151
|
+
"hlm" => [2, "lm"], "hlx" => [2, "lx"], "hly" => [2, "ly"],
|
1152
|
+
"hm" => [2, "m"], "hmb" => [2, "mb"], "hmercury" => [2, "mercury"],
|
1153
|
+
"hmgal" => [2, "mgal"], "hmin" => [2, "min"], "hmol" => [2, "mol"],
|
1154
|
+
"hmon" => [2, "mon"], "hmph" => [2, "mph"], "hohm" => [2, "ohm"],
|
1155
|
+
"hours" => [0, "hour"], "hoz" => [2, "oz"], "hpc" => [2, "pc"],
|
1156
|
+
"hpercent" => [2, "percent"], "hpermil" => [2, "permil"],
|
1157
|
+
"hpsi" => [2, "psi"], "hrad" => [2, "rad"], "hs" => [2, "s"],
|
1158
|
+
"hsr" => [2, "sr"], "ht" => [2, "t"], "hyr" => [2, "yr"],
|
1159
|
+
"inchs" => [0, "inch"], "joules" => [0, "joule"], "k%" => [3, "%"],
|
1160
|
+
"kA" => [3, "A"], "kAu" => [3, "Au"], "kBq" => [3, "Bq"],
|
1161
|
+
"kC" => [3, "C"], "kF" => [3, "F"], "kG" => [3, "G"],
|
1162
|
+
"kGal" => [3, "Gal"], "kGy" => [3, "Gy"], "kH" => [3, "H"],
|
1163
|
+
"kHg" => [3, "Hg"], "kHz" => [3, "Hz"], "kJ" => [3, "J"],
|
1164
|
+
"kK" => [3, "K"], "kL" => [3, "L"], "kN" => [3, "N"],
|
1165
|
+
"kP" => [3, "P"], "kPa" => [3, "Pa"], "kS" => [3, "S"],
|
1166
|
+
"kSt" => [3, "St"], "kSv" => [3, "Sv"], "kT" => [3, "T"],
|
1167
|
+
"kV" => [3, "V"], "kW" => [3, "W"], "kWb" => [3, "Wb"],
|
1168
|
+
"ka" => [3, "a"], "kac" => [3, "ac"], "katm" => [3, "atm"],
|
1169
|
+
"kbar" => [3, "bar"], "kcal" => [3, "cal"],
|
1170
|
+
"kconventional_mercury" => [3, "conventional_mercury"],
|
1171
|
+
"kd" => [3, "d"], "kdegC" => [3, "degC"], "kdegF" => [3, "degF"],
|
1172
|
+
"kdeg_C" => [3, "deg_C"], "kdeg_F" => [3, "deg_F"],
|
1173
|
+
"kdegreeC" => [3, "degreeC"], "kdegreeF" => [3, "degreeF"],
|
1174
|
+
"kdegree_C" => [3, "degree_C"], "kdegree_E" => [3, "degree_E"],
|
1175
|
+
"kdegree_F" => [3, "degree_F"], "kdegree_N" => [3, "degree_N"],
|
1176
|
+
"kdegree_R" => [3, "degree_R"], "kdegree_S" => [3, "degree_S"],
|
1177
|
+
"kdegree_W" => [3, "degree_W"], "kdegree_c" => [3, "degree_c"],
|
1178
|
+
"kdegree_east" => [3, "degree_east"], "kdegree_f" => [3, "degree_f"],
|
1179
|
+
"kdegree_north" => [3, "degree_north"],
|
1180
|
+
"kdegree_south" => [3, "degree_south"],
|
1181
|
+
"kdegree_west" => [3, "degree_west"],
|
1182
|
+
"kdegrees_east" => [3, "degrees_east"],
|
1183
|
+
"kdegrees_north" => [3, "degrees_north"],
|
1184
|
+
"kdegrees_south" => [3, "degrees_south"],
|
1185
|
+
"kdegrees_west" => [3, "degrees_west"], "kdyn" => [3, "dyn"],
|
1186
|
+
"kelvins" => [0, "kelvin"], "kerg" => [3, "erg"],
|
1187
|
+
"kforce" => [3, "force"], "kgravity" => [3, "gravity"],
|
1188
|
+
"kh" => [3, "h"], "khg" => [3, "hg"], "khr" => [3, "hr"],
|
1189
|
+
"kiloCelsius" => [3, "Celsius"],
|
1190
|
+
"kiloFahrenheit" => [3, "Fahrenheit"],
|
1191
|
+
"kiloJulian_year" => [3, "Julian_year"],
|
1192
|
+
"kiloPascal" => [3, "Pascal"], "kiloacre" => [3, "acre"],
|
1193
|
+
"kiloampere" => [3, "ampere"], "kiloangstrom" => [3, "angstrom"],
|
1194
|
+
"kiloangular_degree" => [3, "angular_degree"],
|
1195
|
+
"kiloangular_minute" => [3, "angular_minute"],
|
1196
|
+
"kiloangular_second" => [3, "angular_second"],
|
1197
|
+
"kiloare" => [3, "are"], "kiloatmosphere" => [3, "atmosphere"],
|
1198
|
+
"kilocalorie" => [3, "calorie"], "kilocelsius" => [3, "celsius"],
|
1199
|
+
"kilocentigrade" => [3, "centigrade"],
|
1200
|
+
"kilocentury" => [3, "century"], "kilochain" => [3, "chain"],
|
1201
|
+
"kilocommon_year" => [3, "common_year"],
|
1202
|
+
"kilocoulomb" => [3, "coulomb"], "kiloday" => [3, "day"],
|
1203
|
+
"kilodegK" => [3, "degK"], "kilodeg_K" => [3, "deg_K"],
|
1204
|
+
"kilodegree" => [3, "degree"], "kilodegreeK" => [3, "degreeK"],
|
1205
|
+
"kilodyne" => [3, "dyne"], "kiloerg" => [3, "erg"],
|
1206
|
+
"kilofahrenheit" => [3, "fahrenheit"], "kilofarad" => [3, "farad"],
|
1207
|
+
"kilofermi" => [3, "fermi"], "kilogal" => [3, "gal"],
|
1208
|
+
"kilogauss" => [3, "gauss"], "kilogram" => [3, "gram"],
|
1209
|
+
"kilograms" => [0, "kilogram"], "kilohectare" => [3, "hectare"],
|
1210
|
+
"kilohertz" => [3, "hertz"], "kilohour" => [3, "hour"],
|
1211
|
+
"kiloinch" => [3, "inch"], "kilojoule" => [3, "joule"],
|
1212
|
+
"kilokelvin" => [3, "kelvin"], "kilokilogram" => [3, "kilogram"],
|
1213
|
+
"kiloknot" => [3, "knot"], "kilolitre" => [3, "litre"],
|
1214
|
+
"kilometer" => [3, "meter"], "kilometre" => [3, "metre"],
|
1215
|
+
"kilomicron" => [3, "micron"], "kilomile" => [3, "mile"],
|
1216
|
+
"kilomillibar" => [3, "millibar"], "kilominute" => [3, "minute"],
|
1217
|
+
"kilominute_angle" => [3, "minute_angle"], "kilomole" => [3, "mole"],
|
1218
|
+
"kilomonth" => [3, "month"], "kilonewton" => [3, "newton"],
|
1219
|
+
"kiloounce" => [3, "ounce"], "kiloparsec" => [3, "parsec"],
|
1220
|
+
"kilopascal" => [3, "pascal"], "kilopentad" => [3, "pentad"],
|
1221
|
+
"kilopoise" => [3, "poise"], "kilopound" => [3, "pound"],
|
1222
|
+
"kiloradian" => [3, "radian"], "kilosecond" => [3, "second"],
|
1223
|
+
"kilosecond_angle" => [3, "second_angle"],
|
1224
|
+
"kilosteradian" => [3, "steradian"], "kilostokes" => [3, "stokes"],
|
1225
|
+
"kilotesla" => [3, "tesla"], "kiloton" => [3, "ton"],
|
1226
|
+
"kilotonne" => [3, "tonne"], "kilotorr" => [3, "torr"],
|
1227
|
+
"kilovolt" => [3, "volt"], "kilowatt" => [3, "watt"],
|
1228
|
+
"kiloweber" => [3, "weber"], "kiloyard" => [3, "yard"],
|
1229
|
+
"kiloyd" => [3, "yd"], "kiloyear" => [3, "year"],
|
1230
|
+
"kin" => [3, "in"], "kkg" => [3, "kg"], "kkgf" => [3, "kgf"],
|
1231
|
+
"kkph" => [3, "kph"], "klb" => [3, "lb"], "klm" => [3, "lm"],
|
1232
|
+
"klx" => [3, "lx"], "kly" => [3, "ly"], "km" => [3, "m"],
|
1233
|
+
"kmb" => [3, "mb"], "kmercury" => [3, "mercury"],
|
1234
|
+
"kmgal" => [3, "mgal"], "kmin" => [3, "min"], "kmol" => [3, "mol"],
|
1235
|
+
"kmon" => [3, "mon"], "kmph" => [3, "mph"], "knots" => [0, "knot"],
|
1236
|
+
"kohm" => [3, "ohm"], "koz" => [3, "oz"], "kpc" => [3, "pc"],
|
1237
|
+
"kpercent" => [3, "percent"], "kpermil" => [3, "permil"],
|
1238
|
+
"kpsi" => [3, "psi"], "krad" => [3, "rad"], "ks" => [3, "s"],
|
1239
|
+
"ksr" => [3, "sr"], "kt" => [3, "t"], "kyr" => [3, "yr"],
|
1240
|
+
"litres" => [0, "litre"], "m%" => [-3, "%"], "mA" => [-3, "A"],
|
1241
|
+
"mAu" => [-3, "Au"], "mBq" => [-3, "Bq"], "mC" => [-3, "C"],
|
1242
|
+
"mF" => [-3, "F"], "mG" => [-3, "G"], "mGal" => [-3, "Gal"],
|
1243
|
+
"mGy" => [-3, "Gy"], "mH" => [-3, "H"], "mHg" => [-3, "Hg"],
|
1244
|
+
"mHz" => [-3, "Hz"], "mJ" => [-3, "J"], "mK" => [-3, "K"],
|
1245
|
+
"mL" => [-3, "L"], "mN" => [-3, "N"], "mP" => [-3, "P"],
|
1246
|
+
"mPa" => [-3, "Pa"], "mS" => [-3, "S"], "mSt" => [-3, "St"],
|
1247
|
+
"mSv" => [-3, "Sv"], "mT" => [-3, "T"], "mV" => [-3, "V"],
|
1248
|
+
"mW" => [-3, "W"], "mWb" => [-3, "Wb"], "ma" => [-3, "a"],
|
1249
|
+
"mac" => [-3, "ac"], "matm" => [-3, "atm"], "mbar" => [-3, "bar"],
|
1250
|
+
"mcal" => [-3, "cal"],
|
1251
|
+
"mconventional_mercury" => [-3, "conventional_mercury"],
|
1252
|
+
"md" => [-3, "d"], "mdegC" => [-3, "degC"], "mdegF" => [-3, "degF"],
|
1253
|
+
"mdeg_C" => [-3, "deg_C"], "mdeg_F" => [-3, "deg_F"],
|
1254
|
+
"mdegreeC" => [-3, "degreeC"], "mdegreeF" => [-3, "degreeF"],
|
1255
|
+
"mdegree_C" => [-3, "degree_C"], "mdegree_E" => [-3, "degree_E"],
|
1256
|
+
"mdegree_F" => [-3, "degree_F"], "mdegree_N" => [-3, "degree_N"],
|
1257
|
+
"mdegree_R" => [-3, "degree_R"], "mdegree_S" => [-3, "degree_S"],
|
1258
|
+
"mdegree_W" => [-3, "degree_W"], "mdegree_c" => [-3, "degree_c"],
|
1259
|
+
"mdegree_east" => [-3, "degree_east"],
|
1260
|
+
"mdegree_f" => [-3, "degree_f"],
|
1261
|
+
"mdegree_north" => [-3, "degree_north"],
|
1262
|
+
"mdegree_south" => [-3, "degree_south"],
|
1263
|
+
"mdegree_west" => [-3, "degree_west"],
|
1264
|
+
"mdegrees_east" => [-3, "degrees_east"],
|
1265
|
+
"mdegrees_north" => [-3, "degrees_north"],
|
1266
|
+
"mdegrees_south" => [-3, "degrees_south"],
|
1267
|
+
"mdegrees_west" => [-3, "degrees_west"], "mdyn" => [-3, "dyn"],
|
1268
|
+
"megaCelsius" => [6, "Celsius"],
|
1269
|
+
"megaFahrenheit" => [6, "Fahrenheit"],
|
1270
|
+
"megaJulian_year" => [6, "Julian_year"],
|
1271
|
+
"megaPascal" => [6, "Pascal"], "megaacre" => [6, "acre"],
|
1272
|
+
"megaampere" => [6, "ampere"], "megaangstrom" => [6, "angstrom"],
|
1273
|
+
"megaangular_degree" => [6, "angular_degree"],
|
1274
|
+
"megaangular_minute" => [6, "angular_minute"],
|
1275
|
+
"megaangular_second" => [6, "angular_second"],
|
1276
|
+
"megaare" => [6, "are"], "megaatmosphere" => [6, "atmosphere"],
|
1277
|
+
"megacalorie" => [6, "calorie"], "megacelsius" => [6, "celsius"],
|
1278
|
+
"megacentigrade" => [6, "centigrade"],
|
1279
|
+
"megacentury" => [6, "century"], "megachain" => [6, "chain"],
|
1280
|
+
"megacommon_year" => [6, "common_year"],
|
1281
|
+
"megacoulomb" => [6, "coulomb"], "megaday" => [6, "day"],
|
1282
|
+
"megadegK" => [6, "degK"], "megadeg_K" => [6, "deg_K"],
|
1283
|
+
"megadegree" => [6, "degree"], "megadegreeK" => [6, "degreeK"],
|
1284
|
+
"megadyne" => [6, "dyne"], "megaerg" => [6, "erg"],
|
1285
|
+
"megafahrenheit" => [6, "fahrenheit"], "megafarad" => [6, "farad"],
|
1286
|
+
"megafermi" => [6, "fermi"], "megagal" => [6, "gal"],
|
1287
|
+
"megagauss" => [6, "gauss"], "megagram" => [6, "gram"],
|
1288
|
+
"megahectare" => [6, "hectare"], "megahertz" => [6, "hertz"],
|
1289
|
+
"megahour" => [6, "hour"], "megainch" => [6, "inch"],
|
1290
|
+
"megajoule" => [6, "joule"], "megakelvin" => [6, "kelvin"],
|
1291
|
+
"megakilogram" => [6, "kilogram"], "megaknot" => [6, "knot"],
|
1292
|
+
"megalitre" => [6, "litre"], "megameter" => [6, "meter"],
|
1293
|
+
"megametre" => [6, "metre"], "megamicron" => [6, "micron"],
|
1294
|
+
"megamile" => [6, "mile"], "megamillibar" => [6, "millibar"],
|
1295
|
+
"megaminute" => [6, "minute"],
|
1296
|
+
"megaminute_angle" => [6, "minute_angle"], "megamole" => [6, "mole"],
|
1297
|
+
"megamonth" => [6, "month"], "meganewton" => [6, "newton"],
|
1298
|
+
"megaounce" => [6, "ounce"], "megaparsec" => [6, "parsec"],
|
1299
|
+
"megapascal" => [6, "pascal"], "megapentad" => [6, "pentad"],
|
1300
|
+
"megapoise" => [6, "poise"], "megapound" => [6, "pound"],
|
1301
|
+
"megaradian" => [6, "radian"], "megasecond" => [6, "second"],
|
1302
|
+
"megasecond_angle" => [6, "second_angle"],
|
1303
|
+
"megasteradian" => [6, "steradian"], "megastokes" => [6, "stokes"],
|
1304
|
+
"megatesla" => [6, "tesla"], "megaton" => [6, "ton"],
|
1305
|
+
"megatonne" => [6, "tonne"], "megatorr" => [6, "torr"],
|
1306
|
+
"megavolt" => [6, "volt"], "megawatt" => [6, "watt"],
|
1307
|
+
"megaweber" => [6, "weber"], "megayard" => [6, "yard"],
|
1308
|
+
"megayd" => [6, "yd"], "megayear" => [6, "year"],
|
1309
|
+
"merg" => [-3, "erg"], "meters" => [0, "meter"],
|
1310
|
+
"metres" => [0, "metre"], "mforce" => [-3, "force"],
|
1311
|
+
"mg" => [-3, "g"], "mgravity" => [-3, "gravity"], "mh" => [-3, "h"],
|
1312
|
+
"mhg" => [-3, "hg"], "mhr" => [-3, "hr"],
|
1313
|
+
"microCelsius" => [-6, "Celsius"],
|
1314
|
+
"microFahrenheit" => [-6, "Fahrenheit"],
|
1315
|
+
"microJulian_year" => [-6, "Julian_year"],
|
1316
|
+
"microPascal" => [-6, "Pascal"], "microacre" => [-6, "acre"],
|
1317
|
+
"microampere" => [-6, "ampere"], "microangstrom" => [-6, "angstrom"],
|
1318
|
+
"microangular_degree" => [-6, "angular_degree"],
|
1319
|
+
"microangular_minute" => [-6, "angular_minute"],
|
1320
|
+
"microangular_second" => [-6, "angular_second"],
|
1321
|
+
"microare" => [-6, "are"], "microatmosphere" => [-6, "atmosphere"],
|
1322
|
+
"microcalorie" => [-6, "calorie"], "microcelsius" => [-6, "celsius"],
|
1323
|
+
"microcentigrade" => [-6, "centigrade"],
|
1324
|
+
"microcentury" => [-6, "century"], "microchain" => [-6, "chain"],
|
1325
|
+
"microcommon_year" => [-6, "common_year"],
|
1326
|
+
"microcoulomb" => [-6, "coulomb"], "microday" => [-6, "day"],
|
1327
|
+
"microdegK" => [-6, "degK"], "microdeg_K" => [-6, "deg_K"],
|
1328
|
+
"microdegree" => [-6, "degree"], "microdegreeK" => [-6, "degreeK"],
|
1329
|
+
"microdyne" => [-6, "dyne"], "microerg" => [-6, "erg"],
|
1330
|
+
"microfahrenheit" => [-6, "fahrenheit"],
|
1331
|
+
"microfarad" => [-6, "farad"], "microfermi" => [-6, "fermi"],
|
1332
|
+
"microgal" => [-6, "gal"], "microgauss" => [-6, "gauss"],
|
1333
|
+
"microgram" => [-6, "gram"], "microhectare" => [-6, "hectare"],
|
1334
|
+
"microhertz" => [-6, "hertz"], "microhour" => [-6, "hour"],
|
1335
|
+
"microinch" => [-6, "inch"], "microjoule" => [-6, "joule"],
|
1336
|
+
"microkelvin" => [-6, "kelvin"], "microkilogram" => [-6, "kilogram"],
|
1337
|
+
"microknot" => [-6, "knot"], "microlitre" => [-6, "litre"],
|
1338
|
+
"micrometer" => [-6, "meter"], "micrometre" => [-6, "metre"],
|
1339
|
+
"micromicron" => [-6, "micron"], "micromile" => [-6, "mile"],
|
1340
|
+
"micromillibar" => [-6, "millibar"], "microminute" => [-6, "minute"],
|
1341
|
+
"microminute_angle" => [-6, "minute_angle"],
|
1342
|
+
"micromole" => [-6, "mole"], "micromonth" => [-6, "month"],
|
1343
|
+
"micronewton" => [-6, "newton"], "microns" => [0, "micron"],
|
1344
|
+
"microounce" => [-6, "ounce"], "microparsec" => [-6, "parsec"],
|
1345
|
+
"micropascal" => [-6, "pascal"], "micropentad" => [-6, "pentad"],
|
1346
|
+
"micropoise" => [-6, "poise"], "micropound" => [-6, "pound"],
|
1347
|
+
"microradian" => [-6, "radian"], "microsecond" => [-6, "second"],
|
1348
|
+
"microsecond_angle" => [-6, "second_angle"],
|
1349
|
+
"microsteradian" => [-6, "steradian"],
|
1350
|
+
"microstokes" => [-6, "stokes"], "microtesla" => [-6, "tesla"],
|
1351
|
+
"microton" => [-6, "ton"], "microtonne" => [-6, "tonne"],
|
1352
|
+
"microtorr" => [-6, "torr"], "microvolt" => [-6, "volt"],
|
1353
|
+
"microwatt" => [-6, "watt"], "microweber" => [-6, "weber"],
|
1354
|
+
"microyard" => [-6, "yard"], "microyd" => [-6, "yd"],
|
1355
|
+
"microyear" => [-6, "year"], "miles" => [0, "mile"],
|
1356
|
+
"milliCelsius" => [-3, "Celsius"],
|
1357
|
+
"milliFahrenheit" => [-3, "Fahrenheit"],
|
1358
|
+
"milliJulian_year" => [-3, "Julian_year"],
|
1359
|
+
"milliPascal" => [-3, "Pascal"], "milliacre" => [-3, "acre"],
|
1360
|
+
"milliampere" => [-3, "ampere"], "milliangstrom" => [-3, "angstrom"],
|
1361
|
+
"milliangular_degree" => [-3, "angular_degree"],
|
1362
|
+
"milliangular_minute" => [-3, "angular_minute"],
|
1363
|
+
"milliangular_second" => [-3, "angular_second"],
|
1364
|
+
"milliare" => [-3, "are"], "milliatmosphere" => [-3, "atmosphere"],
|
1365
|
+
"millibars" => [0, "millibar"], "millicalorie" => [-3, "calorie"],
|
1366
|
+
"millicelsius" => [-3, "celsius"],
|
1367
|
+
"millicentigrade" => [-3, "centigrade"],
|
1368
|
+
"millicentury" => [-3, "century"], "millichain" => [-3, "chain"],
|
1369
|
+
"millicommon_year" => [-3, "common_year"],
|
1370
|
+
"millicoulomb" => [-3, "coulomb"], "milliday" => [-3, "day"],
|
1371
|
+
"millidegK" => [-3, "degK"], "millideg_K" => [-3, "deg_K"],
|
1372
|
+
"millidegree" => [-3, "degree"], "millidegreeK" => [-3, "degreeK"],
|
1373
|
+
"millidyne" => [-3, "dyne"], "millierg" => [-3, "erg"],
|
1374
|
+
"millifahrenheit" => [-3, "fahrenheit"],
|
1375
|
+
"millifarad" => [-3, "farad"], "millifermi" => [-3, "fermi"],
|
1376
|
+
"milligal" => [-3, "gal"], "milligauss" => [-3, "gauss"],
|
1377
|
+
"milligram" => [-3, "gram"], "millihectare" => [-3, "hectare"],
|
1378
|
+
"millihertz" => [-3, "hertz"], "millihour" => [-3, "hour"],
|
1379
|
+
"milliinch" => [-3, "inch"], "millijoule" => [-3, "joule"],
|
1380
|
+
"millikelvin" => [-3, "kelvin"], "millikilogram" => [-3, "kilogram"],
|
1381
|
+
"milliknot" => [-3, "knot"], "millilitre" => [-3, "litre"],
|
1382
|
+
"millimeter" => [-3, "meter"], "millimetre" => [-3, "metre"],
|
1383
|
+
"millimicron" => [-3, "micron"], "millimile" => [-3, "mile"],
|
1384
|
+
"millimillibar" => [-3, "millibar"], "milliminute" => [-3, "minute"],
|
1385
|
+
"milliminute_angle" => [-3, "minute_angle"],
|
1386
|
+
"millimole" => [-3, "mole"], "millimonth" => [-3, "month"],
|
1387
|
+
"millinewton" => [-3, "newton"], "milliounce" => [-3, "ounce"],
|
1388
|
+
"milliparsec" => [-3, "parsec"], "millipascal" => [-3, "pascal"],
|
1389
|
+
"millipentad" => [-3, "pentad"], "millipoise" => [-3, "poise"],
|
1390
|
+
"millipound" => [-3, "pound"], "milliradian" => [-3, "radian"],
|
1391
|
+
"millisecond" => [-3, "second"],
|
1392
|
+
"millisecond_angle" => [-3, "second_angle"],
|
1393
|
+
"millisteradian" => [-3, "steradian"],
|
1394
|
+
"millistokes" => [-3, "stokes"], "millitesla" => [-3, "tesla"],
|
1395
|
+
"milliton" => [-3, "ton"], "millitonne" => [-3, "tonne"],
|
1396
|
+
"millitorr" => [-3, "torr"], "millivolt" => [-3, "volt"],
|
1397
|
+
"milliwatt" => [-3, "watt"], "milliweber" => [-3, "weber"],
|
1398
|
+
"milliyard" => [-3, "yard"], "milliyd" => [-3, "yd"],
|
1399
|
+
"milliyear" => [-3, "year"], "min" => [-3, "in"],
|
1400
|
+
"minutes" => [0, "minute"], "minutes_angle" => [0, "minute_angle"],
|
1401
|
+
"mkg" => [-3, "kg"], "mkgf" => [-3, "kgf"], "mkph" => [-3, "kph"],
|
1402
|
+
"mlb" => [-3, "lb"], "mlm" => [-3, "lm"], "mlx" => [-3, "lx"],
|
1403
|
+
"mly" => [-3, "ly"], "mm" => [-3, "m"], "mmb" => [-3, "mb"],
|
1404
|
+
"mmercury" => [-3, "mercury"], "mmgal" => [-3, "mgal"],
|
1405
|
+
"mmin" => [-3, "min"], "mmol" => [-3, "mol"], "mmon" => [-3, "mon"],
|
1406
|
+
"mmph" => [-3, "mph"], "mohm" => [-3, "ohm"],
|
1407
|
+
"moles" => [0, "mole"], "months" => [0, "month"],
|
1408
|
+
"moz" => [-3, "oz"], "mpc" => [-3, "pc"],
|
1409
|
+
"mpercent" => [-3, "percent"], "mpermil" => [-3, "permil"],
|
1410
|
+
"mpsi" => [-3, "psi"], "mrad" => [-3, "rad"], "ms" => [-3, "s"],
|
1411
|
+
"msr" => [-3, "sr"], "mt" => [-3, "t"], "myr" => [-3, "yr"],
|
1412
|
+
"n%" => [-9, "%"], "nA" => [-9, "A"], "nAu" => [-9, "Au"],
|
1413
|
+
"nBq" => [-9, "Bq"], "nC" => [-9, "C"], "nF" => [-9, "F"],
|
1414
|
+
"nG" => [-9, "G"], "nGal" => [-9, "Gal"], "nGy" => [-9, "Gy"],
|
1415
|
+
"nH" => [-9, "H"], "nHg" => [-9, "Hg"], "nHz" => [-9, "Hz"],
|
1416
|
+
"nJ" => [-9, "J"], "nK" => [-9, "K"], "nL" => [-9, "L"],
|
1417
|
+
"nN" => [-9, "N"], "nP" => [-9, "P"], "nPa" => [-9, "Pa"],
|
1418
|
+
"nS" => [-9, "S"], "nSt" => [-9, "St"], "nSv" => [-9, "Sv"],
|
1419
|
+
"nT" => [-9, "T"], "nV" => [-9, "V"], "nW" => [-9, "W"],
|
1420
|
+
"nWb" => [-9, "Wb"], "na" => [-9, "a"], "nac" => [-9, "ac"],
|
1421
|
+
"nanoCelsius" => [-9, "Celsius"],
|
1422
|
+
"nanoFahrenheit" => [-9, "Fahrenheit"],
|
1423
|
+
"nanoJulian_year" => [-9, "Julian_year"],
|
1424
|
+
"nanoPascal" => [-9, "Pascal"], "nanoacre" => [-9, "acre"],
|
1425
|
+
"nanoampere" => [-9, "ampere"], "nanoangstrom" => [-9, "angstrom"],
|
1426
|
+
"nanoangular_degree" => [-9, "angular_degree"],
|
1427
|
+
"nanoangular_minute" => [-9, "angular_minute"],
|
1428
|
+
"nanoangular_second" => [-9, "angular_second"],
|
1429
|
+
"nanoare" => [-9, "are"], "nanoatmosphere" => [-9, "atmosphere"],
|
1430
|
+
"nanocalorie" => [-9, "calorie"], "nanocelsius" => [-9, "celsius"],
|
1431
|
+
"nanocentigrade" => [-9, "centigrade"],
|
1432
|
+
"nanocentury" => [-9, "century"], "nanochain" => [-9, "chain"],
|
1433
|
+
"nanocommon_year" => [-9, "common_year"],
|
1434
|
+
"nanocoulomb" => [-9, "coulomb"], "nanoday" => [-9, "day"],
|
1435
|
+
"nanodegK" => [-9, "degK"], "nanodeg_K" => [-9, "deg_K"],
|
1436
|
+
"nanodegree" => [-9, "degree"], "nanodegreeK" => [-9, "degreeK"],
|
1437
|
+
"nanodyne" => [-9, "dyne"], "nanoerg" => [-9, "erg"],
|
1438
|
+
"nanofahrenheit" => [-9, "fahrenheit"], "nanofarad" => [-9, "farad"],
|
1439
|
+
"nanofermi" => [-9, "fermi"], "nanogal" => [-9, "gal"],
|
1440
|
+
"nanogauss" => [-9, "gauss"], "nanogram" => [-9, "gram"],
|
1441
|
+
"nanohectare" => [-9, "hectare"], "nanohertz" => [-9, "hertz"],
|
1442
|
+
"nanohour" => [-9, "hour"], "nanoinch" => [-9, "inch"],
|
1443
|
+
"nanojoule" => [-9, "joule"], "nanokelvin" => [-9, "kelvin"],
|
1444
|
+
"nanokilogram" => [-9, "kilogram"], "nanoknot" => [-9, "knot"],
|
1445
|
+
"nanolitre" => [-9, "litre"], "nanometer" => [-9, "meter"],
|
1446
|
+
"nanometre" => [-9, "metre"], "nanomicron" => [-9, "micron"],
|
1447
|
+
"nanomile" => [-9, "mile"], "nanomillibar" => [-9, "millibar"],
|
1448
|
+
"nanominute" => [-9, "minute"],
|
1449
|
+
"nanominute_angle" => [-9, "minute_angle"],
|
1450
|
+
"nanomole" => [-9, "mole"], "nanomonth" => [-9, "month"],
|
1451
|
+
"nanonewton" => [-9, "newton"], "nanoounce" => [-9, "ounce"],
|
1452
|
+
"nanoparsec" => [-9, "parsec"], "nanopascal" => [-9, "pascal"],
|
1453
|
+
"nanopentad" => [-9, "pentad"], "nanopoise" => [-9, "poise"],
|
1454
|
+
"nanopound" => [-9, "pound"], "nanoradian" => [-9, "radian"],
|
1455
|
+
"nanosecond" => [-9, "second"],
|
1456
|
+
"nanosecond_angle" => [-9, "second_angle"],
|
1457
|
+
"nanosteradian" => [-9, "steradian"], "nanostokes" => [-9, "stokes"],
|
1458
|
+
"nanotesla" => [-9, "tesla"], "nanoton" => [-9, "ton"],
|
1459
|
+
"nanotonne" => [-9, "tonne"], "nanotorr" => [-9, "torr"],
|
1460
|
+
"nanovolt" => [-9, "volt"], "nanowatt" => [-9, "watt"],
|
1461
|
+
"nanoweber" => [-9, "weber"], "nanoyard" => [-9, "yard"],
|
1462
|
+
"nanoyd" => [-9, "yd"], "nanoyear" => [-9, "year"],
|
1463
|
+
"natm" => [-9, "atm"], "nbar" => [-9, "bar"], "ncal" => [-9, "cal"],
|
1464
|
+
"nconventional_mercury" => [-9, "conventional_mercury"],
|
1465
|
+
"nd" => [-9, "d"], "ndegC" => [-9, "degC"], "ndegF" => [-9, "degF"],
|
1466
|
+
"ndeg_C" => [-9, "deg_C"], "ndeg_F" => [-9, "deg_F"],
|
1467
|
+
"ndegreeC" => [-9, "degreeC"], "ndegreeF" => [-9, "degreeF"],
|
1468
|
+
"ndegree_C" => [-9, "degree_C"], "ndegree_E" => [-9, "degree_E"],
|
1469
|
+
"ndegree_F" => [-9, "degree_F"], "ndegree_N" => [-9, "degree_N"],
|
1470
|
+
"ndegree_R" => [-9, "degree_R"], "ndegree_S" => [-9, "degree_S"],
|
1471
|
+
"ndegree_W" => [-9, "degree_W"], "ndegree_c" => [-9, "degree_c"],
|
1472
|
+
"ndegree_east" => [-9, "degree_east"],
|
1473
|
+
"ndegree_f" => [-9, "degree_f"],
|
1474
|
+
"ndegree_north" => [-9, "degree_north"],
|
1475
|
+
"ndegree_south" => [-9, "degree_south"],
|
1476
|
+
"ndegree_west" => [-9, "degree_west"],
|
1477
|
+
"ndegrees_east" => [-9, "degrees_east"],
|
1478
|
+
"ndegrees_north" => [-9, "degrees_north"],
|
1479
|
+
"ndegrees_south" => [-9, "degrees_south"],
|
1480
|
+
"ndegrees_west" => [-9, "degrees_west"], "ndyn" => [-9, "dyn"],
|
1481
|
+
"nerg" => [-9, "erg"], "newtons" => [0, "newton"],
|
1482
|
+
"nforce" => [-9, "force"], "ng" => [-9, "g"],
|
1483
|
+
"ngravity" => [-9, "gravity"], "nh" => [-9, "h"],
|
1484
|
+
"nhg" => [-9, "hg"], "nhr" => [-9, "hr"], "nin" => [-9, "in"],
|
1485
|
+
"nkg" => [-9, "kg"], "nkgf" => [-9, "kgf"], "nkph" => [-9, "kph"],
|
1486
|
+
"nlb" => [-9, "lb"], "nlm" => [-9, "lm"], "nlx" => [-9, "lx"],
|
1487
|
+
"nly" => [-9, "ly"], "nm" => [-9, "m"], "nmb" => [-9, "mb"],
|
1488
|
+
"nmercury" => [-9, "mercury"], "nmgal" => [-9, "mgal"],
|
1489
|
+
"nmin" => [-9, "min"], "nmol" => [-9, "mol"], "nmon" => [-9, "mon"],
|
1490
|
+
"nmph" => [-9, "mph"], "nohm" => [-9, "ohm"], "noz" => [-9, "oz"],
|
1491
|
+
"npc" => [-9, "pc"], "npercent" => [-9, "percent"],
|
1492
|
+
"npermil" => [-9, "permil"], "npsi" => [-9, "psi"],
|
1493
|
+
"nrad" => [-9, "rad"], "ns" => [-9, "s"], "nsr" => [-9, "sr"],
|
1494
|
+
"nt" => [-9, "t"], "nyr" => [-9, "yr"], "ounces" => [0, "ounce"],
|
1495
|
+
"p%" => [-12, "%"], "pA" => [-12, "A"], "pAu" => [-12, "Au"],
|
1496
|
+
"pBq" => [-12, "Bq"], "pC" => [-12, "C"], "pF" => [-12, "F"],
|
1497
|
+
"pG" => [-12, "G"], "pGal" => [-12, "Gal"], "pGy" => [-12, "Gy"],
|
1498
|
+
"pH" => [-12, "H"], "pHg" => [-12, "Hg"], "pHz" => [-12, "Hz"],
|
1499
|
+
"pJ" => [-12, "J"], "pK" => [-12, "K"], "pL" => [-12, "L"],
|
1500
|
+
"pN" => [-12, "N"], "pP" => [-12, "P"], "pPa" => [-12, "Pa"],
|
1501
|
+
"pS" => [-12, "S"], "pSt" => [-12, "St"], "pSv" => [-12, "Sv"],
|
1502
|
+
"pT" => [-12, "T"], "pV" => [-12, "V"], "pW" => [-12, "W"],
|
1503
|
+
"pWb" => [-12, "Wb"], "pa" => [-12, "a"], "pac" => [-12, "ac"],
|
1504
|
+
"parsecs" => [0, "parsec"], "pascals" => [0, "pascal"],
|
1505
|
+
"patm" => [-12, "atm"], "pbar" => [-12, "bar"],
|
1506
|
+
"pcal" => [-12, "cal"],
|
1507
|
+
"pconventional_mercury" => [-12, "conventional_mercury"],
|
1508
|
+
"pd" => [-12, "d"], "pdegC" => [-12, "degC"],
|
1509
|
+
"pdegF" => [-12, "degF"], "pdeg_C" => [-12, "deg_C"],
|
1510
|
+
"pdeg_F" => [-12, "deg_F"], "pdegreeC" => [-12, "degreeC"],
|
1511
|
+
"pdegreeF" => [-12, "degreeF"], "pdegree_C" => [-12, "degree_C"],
|
1512
|
+
"pdegree_E" => [-12, "degree_E"], "pdegree_F" => [-12, "degree_F"],
|
1513
|
+
"pdegree_N" => [-12, "degree_N"], "pdegree_R" => [-12, "degree_R"],
|
1514
|
+
"pdegree_S" => [-12, "degree_S"], "pdegree_W" => [-12, "degree_W"],
|
1515
|
+
"pdegree_c" => [-12, "degree_c"],
|
1516
|
+
"pdegree_east" => [-12, "degree_east"],
|
1517
|
+
"pdegree_f" => [-12, "degree_f"],
|
1518
|
+
"pdegree_north" => [-12, "degree_north"],
|
1519
|
+
"pdegree_south" => [-12, "degree_south"],
|
1520
|
+
"pdegree_west" => [-12, "degree_west"],
|
1521
|
+
"pdegrees_east" => [-12, "degrees_east"],
|
1522
|
+
"pdegrees_north" => [-12, "degrees_north"],
|
1523
|
+
"pdegrees_south" => [-12, "degrees_south"],
|
1524
|
+
"pdegrees_west" => [-12, "degrees_west"], "pdyn" => [-12, "dyn"],
|
1525
|
+
"pentads" => [0, "pentad"], "perg" => [-12, "erg"],
|
1526
|
+
"petaCelsius" => [15, "Celsius"],
|
1527
|
+
"petaFahrenheit" => [15, "Fahrenheit"],
|
1528
|
+
"petaJulian_year" => [15, "Julian_year"],
|
1529
|
+
"petaPascal" => [15, "Pascal"], "petaacre" => [15, "acre"],
|
1530
|
+
"petaampere" => [15, "ampere"], "petaangstrom" => [15, "angstrom"],
|
1531
|
+
"petaangular_degree" => [15, "angular_degree"],
|
1532
|
+
"petaangular_minute" => [15, "angular_minute"],
|
1533
|
+
"petaangular_second" => [15, "angular_second"],
|
1534
|
+
"petaare" => [15, "are"], "petaatmosphere" => [15, "atmosphere"],
|
1535
|
+
"petacalorie" => [15, "calorie"], "petacelsius" => [15, "celsius"],
|
1536
|
+
"petacentigrade" => [15, "centigrade"],
|
1537
|
+
"petacentury" => [15, "century"], "petachain" => [15, "chain"],
|
1538
|
+
"petacommon_year" => [15, "common_year"],
|
1539
|
+
"petacoulomb" => [15, "coulomb"], "petaday" => [15, "day"],
|
1540
|
+
"petadegK" => [15, "degK"], "petadeg_K" => [15, "deg_K"],
|
1541
|
+
"petadegree" => [15, "degree"], "petadegreeK" => [15, "degreeK"],
|
1542
|
+
"petadyne" => [15, "dyne"], "petaerg" => [15, "erg"],
|
1543
|
+
"petafahrenheit" => [15, "fahrenheit"], "petafarad" => [15, "farad"],
|
1544
|
+
"petafermi" => [15, "fermi"], "petagal" => [15, "gal"],
|
1545
|
+
"petagauss" => [15, "gauss"], "petagram" => [15, "gram"],
|
1546
|
+
"petahectare" => [15, "hectare"], "petahertz" => [15, "hertz"],
|
1547
|
+
"petahour" => [15, "hour"], "petainch" => [15, "inch"],
|
1548
|
+
"petajoule" => [15, "joule"], "petakelvin" => [15, "kelvin"],
|
1549
|
+
"petakilogram" => [15, "kilogram"], "petaknot" => [15, "knot"],
|
1550
|
+
"petalitre" => [15, "litre"], "petameter" => [15, "meter"],
|
1551
|
+
"petametre" => [15, "metre"], "petamicron" => [15, "micron"],
|
1552
|
+
"petamile" => [15, "mile"], "petamillibar" => [15, "millibar"],
|
1553
|
+
"petaminute" => [15, "minute"],
|
1554
|
+
"petaminute_angle" => [15, "minute_angle"],
|
1555
|
+
"petamole" => [15, "mole"], "petamonth" => [15, "month"],
|
1556
|
+
"petanewton" => [15, "newton"], "petaounce" => [15, "ounce"],
|
1557
|
+
"petaparsec" => [15, "parsec"], "petapascal" => [15, "pascal"],
|
1558
|
+
"petapentad" => [15, "pentad"], "petapoise" => [15, "poise"],
|
1559
|
+
"petapound" => [15, "pound"], "petaradian" => [15, "radian"],
|
1560
|
+
"petasecond" => [15, "second"],
|
1561
|
+
"petasecond_angle" => [15, "second_angle"],
|
1562
|
+
"petasteradian" => [15, "steradian"], "petastokes" => [15, "stokes"],
|
1563
|
+
"petatesla" => [15, "tesla"], "petaton" => [15, "ton"],
|
1564
|
+
"petatonne" => [15, "tonne"], "petatorr" => [15, "torr"],
|
1565
|
+
"petavolt" => [15, "volt"], "petawatt" => [15, "watt"],
|
1566
|
+
"petaweber" => [15, "weber"], "petayard" => [15, "yard"],
|
1567
|
+
"petayd" => [15, "yd"], "petayear" => [15, "year"],
|
1568
|
+
"pforce" => [-12, "force"], "pg" => [-12, "g"],
|
1569
|
+
"pgravity" => [-12, "gravity"], "ph" => [-12, "h"],
|
1570
|
+
"phg" => [-12, "hg"], "phr" => [-12, "hr"],
|
1571
|
+
"picoCelsius" => [-12, "Celsius"],
|
1572
|
+
"picoFahrenheit" => [-12, "Fahrenheit"],
|
1573
|
+
"picoJulian_year" => [-12, "Julian_year"],
|
1574
|
+
"picoPascal" => [-12, "Pascal"], "picoacre" => [-12, "acre"],
|
1575
|
+
"picoampere" => [-12, "ampere"], "picoangstrom" => [-12, "angstrom"],
|
1576
|
+
"picoangular_degree" => [-12, "angular_degree"],
|
1577
|
+
"picoangular_minute" => [-12, "angular_minute"],
|
1578
|
+
"picoangular_second" => [-12, "angular_second"],
|
1579
|
+
"picoare" => [-12, "are"], "picoatmosphere" => [-12, "atmosphere"],
|
1580
|
+
"picocalorie" => [-12, "calorie"], "picocelsius" => [-12, "celsius"],
|
1581
|
+
"picocentigrade" => [-12, "centigrade"],
|
1582
|
+
"picocentury" => [-12, "century"], "picochain" => [-12, "chain"],
|
1583
|
+
"picocommon_year" => [-12, "common_year"],
|
1584
|
+
"picocoulomb" => [-12, "coulomb"], "picoday" => [-12, "day"],
|
1585
|
+
"picodegK" => [-12, "degK"], "picodeg_K" => [-12, "deg_K"],
|
1586
|
+
"picodegree" => [-12, "degree"], "picodegreeK" => [-12, "degreeK"],
|
1587
|
+
"picodyne" => [-12, "dyne"], "picoerg" => [-12, "erg"],
|
1588
|
+
"picofahrenheit" => [-12, "fahrenheit"],
|
1589
|
+
"picofarad" => [-12, "farad"], "picofermi" => [-12, "fermi"],
|
1590
|
+
"picogal" => [-12, "gal"], "picogauss" => [-12, "gauss"],
|
1591
|
+
"picogram" => [-12, "gram"], "picohectare" => [-12, "hectare"],
|
1592
|
+
"picohertz" => [-12, "hertz"], "picohour" => [-12, "hour"],
|
1593
|
+
"picoinch" => [-12, "inch"], "picojoule" => [-12, "joule"],
|
1594
|
+
"picokelvin" => [-12, "kelvin"], "picokilogram" => [-12, "kilogram"],
|
1595
|
+
"picoknot" => [-12, "knot"], "picolitre" => [-12, "litre"],
|
1596
|
+
"picometer" => [-12, "meter"], "picometre" => [-12, "metre"],
|
1597
|
+
"picomicron" => [-12, "micron"], "picomile" => [-12, "mile"],
|
1598
|
+
"picomillibar" => [-12, "millibar"], "picominute" => [-12, "minute"],
|
1599
|
+
"picominute_angle" => [-12, "minute_angle"],
|
1600
|
+
"picomole" => [-12, "mole"], "picomonth" => [-12, "month"],
|
1601
|
+
"piconewton" => [-12, "newton"], "picoounce" => [-12, "ounce"],
|
1602
|
+
"picoparsec" => [-12, "parsec"], "picopascal" => [-12, "pascal"],
|
1603
|
+
"picopentad" => [-12, "pentad"], "picopoise" => [-12, "poise"],
|
1604
|
+
"picopound" => [-12, "pound"], "picoradian" => [-12, "radian"],
|
1605
|
+
"picosecond" => [-12, "second"],
|
1606
|
+
"picosecond_angle" => [-12, "second_angle"],
|
1607
|
+
"picosteradian" => [-12, "steradian"],
|
1608
|
+
"picostokes" => [-12, "stokes"], "picotesla" => [-12, "tesla"],
|
1609
|
+
"picoton" => [-12, "ton"], "picotonne" => [-12, "tonne"],
|
1610
|
+
"picotorr" => [-12, "torr"], "picovolt" => [-12, "volt"],
|
1611
|
+
"picowatt" => [-12, "watt"], "picoweber" => [-12, "weber"],
|
1612
|
+
"picoyard" => [-12, "yard"], "picoyd" => [-12, "yd"],
|
1613
|
+
"picoyear" => [-12, "year"], "pin" => [-12, "in"],
|
1614
|
+
"pkg" => [-12, "kg"], "pkgf" => [-12, "kgf"],
|
1615
|
+
"pkph" => [-12, "kph"], "plb" => [-12, "lb"], "plm" => [-12, "lm"],
|
1616
|
+
"plx" => [-12, "lx"], "ply" => [-12, "ly"], "pm" => [-12, "m"],
|
1617
|
+
"pmb" => [-12, "mb"], "pmercury" => [-12, "mercury"],
|
1618
|
+
"pmgal" => [-12, "mgal"], "pmin" => [-12, "min"],
|
1619
|
+
"pmol" => [-12, "mol"], "pmon" => [-12, "mon"],
|
1620
|
+
"pmph" => [-12, "mph"], "pohm" => [-12, "ohm"],
|
1621
|
+
"poises" => [0, "poise"], "pounds" => [0, "pound"],
|
1622
|
+
"poz" => [-12, "oz"], "ppc" => [-12, "pc"],
|
1623
|
+
"ppercent" => [-12, "percent"], "ppermil" => [-12, "permil"],
|
1624
|
+
"ppsi" => [-12, "psi"], "prad" => [-12, "rad"], "ps" => [-12, "s"],
|
1625
|
+
"psr" => [-12, "sr"], "pt" => [-12, "t"], "pyr" => [-12, "yr"],
|
1626
|
+
"radians" => [0, "radian"], "seconds" => [0, "second"],
|
1627
|
+
"seconds_angle" => [0, "second_angle"],
|
1628
|
+
"steradians" => [0, "steradian"], "stokeses" => [0, "stokes"],
|
1629
|
+
"telaCelsius" => [12, "Celsius"],
|
1630
|
+
"telaFahrenheit" => [12, "Fahrenheit"],
|
1631
|
+
"telaJulian_year" => [12, "Julian_year"],
|
1632
|
+
"telaPascal" => [12, "Pascal"], "telaacre" => [12, "acre"],
|
1633
|
+
"telaampere" => [12, "ampere"], "telaangstrom" => [12, "angstrom"],
|
1634
|
+
"telaangular_degree" => [12, "angular_degree"],
|
1635
|
+
"telaangular_minute" => [12, "angular_minute"],
|
1636
|
+
"telaangular_second" => [12, "angular_second"],
|
1637
|
+
"telaare" => [12, "are"], "telaatmosphere" => [12, "atmosphere"],
|
1638
|
+
"telacalorie" => [12, "calorie"], "telacelsius" => [12, "celsius"],
|
1639
|
+
"telacentigrade" => [12, "centigrade"],
|
1640
|
+
"telacentury" => [12, "century"], "telachain" => [12, "chain"],
|
1641
|
+
"telacommon_year" => [12, "common_year"],
|
1642
|
+
"telacoulomb" => [12, "coulomb"], "teladay" => [12, "day"],
|
1643
|
+
"teladegK" => [12, "degK"], "teladeg_K" => [12, "deg_K"],
|
1644
|
+
"teladegree" => [12, "degree"], "teladegreeK" => [12, "degreeK"],
|
1645
|
+
"teladyne" => [12, "dyne"], "telaerg" => [12, "erg"],
|
1646
|
+
"telafahrenheit" => [12, "fahrenheit"], "telafarad" => [12, "farad"],
|
1647
|
+
"telafermi" => [12, "fermi"], "telagal" => [12, "gal"],
|
1648
|
+
"telagauss" => [12, "gauss"], "telagram" => [12, "gram"],
|
1649
|
+
"telahectare" => [12, "hectare"], "telahertz" => [12, "hertz"],
|
1650
|
+
"telahour" => [12, "hour"], "telainch" => [12, "inch"],
|
1651
|
+
"telajoule" => [12, "joule"], "telakelvin" => [12, "kelvin"],
|
1652
|
+
"telakilogram" => [12, "kilogram"], "telaknot" => [12, "knot"],
|
1653
|
+
"telalitre" => [12, "litre"], "telameter" => [12, "meter"],
|
1654
|
+
"telametre" => [12, "metre"], "telamicron" => [12, "micron"],
|
1655
|
+
"telamile" => [12, "mile"], "telamillibar" => [12, "millibar"],
|
1656
|
+
"telaminute" => [12, "minute"],
|
1657
|
+
"telaminute_angle" => [12, "minute_angle"],
|
1658
|
+
"telamole" => [12, "mole"], "telamonth" => [12, "month"],
|
1659
|
+
"telanewton" => [12, "newton"], "telaounce" => [12, "ounce"],
|
1660
|
+
"telaparsec" => [12, "parsec"], "telapascal" => [12, "pascal"],
|
1661
|
+
"telapentad" => [12, "pentad"], "telapoise" => [12, "poise"],
|
1662
|
+
"telapound" => [12, "pound"], "telaradian" => [12, "radian"],
|
1663
|
+
"telasecond" => [12, "second"],
|
1664
|
+
"telasecond_angle" => [12, "second_angle"],
|
1665
|
+
"telasteradian" => [12, "steradian"], "telastokes" => [12, "stokes"],
|
1666
|
+
"telatesla" => [12, "tesla"], "telaton" => [12, "ton"],
|
1667
|
+
"telatonne" => [12, "tonne"], "telatorr" => [12, "torr"],
|
1668
|
+
"telavolt" => [12, "volt"], "telawatt" => [12, "watt"],
|
1669
|
+
"telaweber" => [12, "weber"], "telayard" => [12, "yard"],
|
1670
|
+
"telayd" => [12, "yd"], "telayear" => [12, "year"],
|
1671
|
+
"teslas" => [0, "tesla"], "tonnes" => [0, "tonne"],
|
1672
|
+
"tons" => [0, "ton"], "torrs" => [0, "torr"], "u%" => [-6, "%"],
|
1673
|
+
"uA" => [-6, "A"], "uAu" => [-6, "Au"], "uBq" => [-6, "Bq"],
|
1674
|
+
"uC" => [-6, "C"], "uF" => [-6, "F"], "uG" => [-6, "G"],
|
1675
|
+
"uGal" => [-6, "Gal"], "uGy" => [-6, "Gy"], "uH" => [-6, "H"],
|
1676
|
+
"uHg" => [-6, "Hg"], "uHz" => [-6, "Hz"], "uJ" => [-6, "J"],
|
1677
|
+
"uK" => [-6, "K"], "uL" => [-6, "L"], "uN" => [-6, "N"],
|
1678
|
+
"uP" => [-6, "P"], "uPa" => [-6, "Pa"], "uS" => [-6, "S"],
|
1679
|
+
"uSt" => [-6, "St"], "uSv" => [-6, "Sv"], "uT" => [-6, "T"],
|
1680
|
+
"uV" => [-6, "V"], "uW" => [-6, "W"], "uWb" => [-6, "Wb"],
|
1681
|
+
"ua" => [-6, "a"], "uac" => [-6, "ac"], "uatm" => [-6, "atm"],
|
1682
|
+
"ubar" => [-6, "bar"], "ucal" => [-6, "cal"],
|
1683
|
+
"uconventional_mercury" => [-6, "conventional_mercury"],
|
1684
|
+
"ud" => [-6, "d"], "udegC" => [-6, "degC"], "udegF" => [-6, "degF"],
|
1685
|
+
"udeg_C" => [-6, "deg_C"], "udeg_F" => [-6, "deg_F"],
|
1686
|
+
"udegreeC" => [-6, "degreeC"], "udegreeF" => [-6, "degreeF"],
|
1687
|
+
"udegree_C" => [-6, "degree_C"], "udegree_E" => [-6, "degree_E"],
|
1688
|
+
"udegree_F" => [-6, "degree_F"], "udegree_N" => [-6, "degree_N"],
|
1689
|
+
"udegree_R" => [-6, "degree_R"], "udegree_S" => [-6, "degree_S"],
|
1690
|
+
"udegree_W" => [-6, "degree_W"], "udegree_c" => [-6, "degree_c"],
|
1691
|
+
"udegree_east" => [-6, "degree_east"],
|
1692
|
+
"udegree_f" => [-6, "degree_f"],
|
1693
|
+
"udegree_north" => [-6, "degree_north"],
|
1694
|
+
"udegree_south" => [-6, "degree_south"],
|
1695
|
+
"udegree_west" => [-6, "degree_west"],
|
1696
|
+
"udegrees_east" => [-6, "degrees_east"],
|
1697
|
+
"udegrees_north" => [-6, "degrees_north"],
|
1698
|
+
"udegrees_south" => [-6, "degrees_south"],
|
1699
|
+
"udegrees_west" => [-6, "degrees_west"], "udyn" => [-6, "dyn"],
|
1700
|
+
"uerg" => [-6, "erg"], "uforce" => [-6, "force"], "ug" => [-6, "g"],
|
1701
|
+
"ugravity" => [-6, "gravity"], "uh" => [-6, "h"],
|
1702
|
+
"uhg" => [-6, "hg"], "uhr" => [-6, "hr"], "uin" => [-6, "in"],
|
1703
|
+
"ukg" => [-6, "kg"], "ukgf" => [-6, "kgf"], "ukph" => [-6, "kph"],
|
1704
|
+
"ulb" => [-6, "lb"], "ulm" => [-6, "lm"], "ulx" => [-6, "lx"],
|
1705
|
+
"uly" => [-6, "ly"], "um" => [-6, "m"], "umb" => [-6, "mb"],
|
1706
|
+
"umercury" => [-6, "mercury"], "umgal" => [-6, "mgal"],
|
1707
|
+
"umin" => [-6, "min"], "umol" => [-6, "mol"], "umon" => [-6, "mon"],
|
1708
|
+
"umph" => [-6, "mph"], "uohm" => [-6, "ohm"], "uoz" => [-6, "oz"],
|
1709
|
+
"upc" => [-6, "pc"], "upercent" => [-6, "percent"],
|
1710
|
+
"upermil" => [-6, "permil"], "upsi" => [-6, "psi"],
|
1711
|
+
"urad" => [-6, "rad"], "us" => [-6, "s"], "usr" => [-6, "sr"],
|
1712
|
+
"ut" => [-6, "t"], "uyr" => [-6, "yr"], "volts" => [0, "volt"],
|
1713
|
+
"watts" => [0, "watt"], "webers" => [0, "weber"],
|
1714
|
+
"yards" => [0, "yard"], "yds" => [0, "yd"], "years" => [0, "year"],
|
1715
|
+
}
|
1716
|
+
UPLURALS = {
|
1717
|
+
"Celsiuses" => "Celsius", "Fahrenheits" => "Fahrenheit",
|
1718
|
+
"Julians_year" => "Julian_year", "Pascals" => "Pascal",
|
1719
|
+
"acres" => "acre", "amperes" => "ampere", "angstroms" => "angstrom",
|
1720
|
+
"angulars_degree" => "angular_degree",
|
1721
|
+
"angulars_minute" => "angular_minute",
|
1722
|
+
"angulars_second" => "angular_second", "ares" => "are",
|
1723
|
+
"atmospheres" => "atmosphere", "calories" => "calorie",
|
1724
|
+
"celsiuses" => "celsius", "centigrades" => "centigrade",
|
1725
|
+
"centuries" => "century", "chains" => "chain",
|
1726
|
+
"commons_year" => "common_year", "coulombs" => "coulomb",
|
1727
|
+
"days" => "day", "degKs" => "degK", "degreeKs" => "degreeK",
|
1728
|
+
"degrees" => "degree", "degs_K" => "deg_K", "dynes" => "dyne",
|
1729
|
+
"ergs" => "erg", "fahrenheits" => "fahrenheit", "farads" => "farad",
|
1730
|
+
"fermis" => "fermi", "gals" => "gal", "gausses" => "gauss",
|
1731
|
+
"grams" => "gram", "hectares" => "hectare", "hertzes" => "hertz",
|
1732
|
+
"hours" => "hour", "inchs" => "inch", "joules" => "joule",
|
1733
|
+
"kelvins" => "kelvin", "kilograms" => "kilogram", "knots" => "knot",
|
1734
|
+
"litres" => "litre", "meters" => "meter", "metres" => "metre",
|
1735
|
+
"microns" => "micron", "miles" => "mile", "millibars" => "millibar",
|
1736
|
+
"minutes" => "minute", "minutes_angle" => "minute_angle",
|
1737
|
+
"moles" => "mole", "months" => "month", "newtons" => "newton",
|
1738
|
+
"ounces" => "ounce", "parsecs" => "parsec", "pascals" => "pascal",
|
1739
|
+
"pentads" => "pentad", "poises" => "poise", "pounds" => "pound",
|
1740
|
+
"radians" => "radian", "seconds" => "second",
|
1741
|
+
"seconds_angle" => "second_angle", "steradians" => "steradian",
|
1742
|
+
"stokeses" => "stokes", "teslas" => "tesla", "tonnes" => "tonne",
|
1743
|
+
"tons" => "ton", "torrs" => "torr", "volts" => "volt",
|
1744
|
+
"watts" => "watt", "webers" => "weber", "yards" => "yard",
|
1745
|
+
"yds" => "yd", "years" => "year",
|
1746
|
+
}
|
1747
|
+
end
|
1748
|
+
class NumberNode < TerminalNode
|
1749
|
+
|
1750
|
+
def initialize(arg)
|
1751
|
+
raise TypeError unless Numeric === arg
|
1752
|
+
@a = arg
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
UNITY = NumberNode.new(1)
|
1756
|
+
ZERO = NumberNode.new(0)
|
1757
|
+
|
1758
|
+
def to_s
|
1759
|
+
if @a == @a.to_i
|
1760
|
+
sprintf("%d",@a)
|
1761
|
+
else
|
1762
|
+
String(@a)
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
attr_reader :a
|
1767
|
+
|
1768
|
+
alias :value :a
|
1769
|
+
alias :factor :a
|
1770
|
+
|
1771
|
+
def == (other)
|
1772
|
+
case other
|
1773
|
+
when NumberNode
|
1774
|
+
@a == other.a
|
1775
|
+
else
|
1776
|
+
false
|
1777
|
+
end
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
def add_eval(another)
|
1781
|
+
raise TypeError unless NumberNode === another
|
1782
|
+
NumberNode.new(@a + another.value)
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
def mul_eval(another)
|
1786
|
+
case another
|
1787
|
+
when NumberNode then NumberNode.new(@a * another.a)
|
1788
|
+
when PowNode
|
1789
|
+
raise TypeError unless NumberNode === another.lhs
|
1790
|
+
raise TypeError unless NumberNode === another.rhs
|
1791
|
+
NumberNode.new(@a * Units::pow_f(another.lhs.value, another.rhs.value))
|
1792
|
+
else raise TypeError
|
1793
|
+
end
|
1794
|
+
end
|
1795
|
+
|
1796
|
+
def name; "1"; end
|
1797
|
+
|
1798
|
+
def power; UNITY; end
|
1799
|
+
|
1800
|
+
end
|
1801
|
+
class XDate
|
1802
|
+
|
1803
|
+
def initialize(year, month, day)
|
1804
|
+
@year, @month, @day = year.to_i, month.to_i, day.to_i
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
attr_reader :year, :month, :day
|
1808
|
+
|
1809
|
+
def to_s
|
1810
|
+
format('%04d-%02d-%02d', @year, @month, @day)
|
1811
|
+
end
|
1812
|
+
|
1813
|
+
alias :inspect :to_s
|
1814
|
+
|
1815
|
+
def to_time
|
1816
|
+
Time.gm(@year, @month, @day)
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
def to_date
|
1820
|
+
Date.new(@year, @month, @day)
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
def -(other)
|
1824
|
+
case other
|
1825
|
+
when XDate
|
1826
|
+
(to_date - other.to_date)
|
1827
|
+
when Time
|
1828
|
+
to_time - other
|
1829
|
+
when Date
|
1830
|
+
(to_date - other.to_date)
|
1831
|
+
else
|
1832
|
+
to_date - other
|
1833
|
+
end
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
def +(other)
|
1837
|
+
t = to_date + other
|
1838
|
+
self.class.new(t.year, t.month, t.mday)
|
1839
|
+
end
|
1840
|
+
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
class TimeNode < TerminalNode
|
1844
|
+
|
1845
|
+
def initialize(date, time, zone)
|
1846
|
+
@date, @time, @zone = date, time, zone
|
1847
|
+
if :now === @date then
|
1848
|
+
now = Time.now.utc
|
1849
|
+
@date = XDate.new(now.year, now.month, now.day)
|
1850
|
+
@time = ((now.hour * 60 + now.min) * 60 + Float(now.sec))
|
1851
|
+
else
|
1852
|
+
qdays = (@time / 86400).floor
|
1853
|
+
if not qdays.zero?
|
1854
|
+
@date += qdays
|
1855
|
+
@time -= (qdays * 86400)
|
1856
|
+
end
|
1857
|
+
end
|
1858
|
+
raise TypeError unless XDate === @date
|
1859
|
+
@time = 0.0 unless @time
|
1860
|
+
raise TypeError unless Float === @time
|
1861
|
+
@zone = 0 unless @zone
|
1862
|
+
raise TypeError unless Integer === @zone
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
attr_reader :date, :time, :zone
|
1866
|
+
|
1867
|
+
def to_s
|
1868
|
+
hr = @time.floor / 3600
|
1869
|
+
mi = (@time.floor / 60) % 60
|
1870
|
+
sc = @time % 60
|
1871
|
+
tzm = @zone.abs
|
1872
|
+
tzh = tzm / 60
|
1873
|
+
tzm %= 60
|
1874
|
+
tzh = -tzh if @zone < 0
|
1875
|
+
format("%sT%02d:%02d:%05.2f %+03d:%02d", \
|
1876
|
+
@date.to_s, hr, mi, sc, tzh, tzm)
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
def self::pentad(d)
|
1880
|
+
(d > 25) ? 5 : ((d - 1) / 5)
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
def add_time(increment)
|
1884
|
+
inc = increment.reduce5
|
1885
|
+
case inc.name
|
1886
|
+
when 's'
|
1887
|
+
t2 = @time + inc.factor
|
1888
|
+
d2 = @date + (t2 / 86400)
|
1889
|
+
t2 = t2 % 86400
|
1890
|
+
self.class.new(d2, t2, @zone)
|
1891
|
+
when 'pentad'
|
1892
|
+
ifac = Integer(inc.factor)
|
1893
|
+
ipen = ifac % 6
|
1894
|
+
imon = ifac / 6
|
1895
|
+
spen = self.class.pentad(@date.day)
|
1896
|
+
smon = @date.month + imon + spen / 6
|
1897
|
+
spen = spen % 6
|
1898
|
+
sday = spen * 5 + (@date.day - 1) % 5 + 1
|
1899
|
+
syear = @date.year + (smon - 1) / 12
|
1900
|
+
smon = (smon - 1) % 12 + 1
|
1901
|
+
sdate = XDate.new(syear, smon, sday)
|
1902
|
+
self.class.new(sdate, @time, @zone)
|
1903
|
+
else
|
1904
|
+
raise "bad time unit '#{inc.name}'"
|
1905
|
+
end
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
def utcsod
|
1909
|
+
@time - @zone * 60
|
1910
|
+
end
|
1911
|
+
|
1912
|
+
def div_time(units)
|
1913
|
+
base = units.ref
|
1914
|
+
inc = units.deref.reduce5
|
1915
|
+
begin
|
1916
|
+
incname = inc.name
|
1917
|
+
rescue Exception
|
1918
|
+
incname = "(undefined)"
|
1919
|
+
end
|
1920
|
+
case incname
|
1921
|
+
when 's'
|
1922
|
+
dif = (@date - base.date) * 86400 + (utcsod - base.utcsod)
|
1923
|
+
dif / inc.factor
|
1924
|
+
when 'pentad'
|
1925
|
+
dif = (@date.year - base.date.year) * 72
|
1926
|
+
dif += (@date.month - base.date.month) * 6
|
1927
|
+
dif += self.class.pentad(@date.day)
|
1928
|
+
dif -= self.class.pentad(base.date.day)
|
1929
|
+
dif = Float(dif) if dif % inc.factor != 0
|
1930
|
+
dif / inc.factor
|
1931
|
+
else
|
1932
|
+
raise "bad time unit '#{incname}'"
|
1933
|
+
end
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
end
|
1937
|
+
class PowNode < ContainerNode
|
1938
|
+
|
1939
|
+
include BinaryNode
|
1940
|
+
|
1941
|
+
def initialize(lhs, rhs)
|
1942
|
+
@lhs, @rhs = lhs, rhs
|
1943
|
+
raise TypeError unless NumberNode === @rhs
|
1944
|
+
end
|
1945
|
+
|
1946
|
+
def to_s
|
1947
|
+
lhs = @lhs.to_s
|
1948
|
+
case lhs
|
1949
|
+
when /\d$/, /[\d\.]/
|
1950
|
+
lhs = "(#{lhs})"
|
1951
|
+
end
|
1952
|
+
rhs = @rhs.to_s
|
1953
|
+
if rhs == '1'
|
1954
|
+
lhs
|
1955
|
+
else
|
1956
|
+
rhs = "^(#{rhs})" if (/\./ =~ rhs)
|
1957
|
+
lhs + rhs
|
1958
|
+
end
|
1959
|
+
end
|
1960
|
+
|
1961
|
+
attr_reader :lhs, :rhs
|
1962
|
+
alias :power :rhs
|
1963
|
+
|
1964
|
+
def pow_eval(other)
|
1965
|
+
case other
|
1966
|
+
when NumberNode
|
1967
|
+
PowNode.new(@lhs, @rhs.mul_eval(other))
|
1968
|
+
else
|
1969
|
+
super(other)
|
1970
|
+
end
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
def flatten2
|
1974
|
+
x = @lhs.flatten2
|
1975
|
+
case x
|
1976
|
+
when NumberNode
|
1977
|
+
a = @lhs.pow_eval(@rhs)
|
1978
|
+
when TerminalNode
|
1979
|
+
a = self
|
1980
|
+
when PowNode
|
1981
|
+
a = PowNode.new(x.lhs, x.rhs.mul_eval(@rhs))
|
1982
|
+
when MulNode, MultiNode
|
1983
|
+
a = MultiNode.new()
|
1984
|
+
for gc in x
|
1985
|
+
a.append(gc.pow_eval(@rhs))
|
1986
|
+
end
|
1987
|
+
else
|
1988
|
+
raise "internal error"
|
1989
|
+
end
|
1990
|
+
return a
|
1991
|
+
end
|
1992
|
+
|
1993
|
+
def name
|
1994
|
+
case @lhs
|
1995
|
+
when NumberNode, NameNode
|
1996
|
+
@lhs.name
|
1997
|
+
else
|
1998
|
+
raise "internal error"
|
1999
|
+
end
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
def value
|
2003
|
+
case @lhs
|
2004
|
+
when NumberNode
|
2005
|
+
Units::pow_f(@lhs.value, @rhs.value)
|
2006
|
+
else
|
2007
|
+
raise(format('%s#value: internal error', self.class.to_s))
|
2008
|
+
end
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
def mul_eval(another)
|
2012
|
+
raise "internal error (#{name}, #{another.name})" if name != another.name
|
2013
|
+
case @lhs
|
2014
|
+
when NumberNode
|
2015
|
+
NumberNode.new(Units::pow_f(@lhs.value, @rhs.value) * another.value)
|
2016
|
+
else
|
2017
|
+
self.class.new(@lhs, @rhs.add_eval(another.power))
|
2018
|
+
end
|
2019
|
+
end
|
2020
|
+
|
2021
|
+
def sort
|
2022
|
+
case @lhs
|
2023
|
+
when NumberNode
|
2024
|
+
NumberNode.new(Units::pow_f(@lhs.value, @rhs.value))
|
2025
|
+
else
|
2026
|
+
self
|
2027
|
+
end
|
2028
|
+
end
|
2029
|
+
|
2030
|
+
def factor
|
2031
|
+
Units::pow_f(@lhs.factor, @rhs.value)
|
2032
|
+
end
|
2033
|
+
|
2034
|
+
end
|
2035
|
+
|
2036
|
+
module Kakezan
|
2037
|
+
|
2038
|
+
def flatten2
|
2039
|
+
r = MultiNode.new()
|
2040
|
+
each do |child|
|
2041
|
+
case child
|
2042
|
+
when MultiNode
|
2043
|
+
r.append child
|
2044
|
+
when MulNode
|
2045
|
+
r.append child.flatten2
|
2046
|
+
when ContainerNode
|
2047
|
+
r.append child.flatten2
|
2048
|
+
else
|
2049
|
+
r.append child
|
2050
|
+
end
|
2051
|
+
end
|
2052
|
+
r
|
2053
|
+
end
|
2054
|
+
|
2055
|
+
def name
|
2056
|
+
n = nil
|
2057
|
+
for c in @children
|
2058
|
+
next if NumberNode === c
|
2059
|
+
na = c.name
|
2060
|
+
if n.nil?
|
2061
|
+
n = na
|
2062
|
+
else
|
2063
|
+
raise "multiple names found" if na != n
|
2064
|
+
end
|
2065
|
+
end
|
2066
|
+
n = "1" if n.nil?
|
2067
|
+
n
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
def factor
|
2071
|
+
f = 1
|
2072
|
+
for c in @children
|
2073
|
+
f *= c.factor
|
2074
|
+
end
|
2075
|
+
f
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
end
|
2079
|
+
|
2080
|
+
class MulNode < ContainerNode
|
2081
|
+
|
2082
|
+
include BinaryNode
|
2083
|
+
include Kakezan
|
2084
|
+
|
2085
|
+
def initialize(lhs, rhs)
|
2086
|
+
@lhs, @rhs = lhs, rhs
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
def to_s
|
2090
|
+
lhs = @lhs.to_s
|
2091
|
+
rhs = @rhs.to_s
|
2092
|
+
if (/\d$/ =~ lhs && /^\w/ =~ rhs) then
|
2093
|
+
"#{lhs} #{rhs}"
|
2094
|
+
else
|
2095
|
+
"#{lhs}.#{rhs}"
|
2096
|
+
end
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
class MultiNode < ContainerNode
|
2102
|
+
|
2103
|
+
include Kakezan
|
2104
|
+
|
2105
|
+
def initialize(*children)
|
2106
|
+
@children = children
|
2107
|
+
for c in @children
|
2108
|
+
raise "# MultiNode.new(#{children.inspect})" unless Node === c
|
2109
|
+
end
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
def to_s
|
2113
|
+
s = @children.join(';')
|
2114
|
+
s.gsub(/\d;\w/) { |dsw| dsw.sub(/;/, ' ') }.gsub(/;/, '.')
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
def each
|
2118
|
+
@children.each {|child| yield child }
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
attr_reader :children
|
2122
|
+
|
2123
|
+
def append(other)
|
2124
|
+
case other
|
2125
|
+
when MultiNode
|
2126
|
+
@children += other.children
|
2127
|
+
else
|
2128
|
+
@children.push other
|
2129
|
+
end
|
2130
|
+
end
|
2131
|
+
|
2132
|
+
def sort
|
2133
|
+
table = {}
|
2134
|
+
for child in self
|
2135
|
+
name = child.name
|
2136
|
+
if (table.include?(name)) then
|
2137
|
+
table[name] = table[name].mul_eval(child)
|
2138
|
+
else
|
2139
|
+
table[name] = child
|
2140
|
+
end
|
2141
|
+
end
|
2142
|
+
list = []
|
2143
|
+
for name in table.keys.sort
|
2144
|
+
candi = table[name]
|
2145
|
+
if PowNode === candi and NumberNode === candi.lhs then
|
2146
|
+
v = candi.value
|
2147
|
+
list.push NumberNode.new(v) unless v == 1
|
2148
|
+
next
|
2149
|
+
end
|
2150
|
+
next if candi.power.value == 0
|
2151
|
+
list.push candi
|
2152
|
+
end
|
2153
|
+
if list.length > 1
|
2154
|
+
list.delete(NumberNode::UNITY)
|
2155
|
+
end
|
2156
|
+
self.class.new(*list)
|
2157
|
+
end
|
2158
|
+
|
2159
|
+
def collect_hash(stopper, op)
|
2160
|
+
list = []
|
2161
|
+
for child in self
|
2162
|
+
list.push(child.send(op, stopper))
|
2163
|
+
end
|
2164
|
+
self.class.new(*list).flatten2
|
2165
|
+
end
|
2166
|
+
|
2167
|
+
def expand(stopper)
|
2168
|
+
collect_hash(stopper, :expand)
|
2169
|
+
end
|
2170
|
+
|
2171
|
+
def unalias(stopper)
|
2172
|
+
collect_hash(stopper, :unalias)
|
2173
|
+
end
|
2174
|
+
|
2175
|
+
def foldnumber(stopper)
|
2176
|
+
collect_hash(stopper, :foldnumber)
|
2177
|
+
end
|
2178
|
+
|
2179
|
+
def value
|
2180
|
+
raise "this is dimensional units" if (@children.size > 1)
|
2181
|
+
@children.first ? @children.first.value : NumberNode::UNITY.value
|
2182
|
+
end
|
2183
|
+
|
2184
|
+
end
|
2185
|
+
class ShiftNode < ContainerNode
|
2186
|
+
|
2187
|
+
include BinaryNode
|
2188
|
+
|
2189
|
+
def initialize(lhs, rhs)
|
2190
|
+
@lhs, @rhs = lhs, rhs
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
attr_reader :lhs, :rhs
|
2194
|
+
alias :ref :rhs
|
2195
|
+
|
2196
|
+
def to_s
|
2197
|
+
"(#{@lhs.to_s} @ #{@rhs.to_s})"
|
2198
|
+
end
|
2199
|
+
|
2200
|
+
def trim2; @lhs; end
|
2201
|
+
def trim
|
2202
|
+
self.class.new(@lhs.trim, @rhs.trim2)
|
2203
|
+
end
|
2204
|
+
|
2205
|
+
def flatten2; @lhs; end
|
2206
|
+
def flatten
|
2207
|
+
lf = @lhs.flatten
|
2208
|
+
case lf
|
2209
|
+
when ShiftNode
|
2210
|
+
rf = lf.rhs.add_eval(@rhs)
|
2211
|
+
self.class.new(lf.lhs, rf)
|
2212
|
+
else
|
2213
|
+
self.class.new(lf, @rhs.flatten)
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
def sort
|
2218
|
+
self.class.new(@lhs.sort, @rhs.sort)
|
2219
|
+
end
|
2220
|
+
|
2221
|
+
def ref
|
2222
|
+
case @lhs
|
2223
|
+
when ShiftNode
|
2224
|
+
@lhs.ref.add_eval(@rhs)
|
2225
|
+
else
|
2226
|
+
@rhs
|
2227
|
+
end
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
def deref
|
2231
|
+
case @lhs
|
2232
|
+
when ShiftNode
|
2233
|
+
@lhs.deref
|
2234
|
+
else
|
2235
|
+
@lhs
|
2236
|
+
end
|
2237
|
+
end
|
2238
|
+
|
2239
|
+
def name
|
2240
|
+
@lhs.name
|
2241
|
+
end
|
2242
|
+
|
2243
|
+
def factor
|
2244
|
+
@lhs.factor
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
end
|
2248
|
+
def initialize string
|
2249
|
+
case string
|
2250
|
+
when String
|
2251
|
+
@string, @ptree = string, nil
|
2252
|
+
when Node
|
2253
|
+
@string, @ptree = nil, string
|
2254
|
+
else
|
2255
|
+
@string, @ptree = String(string), nil
|
2256
|
+
end
|
2257
|
+
@copy = @lexstat = nil
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
#
|
2261
|
+
# === LEXICAL ANALYZER ===
|
2262
|
+
#
|
2263
|
+
|
2264
|
+
def rewind
|
2265
|
+
@copy = @string.dup.strip
|
2266
|
+
@lexstat = nil
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
RE_SPACE = '([ \t])'
|
2270
|
+
RE_INTEGER = '([-+]?\d+)'
|
2271
|
+
RE_EXP = '([eE][-+]?[0-9]+)'
|
2272
|
+
RE_REAL = "([-+]?[0-9]*(\\.[0-9]*#{RE_EXP}?|#{RE_EXP}))"
|
2273
|
+
RE_YEAR = "([-+]?[0-9]{1,4})"
|
2274
|
+
RE_MONTH = "(0?[1-9]|1[0-2])"
|
2275
|
+
RE_DAY = "([12][0-9]|30|31|0?[1-9])"
|
2276
|
+
RE_HOUR = "(2[0-3]|[0-1]?[0-9])"
|
2277
|
+
RE_MINUTE = "([0-5]?[0-9])"
|
2278
|
+
RE_SECOND = "((#{RE_MINUTE}|60)(\\.[0-9]*)?)"
|
2279
|
+
RE_NAME = "(%|[a-zA-Z][a-zA-Z_]*([0-9]+[a-zA-Z_]+)*)"
|
2280
|
+
|
2281
|
+
RE_DATE = "#{RE_YEAR}-#{RE_MONTH}-#{RE_DAY}"
|
2282
|
+
RE_TIME = "#{RE_HOUR}((:[0-5]?[0-9]|[0-5][0-9])(:#{RE_SECOND})?)?"
|
2283
|
+
RE_HandM = "#{RE_HOUR}((:[0-5]?[0-9]|[0-5][0-9]))?"
|
2284
|
+
|
2285
|
+
def next_token
|
2286
|
+
|
2287
|
+
# decomment
|
2288
|
+
@copy.sub!(/^#.*/, '');
|
2289
|
+
|
2290
|
+
if @copy.sub!(%r{^\s*(\))}, '') then
|
2291
|
+
@lexstat = nil
|
2292
|
+
return [$1, $1]
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
if @copy.sub!(%r{^\s*(\()\s*}, '') then
|
2296
|
+
return [$1, $1]
|
2297
|
+
end
|
2298
|
+
|
2299
|
+
if @copy.sub!(%r{^[ \t]*(@)[ \t]*}, '') \
|
2300
|
+
or @copy.sub!(%r{^[ \t]+(after|from|since|ref)[ \t]+}i, '') then
|
2301
|
+
@lexstat = :SHIFT_SEEN
|
2302
|
+
return [:SHIFT, $1]
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
if @copy.sub!(%r{^[ \t]*(/)[ \t]*}, '') \
|
2306
|
+
or @copy.sub!(%r{^[ \t]+(per)[ \t]+}i, '') then
|
2307
|
+
@lexstat = nil
|
2308
|
+
return [:DIVIDE, $1]
|
2309
|
+
end
|
2310
|
+
|
2311
|
+
if @copy.sub!(%r{^(\^|\*\*)}, '') then
|
2312
|
+
@lexstat = nil
|
2313
|
+
return [:EXPONENT, $1]
|
2314
|
+
end
|
2315
|
+
|
2316
|
+
if @copy.sub!(%r{^(\.|\*|[ \t]+)}, '') then
|
2317
|
+
@lexstat = nil
|
2318
|
+
return [:MULTIPLY, $1]
|
2319
|
+
end
|
2320
|
+
|
2321
|
+
if :SHIFT_SEEN === @lexstat \
|
2322
|
+
and @copy.sub!(%r{^#{RE_DATE}T?[ \t]*}, '') then
|
2323
|
+
y, m, d = $1, $2, $3
|
2324
|
+
@lexstat = :DATE_SEEN
|
2325
|
+
return [:DATE, XDate.new(y.to_i, m.to_i, d.to_i)]
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
if :SHIFT_SEEN === @lexstat \
|
2329
|
+
and @copy.sub!(%r{^now[ \t]*}, '') then
|
2330
|
+
@lexstat = nil
|
2331
|
+
return [:DATE, :now]
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
if :DATE_SEEN === @lexstat \
|
2335
|
+
and @copy.sub!(%r{^#{RE_TIME}[ \t]*}, '') then
|
2336
|
+
h, m, s = $1, $3, $5
|
2337
|
+
m = m.sub(/:/,'') if m
|
2338
|
+
s = 0 if s.nil?
|
2339
|
+
@lexstat = :TIME_SEEN
|
2340
|
+
return [:TIME, ((h.to_i * 60 + m.to_i) * 60 + Float(s))]
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
if :DATE_SEEN === @lexstat \
|
2344
|
+
and @copy.sub!(%r{^([0-2][0-9])([0-5][0-9])[ \t]*}, '') then
|
2345
|
+
h, m = $1, $2
|
2346
|
+
@lexstat = :TIME_SEEN
|
2347
|
+
return [:TIME, ((h.to_i * 60 + m.to_i) * 60.0)]
|
2348
|
+
end
|
2349
|
+
|
2350
|
+
if :DATE_SEEN === @lexstat \
|
2351
|
+
and @copy.sub!(%r{^([0-9])([0-5][0-9])[ \t]*}, '') then
|
2352
|
+
h, m = $1, $2
|
2353
|
+
@lexstat = :TIME_SEEN
|
2354
|
+
return [:TIME, ((h.to_i * 60 + m.to_i) * 60.0)]
|
2355
|
+
end
|
2356
|
+
|
2357
|
+
if :TIME_SEEN === @lexstat \
|
2358
|
+
and @copy.sub!(%r{^(UTC|Z)[ \t]*}, '') then
|
2359
|
+
@lexstat = nil
|
2360
|
+
return [:ZONE, 0]
|
2361
|
+
end
|
2362
|
+
|
2363
|
+
if :TIME_SEEN === @lexstat \
|
2364
|
+
and @copy.sub!(%r{^([-+]?)#{RE_HandM}[ \t]*}, '') then
|
2365
|
+
sgn, h, m = $1, $2, $4
|
2366
|
+
m = m.sub(/:/,'') if m
|
2367
|
+
@lexstat = nil
|
2368
|
+
h = h.to_i
|
2369
|
+
h = -h if sgn == "-"
|
2370
|
+
m = m.to_i
|
2371
|
+
m = -m if sgn == "-"
|
2372
|
+
return [:ZONE, ((h * 60) + m)]
|
2373
|
+
end
|
2374
|
+
|
2375
|
+
if @copy.sub!(%r{^#{RE_NAME}}, '') then
|
2376
|
+
@lexstat = nil
|
2377
|
+
return [:NAME, $1]
|
2378
|
+
end
|
2379
|
+
|
2380
|
+
if @copy.sub!(%r{^#{RE_REAL}}, '') then
|
2381
|
+
@lexstat = nil
|
2382
|
+
return [:REAL, $1.to_f]
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
if @copy.sub!(%r{^#{RE_INTEGER}}, '') then
|
2386
|
+
@lexstat = nil
|
2387
|
+
return [:INT, $1.to_i]
|
2388
|
+
end
|
2389
|
+
|
2390
|
+
if @copy.sub!(%r{^(-)}, '') then
|
2391
|
+
@lexstat = nil
|
2392
|
+
return [:MULTIPLY, $1]
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
if @copy.sub!(%r{^(.)}, '') then
|
2396
|
+
return [$1, $1]
|
2397
|
+
end
|
2398
|
+
|
2399
|
+
return [false, false]
|
2400
|
+
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
#
|
2404
|
+
# === USER LEVEL METHODS ===
|
2405
|
+
#
|
2406
|
+
|
2407
|
+
def tokens
|
2408
|
+
rewind
|
2409
|
+
x = []
|
2410
|
+
while (t = next_token).first
|
2411
|
+
x.push t
|
2412
|
+
end
|
2413
|
+
x
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
def do_parse2
|
2417
|
+
rewind
|
2418
|
+
return NumberNode.new(1) if @string.nil? or @string.empty?
|
2419
|
+
pa = do_parse
|
2420
|
+
pa ? pa : ErrorNode.new(@string)
|
2421
|
+
end
|
2422
|
+
|
2423
|
+
def ptree
|
2424
|
+
@ptree = do_parse2 if not @ptree
|
2425
|
+
@ptree
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
def dup
|
2429
|
+
@string ? self.class.new(@string) : self.class.new(@ptree)
|
2430
|
+
end
|
2431
|
+
|
2432
|
+
def parse
|
2433
|
+
dup.parse!
|
2434
|
+
end
|
2435
|
+
|
2436
|
+
def parse!
|
2437
|
+
@ptree = do_parse2 if not @ptree
|
2438
|
+
self
|
2439
|
+
end
|
2440
|
+
|
2441
|
+
def self::parse(string)
|
2442
|
+
new(string).parse!
|
2443
|
+
end
|
2444
|
+
|
2445
|
+
=begin
|
2446
|
+
--- reduce0
|
2447
|
+
just do nothing.
|
2448
|
+
=end
|
2449
|
+
|
2450
|
+
def reduce0
|
2451
|
+
self
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
=begin
|
2455
|
+
--- reduce1
|
2456
|
+
removes unnecessary parentheses.
|
2457
|
+
=end
|
2458
|
+
|
2459
|
+
def reduce1
|
2460
|
+
@string = ptree.to_s
|
2461
|
+
self
|
2462
|
+
end
|
2463
|
+
|
2464
|
+
=begin
|
2465
|
+
--- reduce2
|
2466
|
+
removes shift operator within multiplication/division/exponent
|
2467
|
+
=end
|
2468
|
+
|
2469
|
+
def reduce2
|
2470
|
+
@ptree = ptree.reduce2
|
2471
|
+
@string = nil
|
2472
|
+
self
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
=begin
|
2476
|
+
--- reduce3
|
2477
|
+
flattens expression and collects all factors
|
2478
|
+
=end
|
2479
|
+
|
2480
|
+
def reduce3
|
2481
|
+
@ptree = ptree.reduce3
|
2482
|
+
@string = nil
|
2483
|
+
self
|
2484
|
+
end
|
2485
|
+
|
2486
|
+
=begin
|
2487
|
+
--- reduce4
|
2488
|
+
collects terms with the same name
|
2489
|
+
=end
|
2490
|
+
|
2491
|
+
def reduce4
|
2492
|
+
@ptree = ptree.reduce4
|
2493
|
+
@string = nil
|
2494
|
+
self
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
=begin
|
2498
|
+
--- reduce5
|
2499
|
+
expands all terms recursively
|
2500
|
+
=end
|
2501
|
+
|
2502
|
+
def reduce5
|
2503
|
+
@ptree = ptree.reduce5
|
2504
|
+
@string = nil
|
2505
|
+
self
|
2506
|
+
end
|
2507
|
+
|
2508
|
+
attr_reader :string
|
2509
|
+
|
2510
|
+
def to_s
|
2511
|
+
@string = @ptree.to_s if @string.nil?
|
2512
|
+
@string
|
2513
|
+
end
|
2514
|
+
|
2515
|
+
def inspect
|
2516
|
+
if @ptree.nil? then
|
2517
|
+
"Units{#{@string}}"
|
2518
|
+
else
|
2519
|
+
"Units[#{@ptree.inspect}]".gsub(/Units::/, '').gsub(/Node\[/, '[')
|
2520
|
+
end
|
2521
|
+
end
|
2522
|
+
|
2523
|
+
def self::[](string)
|
2524
|
+
new(string)
|
2525
|
+
end
|
2526
|
+
|
2527
|
+
def self::parse(string)
|
2528
|
+
new(string).parse!
|
2529
|
+
end
|
2530
|
+
|
2531
|
+
def eval(x = 0)
|
2532
|
+
r5 = ptree.reduce5
|
2533
|
+
case r = r5.ref
|
2534
|
+
when TimeNode
|
2535
|
+
r.add(x, r5.name)
|
2536
|
+
else
|
2537
|
+
fac = NumberNode.new(x + r.value)
|
2538
|
+
self.class.new(MulNode.new(fac, r5.deref))
|
2539
|
+
end
|
2540
|
+
end
|
2541
|
+
|
2542
|
+
def convert(numeric, to_units)
|
2543
|
+
to_units = Units.new( to_units ) if to_units.is_a?(String)
|
2544
|
+
r5 = dup.ptree.reduce5
|
2545
|
+
case r = r5.ref
|
2546
|
+
when TimeNode
|
2547
|
+
r.add_time(r5.deref.mul(numeric)).div_time(to_units.ptree)
|
2548
|
+
else
|
2549
|
+
shift1 = r.value
|
2550
|
+
numeric = shift1 + numeric if shift1 != 0
|
2551
|
+
fact = r5.divide(tp = to_units.dup.ptree).reduce5.value
|
2552
|
+
numeric *= fact if fact != 1
|
2553
|
+
shift2 = tp.reduce5.ref.value
|
2554
|
+
numeric = numeric - shift2 if shift2 != 0
|
2555
|
+
numeric
|
2556
|
+
end
|
2557
|
+
end
|
2558
|
+
|
2559
|
+
def factor_and_offset(to_units)
|
2560
|
+
# To convert a numeric from self to to_units:
|
2561
|
+
# scale_factor * numeric + add_offset
|
2562
|
+
to_units = Units.new( to_units ) if to_units.is_a?(String)
|
2563
|
+
add_offset = convert(0, to_units)
|
2564
|
+
scale_factor = convert(1, to_units) - add_offset
|
2565
|
+
[ scale_factor, add_offset ]
|
2566
|
+
end
|
2567
|
+
|
2568
|
+
def convert2(val, to_units)
|
2569
|
+
# Like Units#convert, but applicable to any Numeric-like objects.
|
2570
|
+
# Returns the original value if the units are incompatible.
|
2571
|
+
to_units = Units.new( to_units ) if to_units.is_a?(String)
|
2572
|
+
if ( self == to_units )
|
2573
|
+
val
|
2574
|
+
elsif ( self =~ to_units )
|
2575
|
+
if Numeric===val
|
2576
|
+
convert( val, to_units )
|
2577
|
+
else
|
2578
|
+
factor, offset = factor_and_offset( to_units )
|
2579
|
+
val*factor + offset
|
2580
|
+
end
|
2581
|
+
else
|
2582
|
+
unless $VERBOSE.nil?
|
2583
|
+
$stderr.print( "*WARNING*: " +
|
2584
|
+
"incompatible units: #{self.to_s} and #{to_units.to_s}\n")
|
2585
|
+
caller(0).each{|c| $stderr.print "\t* ",c,"\n"}
|
2586
|
+
end
|
2587
|
+
val
|
2588
|
+
end
|
2589
|
+
end
|
2590
|
+
|
2591
|
+
@@reduce = :reduce4
|
2592
|
+
|
2593
|
+
def self::reduce_level
|
2594
|
+
@@reduce.to_s[-1]
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
def self::reduce_level=(n)
|
2598
|
+
@@reduce = case n
|
2599
|
+
when 1 then :reduce1
|
2600
|
+
when 2 then :reduce2
|
2601
|
+
when 3 then :reduce3
|
2602
|
+
when 4 then :reduce4
|
2603
|
+
else :reduce5
|
2604
|
+
end
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
def binop(op, other)
|
2608
|
+
case other
|
2609
|
+
when Numeric
|
2610
|
+
other = NumberNode.new(other)
|
2611
|
+
when Units
|
2612
|
+
other = other.ptree
|
2613
|
+
end
|
2614
|
+
q = self.ptree.send(op, other).send(@@reduce)
|
2615
|
+
Units.new(q)
|
2616
|
+
end
|
2617
|
+
|
2618
|
+
def *(other)
|
2619
|
+
binop(:mul, other)
|
2620
|
+
end
|
2621
|
+
|
2622
|
+
def **(other)
|
2623
|
+
binop(:pow, other)
|
2624
|
+
end
|
2625
|
+
|
2626
|
+
def /(other)
|
2627
|
+
binop(:divide, other)
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
def ^(other)
|
2631
|
+
binop(:shift, other)
|
2632
|
+
end
|
2633
|
+
|
2634
|
+
def ==(other)
|
2635
|
+
case other
|
2636
|
+
when self.class
|
2637
|
+
dup.reduce5.to_s == other.dup.reduce5.to_s
|
2638
|
+
else
|
2639
|
+
false
|
2640
|
+
end
|
2641
|
+
end
|
2642
|
+
|
2643
|
+
#def === (other)
|
2644
|
+
# reduce5.ptree.deref.to_s == other.reduce5.ptree.deref.to_s
|
2645
|
+
#end
|
2646
|
+
|
2647
|
+
alias === ==
|
2648
|
+
|
2649
|
+
#def === (other)
|
2650
|
+
# # returns true if other is within a factor and/or offset of difference.
|
2651
|
+
# case other
|
2652
|
+
# when self.class
|
2653
|
+
# (self/other).reduce5.ptree.children.each do |child|
|
2654
|
+
# return false if !( NumberNode === child )
|
2655
|
+
# end
|
2656
|
+
# true
|
2657
|
+
# else
|
2658
|
+
# false
|
2659
|
+
# end
|
2660
|
+
#end
|
2661
|
+
|
2662
|
+
|
2663
|
+
def =~(other)
|
2664
|
+
case other
|
2665
|
+
when self.class
|
2666
|
+
(self/other).reduce5.ptree.children.each{ |node|
|
2667
|
+
return false unless NumberNode === node
|
2668
|
+
}
|
2669
|
+
true
|
2670
|
+
else
|
2671
|
+
false
|
2672
|
+
end
|
2673
|
+
end
|
2674
|
+
|
2675
|
+
def self::pow_f(a, b)
|
2676
|
+
if Integer === b and b < 0 then
|
2677
|
+
a ** b.to_f
|
2678
|
+
else
|
2679
|
+
a ** b
|
2680
|
+
end
|
2681
|
+
end
|
2682
|
+
...end units.racc/module_eval...
|
2683
|
+
##### State transition tables begin ###
|
2684
|
+
|
2685
|
+
racc_action_table = [
|
2686
|
+
3, 9, 35, 9, 32, 9, 19, 11, 10, 7,
|
2687
|
+
10, 9, 10, 8, 25, 31, 36, 23, 10, 7,
|
2688
|
+
9, 37, 9, 8, 9, 38, nil, 10, 7, 10,
|
2689
|
+
7, 10, 8, 25, 8, 9, 23, nil, 12, 9,
|
2690
|
+
14, 15, 10, 9, 7, 17, 10, 31, 8, 17,
|
2691
|
+
10, 9, nil, 9, nil, nil, nil, 17, 10, 17,
|
2692
|
+
10 ]
|
2693
|
+
|
2694
|
+
racc_action_check = [
|
2695
|
+
0, 0, 25, 31, 18, 23, 11, 1, 0, 0,
|
2696
|
+
31, 14, 23, 0, 23, 31, 33, 23, 14, 14,
|
2697
|
+
8, 34, 15, 14, 12, 35, nil, 8, 8, 15,
|
2698
|
+
15, 12, 8, 12, 15, 17, 12, nil, 4, 5,
|
2699
|
+
4, 4, 17, 28, 4, 5, 5, 17, 4, 28,
|
2700
|
+
28, 13, nil, 26, nil, nil, nil, 13, 13, 26,
|
2701
|
+
26 ]
|
2702
|
+
|
2703
|
+
racc_action_pointer = [
|
2704
|
+
-1, 7, nil, nil, 34, 37, nil, nil, 18, nil,
|
2705
|
+
nil, 6, 22, 49, 9, 20, nil, 33, -11, nil,
|
2706
|
+
nil, nil, nil, 3, nil, -10, 51, nil, 41, nil,
|
2707
|
+
nil, 1, nil, 1, 6, 12, nil, nil, nil ]
|
2708
|
+
|
2709
|
+
racc_action_default = [
|
2710
|
+
-1, -27, -2, -3, -4, -7, -8, -14, -27, -20,
|
2711
|
+
-21, -27, -27, -9, -27, -27, -15, -27, -27, 39,
|
2712
|
+
-5, -6, -18, -27, -22, -24, -10, -12, -11, -13,
|
2713
|
+
-16, -27, -17, -27, -27, -25, -19, -23, -26 ]
|
2714
|
+
|
2715
|
+
racc_goto_table = [
|
2716
|
+
6, 20, 21, 2, 1, nil, 30, nil, 6, 13,
|
2717
|
+
nil, 18, 22, 34, 27, 29, nil, 22, nil, 26,
|
2718
|
+
28, nil, nil, 22, nil, nil, nil, nil, nil, nil,
|
2719
|
+
nil, 22 ]
|
2720
|
+
|
2721
|
+
racc_goto_check = [
|
2722
|
+
7, 4, 5, 2, 1, nil, 4, nil, 7, 6,
|
2723
|
+
nil, 2, 7, 5, 7, 7, nil, 7, nil, 6,
|
2724
|
+
6, nil, nil, 7, nil, nil, nil, nil, nil, nil,
|
2725
|
+
nil, 7 ]
|
2726
|
+
|
2727
|
+
racc_goto_pointer = [
|
2728
|
+
nil, 4, 3, nil, -11, -10, 5, 0, nil ]
|
2729
|
+
|
2730
|
+
racc_goto_default = [
|
2731
|
+
nil, nil, nil, 4, 33, nil, 5, 16, 24 ]
|
2732
|
+
|
2733
|
+
racc_reduce_table = [
|
2734
|
+
0, 0, :racc_error,
|
2735
|
+
0, 17, :_reduce_none,
|
2736
|
+
1, 17, :_reduce_2,
|
2737
|
+
1, 17, :_reduce_3,
|
2738
|
+
1, 18, :_reduce_none,
|
2739
|
+
3, 18, :_reduce_5,
|
2740
|
+
3, 18, :_reduce_6,
|
2741
|
+
1, 19, :_reduce_none,
|
2742
|
+
1, 19, :_reduce_none,
|
2743
|
+
2, 19, :_reduce_9,
|
2744
|
+
3, 19, :_reduce_10,
|
2745
|
+
3, 19, :_reduce_11,
|
2746
|
+
3, 19, :_reduce_12,
|
2747
|
+
3, 19, :_reduce_13,
|
2748
|
+
1, 22, :_reduce_14,
|
2749
|
+
2, 22, :_reduce_15,
|
2750
|
+
3, 22, :_reduce_16,
|
2751
|
+
3, 22, :_reduce_17,
|
2752
|
+
1, 20, :_reduce_none,
|
2753
|
+
3, 20, :_reduce_19,
|
2754
|
+
1, 23, :_reduce_20,
|
2755
|
+
1, 23, :_reduce_21,
|
2756
|
+
1, 21, :_reduce_none,
|
2757
|
+
3, 21, :_reduce_23,
|
2758
|
+
1, 24, :_reduce_24,
|
2759
|
+
2, 24, :_reduce_25,
|
2760
|
+
3, 24, :_reduce_26 ]
|
2761
|
+
|
2762
|
+
racc_reduce_n = 27
|
2763
|
+
|
2764
|
+
racc_shift_n = 39
|
2765
|
+
|
2766
|
+
racc_token_table = {
|
2767
|
+
false => 0,
|
2768
|
+
:error => 1,
|
2769
|
+
:INT => 2,
|
2770
|
+
:ERR => 3,
|
2771
|
+
:SHIFT => 4,
|
2772
|
+
:SPACE => 5,
|
2773
|
+
:MULTIPLY => 6,
|
2774
|
+
:DIVIDE => 7,
|
2775
|
+
:EXPONENT => 8,
|
2776
|
+
:REAL => 9,
|
2777
|
+
:NAME => 10,
|
2778
|
+
:DATE => 11,
|
2779
|
+
:TIME => 12,
|
2780
|
+
:ZONE => 13,
|
2781
|
+
"(" => 14,
|
2782
|
+
")" => 15 }
|
2783
|
+
|
2784
|
+
racc_nt_base = 16
|
2785
|
+
|
2786
|
+
racc_use_result_var = false
|
2787
|
+
|
2788
|
+
Racc_arg = [
|
2789
|
+
racc_action_table,
|
2790
|
+
racc_action_check,
|
2791
|
+
racc_action_default,
|
2792
|
+
racc_action_pointer,
|
2793
|
+
racc_goto_table,
|
2794
|
+
racc_goto_check,
|
2795
|
+
racc_goto_default,
|
2796
|
+
racc_goto_pointer,
|
2797
|
+
racc_nt_base,
|
2798
|
+
racc_reduce_table,
|
2799
|
+
racc_token_table,
|
2800
|
+
racc_shift_n,
|
2801
|
+
racc_reduce_n,
|
2802
|
+
racc_use_result_var ]
|
2803
|
+
|
2804
|
+
Racc_token_to_s_table = [
|
2805
|
+
"$end",
|
2806
|
+
"error",
|
2807
|
+
"INT",
|
2808
|
+
"ERR",
|
2809
|
+
"SHIFT",
|
2810
|
+
"SPACE",
|
2811
|
+
"MULTIPLY",
|
2812
|
+
"DIVIDE",
|
2813
|
+
"EXPONENT",
|
2814
|
+
"REAL",
|
2815
|
+
"NAME",
|
2816
|
+
"DATE",
|
2817
|
+
"TIME",
|
2818
|
+
"ZONE",
|
2819
|
+
"\"(\"",
|
2820
|
+
"\")\"",
|
2821
|
+
"$start",
|
2822
|
+
"unit_spec",
|
2823
|
+
"origin_exp",
|
2824
|
+
"unit_exp",
|
2825
|
+
"value_exp",
|
2826
|
+
"timestamp",
|
2827
|
+
"power_exp",
|
2828
|
+
"number_exp",
|
2829
|
+
"time_exp" ]
|
2830
|
+
|
2831
|
+
Racc_debug_parser = false
|
2832
|
+
|
2833
|
+
##### State transition tables end #####
|
2834
|
+
|
2835
|
+
# reduce 0 omitted
|
2836
|
+
|
2837
|
+
# reduce 1 omitted
|
2838
|
+
|
2839
|
+
module_eval(<<'.,.,', 'units.racc', 9)
|
2840
|
+
def _reduce_2(val, _values)
|
2841
|
+
val[0]
|
2842
|
+
end
|
2843
|
+
.,.,
|
2844
|
+
|
2845
|
+
module_eval(<<'.,.,', 'units.racc', 10)
|
2846
|
+
def _reduce_3(val, _values)
|
2847
|
+
yyerrok
|
2848
|
+
end
|
2849
|
+
.,.,
|
2850
|
+
|
2851
|
+
# reduce 4 omitted
|
2852
|
+
|
2853
|
+
module_eval(<<'.,.,', 'units.racc', 15)
|
2854
|
+
def _reduce_5(val, _values)
|
2855
|
+
val[0].shift(val[2])
|
2856
|
+
end
|
2857
|
+
.,.,
|
2858
|
+
|
2859
|
+
module_eval(<<'.,.,', 'units.racc', 16)
|
2860
|
+
def _reduce_6(val, _values)
|
2861
|
+
val[0].shift(val[2])
|
2862
|
+
end
|
2863
|
+
.,.,
|
2864
|
+
|
2865
|
+
# reduce 7 omitted
|
2866
|
+
|
2867
|
+
# reduce 8 omitted
|
2868
|
+
|
2869
|
+
module_eval(<<'.,.,', 'units.racc', 22)
|
2870
|
+
def _reduce_9(val, _values)
|
2871
|
+
val[0].mul(val[1])
|
2872
|
+
end
|
2873
|
+
.,.,
|
2874
|
+
|
2875
|
+
module_eval(<<'.,.,', 'units.racc', 23)
|
2876
|
+
def _reduce_10(val, _values)
|
2877
|
+
val[0].mul(val[2])
|
2878
|
+
end
|
2879
|
+
.,.,
|
2880
|
+
|
2881
|
+
module_eval(<<'.,.,', 'units.racc', 24)
|
2882
|
+
def _reduce_11(val, _values)
|
2883
|
+
val[0].divide(val[2])
|
2884
|
+
end
|
2885
|
+
.,.,
|
2886
|
+
|
2887
|
+
module_eval(<<'.,.,', 'units.racc', 25)
|
2888
|
+
def _reduce_12(val, _values)
|
2889
|
+
val[0].mul(val[2])
|
2890
|
+
end
|
2891
|
+
.,.,
|
2892
|
+
|
2893
|
+
module_eval(<<'.,.,', 'units.racc', 26)
|
2894
|
+
def _reduce_13(val, _values)
|
2895
|
+
val[0].divide(val[2])
|
2896
|
+
end
|
2897
|
+
.,.,
|
2898
|
+
|
2899
|
+
module_eval(<<'.,.,', 'units.racc', 30)
|
2900
|
+
def _reduce_14(val, _values)
|
2901
|
+
NameNode.new(val[0])
|
2902
|
+
end
|
2903
|
+
.,.,
|
2904
|
+
|
2905
|
+
module_eval(<<'.,.,', 'units.racc', 31)
|
2906
|
+
def _reduce_15(val, _values)
|
2907
|
+
val[0].pow(val[1])
|
2908
|
+
end
|
2909
|
+
.,.,
|
2910
|
+
|
2911
|
+
module_eval(<<'.,.,', 'units.racc', 32)
|
2912
|
+
def _reduce_16(val, _values)
|
2913
|
+
val[0].pow(val[2])
|
2914
|
+
end
|
2915
|
+
.,.,
|
2916
|
+
|
2917
|
+
module_eval(<<'.,.,', 'units.racc', 33)
|
2918
|
+
def _reduce_17(val, _values)
|
2919
|
+
val[1]
|
2920
|
+
end
|
2921
|
+
.,.,
|
2922
|
+
|
2923
|
+
# reduce 18 omitted
|
2924
|
+
|
2925
|
+
module_eval(<<'.,.,', 'units.racc', 38)
|
2926
|
+
def _reduce_19(val, _values)
|
2927
|
+
val[1]
|
2928
|
+
end
|
2929
|
+
.,.,
|
2930
|
+
|
2931
|
+
module_eval(<<'.,.,', 'units.racc', 42)
|
2932
|
+
def _reduce_20(val, _values)
|
2933
|
+
NumberNode.new(val[0])
|
2934
|
+
end
|
2935
|
+
.,.,
|
2936
|
+
|
2937
|
+
module_eval(<<'.,.,', 'units.racc', 43)
|
2938
|
+
def _reduce_21(val, _values)
|
2939
|
+
NumberNode.new(val[0])
|
2940
|
+
end
|
2941
|
+
.,.,
|
2942
|
+
|
2943
|
+
# reduce 22 omitted
|
2944
|
+
|
2945
|
+
module_eval(<<'.,.,', 'units.racc', 48)
|
2946
|
+
def _reduce_23(val, _values)
|
2947
|
+
val[1]
|
2948
|
+
end
|
2949
|
+
.,.,
|
2950
|
+
|
2951
|
+
module_eval(<<'.,.,', 'units.racc', 52)
|
2952
|
+
def _reduce_24(val, _values)
|
2953
|
+
TimeNode.new(val[0], 0.0, 0)
|
2954
|
+
end
|
2955
|
+
.,.,
|
2956
|
+
|
2957
|
+
module_eval(<<'.,.,', 'units.racc', 53)
|
2958
|
+
def _reduce_25(val, _values)
|
2959
|
+
TimeNode.new(val[0], val[1], 0)
|
2960
|
+
end
|
2961
|
+
.,.,
|
2962
|
+
|
2963
|
+
module_eval(<<'.,.,', 'units.racc', 54)
|
2964
|
+
def _reduce_26(val, _values)
|
2965
|
+
TimeNode.new(val[0], val[1], val[2])
|
2966
|
+
end
|
2967
|
+
.,.,
|
2968
|
+
|
2969
|
+
def _reduce_none(val, _values)
|
2970
|
+
val[0]
|
2971
|
+
end
|
2972
|
+
|
2973
|
+
end # class Units
|
2974
|
+
end # module NumRu
|
2975
|
+
|
2976
|
+
####################
|
2977
|
+
if $0 == __FILE__
|
2978
|
+
include NumRu
|
2979
|
+
|
2980
|
+
def assert(test, seikai)
|
2981
|
+
raise "#{test.inspect} != #{seikai.inspect}" if test != seikai
|
2982
|
+
puts "ok #{seikai.inspect}"
|
2983
|
+
end
|
2984
|
+
|
2985
|
+
puts "=== reduce1 ==="
|
2986
|
+
|
2987
|
+
assert Units.new('').reduce1.to_s, "1"
|
2988
|
+
assert Units.new('m').reduce1.to_s, "m"
|
2989
|
+
assert Units.new('3').reduce1.to_s, "3"
|
2990
|
+
assert Units.new('3.14').reduce1.to_s, "3.14"
|
2991
|
+
assert Units.new('m2').reduce1.to_s, "m2"
|
2992
|
+
assert Units.new('m.s').reduce1.to_s, "m.s"
|
2993
|
+
assert Units.new('m/s').reduce1.to_s, "m.s-1"
|
2994
|
+
assert Units.new('kg.m/s2').reduce1.to_s, "kg.m.(s2)-1"
|
2995
|
+
assert Units.new('s @ 2003-11-29').reduce1.to_s,
|
2996
|
+
"(s @ 2003-11-29T00:00:00.00 +00:00)"
|
2997
|
+
assert Units.new('s @ 2003-11-29T11:24').reduce1.to_s,
|
2998
|
+
"(s @ 2003-11-29T11:24:00.00 +00:00)"
|
2999
|
+
assert Units.new('s @ 2003-11-29T11:24:11 -09:00').reduce1.to_s,
|
3000
|
+
"(s @ 2003-11-29T11:24:11.00 -09:00)"
|
3001
|
+
|
3002
|
+
assert Units.new('100').reduce1.to_s, "100"
|
3003
|
+
assert Units.new('(10)^2').reduce1.to_s, "(10)2"
|
3004
|
+
assert Units.new('(10)^2/100').reduce1.to_s, "(10)2.(100)-1"
|
3005
|
+
|
3006
|
+
puts "=== reduce2 ==="
|
3007
|
+
|
3008
|
+
assert Units.new('s @ 2003-11-29').reduce2.to_s,
|
3009
|
+
"(s @ 2003-11-29T00:00:00.00 +00:00)"
|
3010
|
+
assert Units.new('m/(s @ 2003-11-29)').reduce2.to_s, "m.s-1"
|
3011
|
+
assert Units.new('m/((K @ 273.15) (s from 2003-11-29))').reduce2.to_s, "m.(K.s)-1"
|
3012
|
+
|
3013
|
+
assert Units.new('(10)^2/100').reduce2.to_s, "(10)2.(100)-1"
|
3014
|
+
|
3015
|
+
puts "=== reduce3 ==="
|
3016
|
+
|
3017
|
+
assert Units::MultiNode.new(Units::NameNode.new('a'), \
|
3018
|
+
Units::NumberNode.new(1), \
|
3019
|
+
Units::NameNode.new('b')).to_s, 'a.1 b'
|
3020
|
+
|
3021
|
+
assert Units.new('kg').reduce3.inspect, "Units[Name[kg]]"
|
3022
|
+
assert Units.new('kg.m').reduce3.inspect, "Units[Multi[Name[kg], Name[m]]]"
|
3023
|
+
assert Units.new('kg.m.s').reduce3.inspect,
|
3024
|
+
"Units[Multi[Name[kg], Name[m], Name[s]]]"
|
3025
|
+
|
3026
|
+
assert Units.new('(m.s)^2').reduce3.inspect,
|
3027
|
+
"Units[Multi[Pow[Name[m], Number[2]], Pow[Name[s], Number[2]]]]"
|
3028
|
+
assert Units.new('K @ 273.15').reduce3.inspect,
|
3029
|
+
"Units[Shift[Name[K], Number[273.15]]]"
|
3030
|
+
assert Units.new('((a.b)^2)^2').reduce3.inspect,
|
3031
|
+
"Units[Multi[Pow[Name[a], Number[4]], Pow[Name[b], Number[4]]]]"
|
3032
|
+
assert Units.new('((a.b)^2 c4 d)^2').reduce3.inspect,
|
3033
|
+
"Units[Multi[Pow[Name[a], Number[4]], Pow[Name[b], Number[4]], Pow[Name[c], Number[8]], Pow[Name[d], Number[2]]]]"
|
3034
|
+
assert Units.new('((a.b)^2 c4 d)^2').reduce3.to_s,
|
3035
|
+
"a4 b4 c8 d2"
|
3036
|
+
assert Units.new('((a.b)^2 a4 b)^2').reduce3.to_s,
|
3037
|
+
"a4 b4 a8 b2"
|
3038
|
+
|
3039
|
+
assert Units.new('s @ 2003-11-29').reduce3.to_s,
|
3040
|
+
"(s @ 2003-11-29T00:00:00.00 +00:00)"
|
3041
|
+
assert Units.new('m/(s @ 2003-11-29)').reduce3.to_s, "m.s-1"
|
3042
|
+
assert Units.new('m/((K @ 273.15) (s from 2003-11-29))').reduce3.to_s, "m.K-1 s-1"
|
3043
|
+
|
3044
|
+
assert Units.new('(10)^2/100').reduce3.to_s, "(10)2.(100)-1"
|
3045
|
+
|
3046
|
+
puts "=== reduce4 ==="
|
3047
|
+
|
3048
|
+
assert Units.new('((a.b)^2 a4 b @ now)^2 @ 273.15').reduce4.to_s,
|
3049
|
+
"(a12 b6 @ 273.15)"
|
3050
|
+
|
3051
|
+
assert Units.new('km2').reduce4.to_s, "km2"
|
3052
|
+
assert Units.new('hours.hour').reduce4.to_s, "hour2"
|
3053
|
+
assert Units.new('(10)^2').reduce4.to_s, "100"
|
3054
|
+
assert Units.new('100/10').reduce4.to_s, "10"
|
3055
|
+
assert Units.new('(10)^2/100').reduce4.to_s, "1"
|
3056
|
+
|
3057
|
+
puts "=== reduce5 ==="
|
3058
|
+
|
3059
|
+
assert Units.new('km2').reduce5.to_s, "1000000 m2"
|
3060
|
+
assert Units.new('(10)^2/100').reduce5.to_s, "1"
|
3061
|
+
|
3062
|
+
assert Units.new('hPa').reduce5.to_s, "100 kg.m-1 s-2"
|
3063
|
+
assert Units.new('mb').reduce5.to_s, "100 kg.m-1 s-2"
|
3064
|
+
|
3065
|
+
assert Units.new('hPa/mb').reduce5.to_s, "1"
|
3066
|
+
|
3067
|
+
assert Units.new('(K @ 273.15)@ 10').reduce5.to_s, "(K @ 283.15)"
|
3068
|
+
|
3069
|
+
puts "=== APPLICATIONS ==="
|
3070
|
+
|
3071
|
+
assert Units.new('km @ 2').convert(3, Units.new('m @ 100')), 4900
|
3072
|
+
assert Units.new('degree_F').convert(32, Units.new('K')).to_s, ((32+459.67)*(1.8**-1)).to_s
|
3073
|
+
|
3074
|
+
u1 = Units.new('m/s')
|
3075
|
+
u2 = Units.new('mm/s')
|
3076
|
+
assert((u1/u2).to_s, "m.mm-1")
|
3077
|
+
assert((u1*u2).to_s, "m.mm.s-2")
|
3078
|
+
|
3079
|
+
u1 = Units.new('years since 1999-01-01 00:00').reduce4
|
3080
|
+
u2 = Units.new('hours since 2001-01-01 00:00').reduce4
|
3081
|
+
assert u1.convert(3, u2), 24 * 365
|
3082
|
+
u3 = Units.new('months since 2001-01-01 00:00').reduce4
|
3083
|
+
assert u1.convert(3, u3), 12.0
|
3084
|
+
|
3085
|
+
Units.reduce_level = 3
|
3086
|
+
assert((Units.new('hours') ** 2).to_s, "hours2")
|
3087
|
+
Units.reduce_level = 4
|
3088
|
+
assert((Units.new('hours') ** 2).to_s, "hour2")
|
3089
|
+
Units.reduce_level = 5
|
3090
|
+
assert((Units.new('hours') ** 2).to_s, "12960000 s2")
|
3091
|
+
|
3092
|
+
assert(Units.new('day') =~ Units.new('s since 2002-01-01'), true)
|
3093
|
+
assert(Units.new('m') =~ Units.new('1'), false)
|
3094
|
+
|
3095
|
+
un1 = Units['day since 2000-01-01']
|
3096
|
+
un2 = Units['s since 2000-01-01']
|
3097
|
+
assert(un1.convert(0, un2), 0.0)
|
3098
|
+
assert(un1.convert(1, un2), 86400.0)
|
3099
|
+
end
|