Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hi all ;) does anyone knows, how t

Status
Not open for further replies.

netcomander

Programmer
Jul 20, 2001
68
DE
hi all ;)
does anyone knows, how to display
the functionlist for the gnu c library

I know I can type [man 3 intro]
this should work, but it doesn't

sure I can type man printf to get an
explanation of this function, but what
I need is to display a list of functions
to be found (for example) under math.h

does anybody know how I could achieve
that

I would be glad

greetings markus
 
I don't know how to display a function list like you are asking but here is a list of the commonly used functions in math.h:
Code:
double acos(double x) -- Compute arc cosine of x. 
double asin(double x) -- Compute arc sine of x. 
double atan(double x) -- Compute arc tangent of x. 
double atan2(double y, double x) -- Compute arc tangent of y/x. 
double ceil(double x) -- Get smallest integral value that exceeds x. 
double cos(double x) -- Compute cosine of angle in radians. 
double cosh(double x) -- Compute the hyperbolic cosine of x. 
div_t div(int number, int denom) -- Divide one integer by another. 
double exp(double x -- Compute exponential of x 
double fabs (double x ) -- Compute absolute value of x. 
double floor(double x) -- Get largest integral value less than x. 
double fmod(double x, double y) -- Divide x by y with integral quotient and return remainder. 
double frexp(double x, int *expptr) -- Breaks down x into mantissa and exponent of no. 
long labs(long n) -- Find absolute value of long integer n. 
double ldexp(double x, int exp) -- Reconstructs x out of mantissa and exponent of two. 
ldiv_t ldiv(long number, long denom) -- Divide one long integer by another. 
double log(double x) -- Compute log(x). 
double log10 (double x ) -- Compute log to the base 10 of x. 
double modf(double x, double *intptr) -- Breaks x into fractional and integer parts. 
double pow (double x, double y) -- Compute x raised to the power y. 
double sin(double x) -- Compute sine of angle in radians. 
double sinh(double x) - Compute the hyperbolic sine of x. 
double sqrt(double x) -- Compute the square root of x. 
void srand(unsigned seed) -- Set a new seed for the random number generator (rand). 
double tan(double x) -- Compute tangent of angle in radians. 
double tanh(double x) -- Compute the hyperbolic tangent of x.
Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top