Constant (): Difference between revisions

From PenguinMod Wiki
Constant ()
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{Needs Images}}
{{Needs Images}}
{{Infobox Block
{{Infobox Block
|block_img =
|block_img = <gallery>
ConstantBlock.png|Block
ConstantWorkarounds.png|Workaround
</gallery>
|block_type = Reporter Block
|block_type = Reporter Block
|category = [[Extra Mathematics]]
|category = [[Extra Mathematics]]

Revision as of 16:24, 23 March 2024

Images needed

This article needs images or better quality images. You can help PenguinMod Wiki by adding the images or uploading them.

constant ()
...
[[File:|200px]]
Caption
Block Type Reporter Block
Category / Extension Extra Mathematics
Status Who tf uses status

The constant () block is a reporter block in the Extra Mathematics extension that reports the value of various constants.

Dropdown

Constant Notes Default
π Reports pi (the ratio of a circle's circumference to it's diameter) Yes
τ Reports tau (2 times pi) No
ϕ Reports phi (the golden ratio, or (1 + sqrt(5))/2)
e Reports euler's number (e)

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 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.