On 03/03/2010 10:50 AM, kstueve wrote: > #include <stdio.h> > #include <math.h>
What happens if you insert #include <stdlib.h> here? Compiling with extra warning flags *may* help: $ gcc -o fastli fastli.c -lm -O2 -W -Wall fastli.c: In function ‘main’: fastli.c:29: warning: implicit declaration of function ‘atof’ fastli.c:30: warning: implicit declaration of function ‘atol’ fastli.c:27: warning: unused parameter ‘argc’ fastli.c: In function ‘li’: fastli.c:77: warning: ‘return’ with no value, in function returning non-void fastli.c:72: warning: unused variable ‘lastnorm’ $ man atof -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org