Defines many trigonometric functions not defined by the core Perl, plus the constant pi and some additional functions for converting angles. For example:

use Math::Trig; $x = tan(0.9); $halfpi = pi/2;

The following functions are defined. A slash (/) between two functions means the values are aliases.

Copyright © 2002 O'Reilly & Associates. All rights reserved.