Basic30 Language Reference
tan Function

Return the tangent of a 32 bit floating point value in radians.

Function tan(x As Single) As Single

Requirements

  1. This function requires the link time library "libm.a".  It is a free download from the Microchip website.

Examples

Dim a,x as Single

x=tan(a)
 

Also See: atan