Mikroc, Asin, Atan – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 294: Atan2, Ceil

Advertising
background image

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

286

MikroElektronika: Development tools - Books - Compilers

page

Prototype

double

asin(double x);

Description

Function returns the arc sine of parameter

x

; that is, the value whose sine is

x

. Input

parameter

x

must be between -1 and 1 (inclusive). The return value is in radians,

between -pi/2 and pi/2 (inclusive).

asin

Prototype

double

atan(double x);

Description

Function computes the arc tangent of parameter

x

; that is, the value whose tangent is

x

.

The return value is in radians, between -pi/2 and pi/2 (inclusive).

atan

Prototype

double

atan2(double x);

Description

This is the two argument arc tangent function. It is similar to computing the arc tangent
of y/x, except that the signs of both arguments are used to determine the quadrant of
the result, and

x

is permitted to be zero. The return value is in radians, between -pi and

pi (inclusive).

atan2

Prototype

double

ceil(double num);

Description

Function returns value of parameter

num

rounded up to the next whole number.

ceil

Advertising
This manual is related to the following products: