Hi Paolo,

The mathl module, compiled on Cygwin with -Wall, yields several warnings:

1)
acosl.c:186: warning: implicit declaration of function `asinl'
acosl.c:186: warning: implicit declaration of function `sqrtl'
asinl.c:186: warning: implicit declaration of function `sqrtl'

Calling functions with 'long double' results when they are not declared
most often yields wrong results, so this is probably not harmless.

2)
trigl.c:217: warning: suggest explicit braces to avoid ambiguous `else'

Look at trigl.c lines 215-216. The condition on x can never be true. What
is the purpose of this code?

3)
tanl.c:128: warning: 'flag' might be used uninitialized in this function

The 'flag' is indeed used uninitialized.

4)
logl.c:193: warning: unused variable `u'
logl.c:194: warning: unused variable `m'

These look harmless. But why not remove the two unused variables?

Bruno


Reply via email to