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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is ln() function not declared in math library

Status
Not open for further replies.

satellite03

IS-IT--Management
Dec 26, 2003
248
0
0
IN
is ln() function not declared in math library.

why this does not work ?

Code:
#include<stdio.h>
#include<math.h>
int main()
{

double x = .3462;
double y = ln(x);
printf("%f",y);

}

this does not work. how can i make it to work ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top