c++ - log10l bug
- "David Grimes" <dgrimes friberg.us> Nov 27 2003
#include <math.h>
#include <stdio.h>
int main(){
printf("log10l(%Lg) = %Lg\n", 3.72308e-393l, log10l(3.72308e-393l));
return 0;
}
The output of the above code compiled with DMC v8.37 is:
log10l(3.72308e-393) = -inf
David
Nov 27 2003








"David Grimes" <dgrimes friberg.us>