-
Enhancement
-
Resolution: Won't Fix
-
P4
-
5.0
-
x86
-
windows_2000
A DESCRIPTION OF THE REQUEST :
It is often desirable to use the Golden Ratio in programming, e.g. for defining the default size of windows.
More information about the Golden Ratio can be found at:
http://en.wikipedia.org/wiki/Golden_ratio
Please add a constant 'java.lang.Math.GOLDEN_RATIO' to support standardised use of this number.
JUSTIFICATION :
The Golden Ratio is a very useful number for many things.
While its use may not be as widespread as PI and E, it would still be nice to have a standard value for the number in the API.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Double-precision contant 'GOLDEN_RATIO' in class java.lang.Math
###@###.### 2005-03-15 23:42:30 GMT
It is often desirable to use the Golden Ratio in programming, e.g. for defining the default size of windows.
More information about the Golden Ratio can be found at:
http://en.wikipedia.org/wiki/Golden_ratio
Please add a constant 'java.lang.Math.GOLDEN_RATIO' to support standardised use of this number.
JUSTIFICATION :
The Golden Ratio is a very useful number for many things.
While its use may not be as widespread as PI and E, it would still be nice to have a standard value for the number in the API.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Double-precision contant 'GOLDEN_RATIO' in class java.lang.Math
###@###.### 2005-03-15 23:42:30 GMT