FloraC
Joined 30 March 2020
→On mitigating SNS: now "S(A)NS" |
→Minor update to prime interval table: new section |
||
| Line 156: | Line 156: | ||
One simple measure (to address factor #4) would be to add an obvious link in via <code>comment=</code> of [[template:todo]] (that therefore has to be visible, <code>inline=1</code>) on pages that lack clarity. The link should lead to a dedicated talk section further explaining the issue. <br> | One simple measure (to address factor #4) would be to add an obvious link in via <code>comment=</code> of [[template:todo]] (that therefore has to be visible, <code>inline=1</code>) on pages that lack clarity. The link should lead to a dedicated talk section further explaining the issue. <br> | ||
What do you think? --[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 07:39, 3 June 2021 (UTC) | What do you think? --[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 07:39, 3 June 2021 (UTC) | ||
== Minor update to prime interval table == | |||
I changed the <code>prec</code> parameter in a way that calculates the number of decimals for the given EDO value. I tried to keep the formula simple but it looks a bit unprofessional: | |||
<syntaxhighlight lang="lua"> | |||
local function prec_by_edo(edo) | |||
return math.floor(math.log(edo*1.9)/math.log(10)) | |||
end | |||
</syntaxhighlight> | |||
This way, we have increments at 6, 53, 527, 5264, 52632, etc. BTW: the error values get unreadable for higher EDOs (see [[103169edo]] and [[Talk:103169edo #Phone numbers]]). After changing [[Module:Primes in edo]] and [[Template:Primes in edo]], I removed redundant template arguments, mostly <code><nowiki>|prec=2</nowiki></code>. | |||
I'm planning to add [[fifthspan]] information as well, but this will (probably) not be enabled by default. I also wish to make two rows out of the current last one to get rid of the parentheses. What do you think? --[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 12:50, 11 July 2021 (UTC) | |||