Table of Contents
ATN
PET VIC-20 C64 C16 Plus/4 C128 X16
(Defined in TRIGONO.BAS)
The ATN()
function returns the arctangent of the argument. It is the inverse function of TAN.
Function header
DECLARE FUNCTION ATN AS FLOAT (x AS FLOAT) SHARED STATIC
Warning
You must include the TRIGONO.BAS library in your program to be able to access this function.
Example
INCLUDE "trigono.bas" PRINT ATN(0.5) : REM will output 0.464088