tau top-level constant

double const tau

A simpler constant to use for angles than 2pi (well it is 2pi).

For example: tau/2 is 180 degrees, or pi radians.

Implementation

const tau = pi * 2;