Constant (): Difference between revisions

Constant ()
Content deleted Content added
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 23:
|}
==Workaround==
This block can be worked around by using exact values for each constant. e can be replicated by using the existing [[e]] reporter block, or by using the [[() of () (Operators)|() of ()]] operators block with e^ selected and 1 as the number. π can be replicated by using the [[Π|π]] reporter block. τ can be replicated by multiplying the result of the π option by 2:. Variables can be used if the values are used in multiple places in the code.
<scratchblocks>
//e
Line 30:
//pi
π::operators reporter
 
//tau
((π::operators) * (2))
 
//phi
(((1) + ([sqrt v] of (5))) / (2)
[1.618034]::operators reporter
</scratchblocks>
{{DISPLAYTITLE:constant ()}}