3 Main strictmath package.
5 Strictmath is a pure common lisp implementation of Java's StrictMath class, for only those functions as needed by CLNL to match NetLogo's output, and only for doubles. It should provide portable results for those functions that it supports.
9 * **function [cos](#function-cos)** - _cos_ returns the cos of the angle _x_.
10 * **function [sin](#function-sin)** - _sin_ returns the sin of the angle _x_.
11 * **function [to-radians](#function-to-radians)** - _to-radians_ returns the radians equivalent of the angle passed in, in degrees.
17 **cos** _x_ => _result_
19 #### Arguments and Values:
21 _x_---A double representing the angle in radians bounded from [0, 2pi]
22 _result_---A double representing the cos of the angle
26 _cos_ returns the cos of the angle _x_.
32 **sin** _x_ => _result_
34 #### Arguments and Values:
36 _x_---A double representing the angle in radians bounded from [0, 2pi]
37 _result_---A double representing the sin of the angle
41 _sin_ returns the sin of the angle _x_.
43 ## Function **TO-RADIANS**
47 **to-radians** _deg_ => _rad_
49 #### Arguments and Values:
51 _deg_---A double representing the angle in degrees
52 _rad_---A double representing the angle in radians
56 _to-radians_ returns the radians equivalent of the angle passed in, in degrees.