SQRT1_2 (Math.SQRT1_2 property)

public static SQRT1_2 : Number

A mathematical constant for the square root of one-half, with an approximate value of 0.7071067811865476.

Availability: ActionScript 1.0; Flash Lite 2.0 - 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.

Example

This example traces the value of Math.SQRT1_2.

trace(Math.SQRT1_2);
// Output: 0.707106781186548