HP-UX Floating-Point Guide
Appendix A 201
The C Math Library
C Math Library Tables
float Versions of Math Functions
float acosdf(float x); Returns arccosine of x in degrees.
float acosf(float x); Returns arccosine of x in radians.
float asindf(float x); Returns arcsine of x in degrees.
float asinf(float x); Returns arcsine of x in radians.
float atandf(float x); Returns arctangent of x in degrees.
float atanf(float x); Returns arctangent of x in radians.
float atan2df(float y, float x); Returns arctangent of y/x in degrees.
float atan2f(float y, float x); Returns arctangent of y/x in radians.
float cbrtf(float x); Returns cube root of x.
float cosdf(float x); Returns cosine of x (x in degrees).
float cosf(float x); Returns cosine of x (x in radians).
(Millicode version available)
float coshf(float x); Returns hyperbolic cosine of x.
float expf(float x); Returns exponential function of x.
float fabsf(float x); Returns absolute value of x.
float fmodf(float x, float y); Returns floating-point remainder (f) of the
division of x by y, where f has the same
sign as x, such that x = iy + f for some
integer i, and |f| < |y|.
float logf(float x); Returns natural logarithm of x. (Millicode
version available)
float log10f(float x); Returns base 10 logarithm of x.
float log2f(float x); Returns base 2 logarithm of x.
float powf(float x, float y); Returns x to the power y.
float sindf(float x); Returns sine of x (x in degrees).
Function What It Does