User Guide
444 Chapter 2: ActionScript Language Reference
Math.SQRT1_2
Availability
Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using
approximations and might not be as accurate as the non-emulated math functions that Flash
Player 5 supports.
Usage
Math.SQRT1_2:Number
Description
Constant; a mathematical constant for the square root of one-half, with an approximate value of
0.7071067811865476.
Example
This example traces the value of Math.SQRT1_2.
trace(Math.SQRT1_2);
// Output: 0.707106781186548