Module:ET: Difference between revisions
Reverted to previous state |
CompactStar (talk | contribs) 6 decimal digits should not crash it |
||
Line 5: | Line 5: | ||
local common_suffix = { | local common_suffix = { | ||
['3/2'] = 'f', | ['3/2'] = 'f', | ||
[' | ['1618034/1000000'] = 'ϕ', | ||
['2'] = 'o', | ['2'] = 'o', | ||
['2/1'] = 'o', | ['2/1'] = 'o', | ||
['3'] = 't', | ['3'] = 't', | ||
['3/1'] = 't', | ['3/1'] = 't', | ||
[' | ['2718282/1000000'] = 'n', | ||
[' | ['3141593/1000000'] = 'π' | ||
} | } | ||
local common_ratio = { | local common_ratio = { | ||
['f'] = rat.new(3, 2), | ['f'] = rat.new(3, 2), | ||
['ϕ'] = rat.new( | ['ϕ'] = rat.new(1618034, 1000000), | ||
['o'] = 2, | ['o'] = 2, | ||
['t'] = 3, | ['t'] = 3, | ||
['n'] = rat.new( | ['n'] = rat.new(2718282, 1000000), | ||
['π'] = rat.new( | ['π'] = rat.new(3141593, 1000000) | ||
} | } | ||