[ANSYS, Inc. Logo] return to home search
next up previous contents index

A.13.2 Miscellaneous Mathematical Functions

The C functions shown on the left below correspond to the mathematical functions shown on the right.


double sqrt (double x); $\sqrt{x}$
double pow(double x, double y); $x^y$
double exp (double x); e $^x$
double log (double x); ln $(x)$
double log10 (double x); log $_{10}(x)$
double fabs (double x); $\mid x \mid$
double ceil (double x); smallest integer not less than $x$
double floor (double x); largest integer not greater than $x$


next up previous contents index Previous: A.13.1 Trigonometric Functions
Up: A.13 C Library Functions
Next: A.13.3 Standard I/O Functions
Release 12.0 © ANSYS, Inc. 2009-01-14