Basic30 Language Reference
sin Function

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

Function sin(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=sin(a)
 

Also See: asin