GOLDENRATIO

Synopsis
GOLDENRATIO
Description

Outputs a close approximation to the golden ratio, which is (1 + SQRT 5)/2.

The golden ratio expresses the relationship when the sum of two quantities is to the larger quantity as the larger quantity is to the smaller quantity. That is:

GOLDENRATIO = ((A + B) / A) = (A / B)

Example
SHOW GOLDENRATIO
1.61803398874989

SourceForge.net Logo