Instructions
297 C-Control Pro IDE
© 2013 Conrad Electronic
5.16.1.17
tan
Floating Point Functions
Syntax
float tan(float val);
Sub tan(val As Single) As Single
Description
The mathematical tangent is calculated.
Parameter
val input angle expressed in radians
Return Parameter
tangent of the input value
5.16.2 Integer
Mathematical Integer Functions.
5.16.2.1 rand
Integer Functions
Syntax
int rand(void);
Sub rand() As Integer
Description
This function returns a pseudo random number between 0 and 32768. Use srand() with different seeds for
varying sequences of numbers.
Return Parameter
Pseudo Random Number