E: Difference between revisions

From PenguinMod Wiki
E
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Included the text again, just in case blocks didn't display.)
 
Line 10: Line 10:


==Workaround==
==Workaround==
This block can be worked around with the following blocks, or using anything else that reports the value of e. If this value is used multiple times in the code, a variable can be used.
This block can be worked around by using 1 as the input for the [[() of () (Operators)|() of ()]] operators block, the [[constant ()]] block with e selected, or using anything else that reports the value of e. If this value is used multiple times in the code, a variable can be used.
* [[() of () (Operators Block)|<sb>[e ^ v] of (1)::operators</sb>]]
* [[() of () (Operators)|<sb>[e ^ v] of (1)::operators</sb>]]
* [[()|<sb>([2.718281828459045]::operators)</sb>]]
* [[()|<sb>([2.718281828459045]::operators)</sb>]]
* [[constant ()|<sb>(constant [e v]::#7ac94f)</sb>]]
* [[constant ()|<sb>(constant [e v]::#7ac94f)</sb>]]

Latest revision as of 00:46, 1 July 2024

e
e::operators reporter
Caption
Block Type Reporter Block
Category / Extension Operators
Status Who tf uses status

The e block is a reporter block that reports the value of Euler's constant (2.718281828459045). To get the block, one must add the "Operators Expansion" extension.

However, when you do say (e::operators)or think (e::operators) it shortens into 2.72

Workaround

This block can be worked around by using 1 as the input for the () of () operators block, the constant () block with e selected, or using anything else that reports the value of e. If this value is used multiple times in the code, a variable can be used.