Martin Liddle wrote:
Forwarded as this doesn't seem to have been sent to the list.
Alle 20:55, martedì 26 marzo 2002, hai scritto:
In article 200203261732.SAA15974@science.unitn.it, Silvio a Beccara abeccara@science.unitn.it writes
Before I forget: with the C program, I just compiled it very normally, and it gave me no error, just the correct results.
Post a small test program in C showing what you did.
Here it is:
#include <stdio.h> #include <math.h>
int main()
{
int i; double ris, esp;
for(i=1;i<=100;i++) {
esp = (double)i * 1000.0; ris = exp(-esp); printf("Exp of %g = %g\n", esp, ris);
}
}
So, where do you check errno?
Frank