NAME

Zuzu::Module::Math - std/math bindings for ZuzuScript.

DESCRIPTION

Implements the std/math module and exports:

  • Math class with static mathematical helpers

  • Ï€ constant aliasing pi

The Math class provides trigonometric, hyperbolic, logarithmic, and utility functions such as pow, min, max, sum, clamp, hypot, deg2rad, and rad2deg. It also provides radix conversion helpers hex2dec, hex2oct, hex2bin, dec2hex, dec2oct, dec2bin, oct2hex, oct2dec, oct2bin, bin2hex, bin2dec, and bin2oct. Hexadecimal parsing accepts an optional 0x or 0X prefix.

COPYRIGHT AND LICENCE

Zuzu::Module::Math is copyright Toby Inkster.

It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 272:

Non-ASCII character seen before =encoding in 'C<Ï€>'. Assuming CP1252