JavaScript SQRT1_2Property
Example
Return the square root of 1/2:
Math.SQRT1_2;
Output result:
0.7071067811865476
Try it yourself »
Definition and Usage
The SQRT1_2 property returns the reciprocal of the square root of 2. This value is approximately 0.7071067811865476.
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the SQRT1_2 property.
Syntax
Math.SQRT1_2
Technical Details
| Return Value: | A number, returns the square root of 1/2 |
|---|---|
| JavaScript Version: | 1.0 |
Other Extensions
JavaScript Math Object