Reference for Wiring version 0024+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name

HALF_PI (1.57079...)

Description HALF_PI is a mathematical constant with the value 1.57079632679489661923. It is half the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions sin() and cos().
Syntax
HALF_PI
Usage Application
Related PI
TWO_PI
Updated on December 03, 2009 07:01:41pm PST

Creative Commons License