How can i check if there was any overflow or underflow when using strtod..
i googled about it and found that some HUGE_VAL is set accordingly...
but when i used
on compilation, i got an error: error C2065: 'HUGE_VAL' : undeclared identifierCode:double temp = atof(yytext); if (temp == HUGE_VAL)
i am right now compiling the code on a windows machine, but my code will be finally sun on both windows and linux..