$Sin: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
EllieWiccan (talk | contribs) (Automatically generated page update) |
||
Line 13: | Line 13: | ||
==Syntax== | ==Syntax== | ||
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Sin(</span><span class="term">x</span><span class="literal">)</span> </p> | <p class="syntax"><span class="term">%num</span><span class="literal"> = $Sin(</span><span class="term">x</span><span class="literal">)</span> </p> | ||
Revision as of 19:33, 23 July 2015
Sine
Note: Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for the $Sin function.
The $Sin function returns the sine of an argument that is given in radians. If the magnitude of the argument exceeds 1015 radians, an error message is printed and a 0 is returned.
Syntax
%num = $Sin(x)