Talk:Relative errors of small EDOs: Difference between revisions

No edit summary
Xenwolf (talk | contribs)
m permille vs. percent: enabled syntax highlight for code box
Line 146: Line 146:
BTW: the [[Python]] script to produce the two tables above (except for the percent and permille symbols) is as follows:
BTW: the [[Python]] script to produce the two tables above (except for the percent and permille symbols) is as follows:


<pre>
<syntaxhighlight lang="python">
import math
import math


Line 176: Line 176:
edo_primes(9, 15, primes[1:6], (3, 'permille'))
edo_primes(9, 15, primes[1:6], (3, 'permille'))
edo_primes(9, 15, primes[1:6], (2, 'percent'))
edo_primes(9, 15, primes[1:6], (2, 'percent'))
</pre>
</syntaxhighlight>


--[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 20:48, 15 May 2020 (UTC)
--[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 20:48, 15 May 2020 (UTC)
Return to "Relative errors of small EDOs" page.