Basic30 Language Reference
coshf Function

Return the hyperbolic cosine of a 32 bit floating point value.

Function coshf(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.
  2. The flie <libs/math.bas> must be included in the Basic source to use this function.

Examples

#include <libs/math.bas>

Dim a,x as Single

x=coshf(a)