[Bug fortran/19443] log10 statement does not work properly in gfortran
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 14 13:38:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:38 -------
Hmm, try this (if might be that log10f is broken):
#include <math.h>
#include <stdio.h>
int main(void)
{
float t = 1.0e-5;
printf("%f\n", 10*log10f(t));
return 0;
}
If this does not link (try -lm), otherwise I don't know where the bug is.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19443
More information about the Gcc-bugs
mailing list