Halo.
I am using isinf() & isnan() in my code, and i get an error
error LNK2001: unresolved external symbol "int __cdecl isnan(double)"
(?isnan@@YAHN@Z)
my code is the implementation of LambertW function
#include <math.h>
#include <cmath>
#include <stdio.h>
#include <iostream>
using namespace std;
double LambertW(const double z) {
.....
....
...
if (z<-em1 || isinf(z) || isnan(z)) {
fprintf(stderr,"LambertW: bad argument %g, exiting.\n",z); exit(1);
}
...
...
}
Could anyone let me know, how to resolve this??
I am working on Visual C++ 2005 Express edition
Thank you,
priya