Miscellaneous functions
Syntax
#include <AB_Math.bas>
fix( x) ' return integer value of the SINGLE x
floor( x ) ' return integer <= x
ceil( x ) ' return integer >= x
powi(x, p) ' returns x raised to INTEGER p power
round( x ) ' returns integer value closest to x
Description
Part of a user contributed
library that computes the standard trigonometric
functions.
Example
#include
<AB_Math.bas>
for i= 0 to 10
print i,powi(2.345, i)
next i
\
See also
\