Documentation Index
Fetch the complete documentation index at: https://docs.magickml.com/llms.txt
Use this file to discover all available pages before exploring further.
π (math/pi/float)
The π node (math/pi/float) provides the mathematical constant pi (π) as a floating-point number. Pi is a fundamental constant in mathematics, representing the ratio of a circle’s circumference to its diameter. It is an irrational number, meaning it has an infinite number of decimal places without any repeating pattern.Inputs
This node has no inputs.Outputs
result(float): The value of pi as a floating-point number.
Configuration
This node has no configuration options.Usage
To use the π node in your spell:- Add the π node to your graph.
- Connect the
resultoutput to the input of another node that expects a floating-point number.
Example
Here’s an example of how you might use the π node in a spell:Best Practices
- Use the π node whenever you need the value of pi in your calculations.
- Keep in mind that the π node outputs a floating-point approximation of pi, not the exact value (which would require infinite precision).
