suve

awful: function: tan

Declaration

float :tan ( float $RADIANS )
float :tan ( int $DEGREES )

Summary

Returns the tangent of given angle.

Example

# :tan example. Results should be equal.
!const =PI f3.1415926535
:writeln :tan :mul f0.25 =PI   # Pi/4 
:writeln :tan i45              # 45 degrees

wikistrona zmodyfikowana 2014/0601/2317