check the math co-processor emaluation option during compile/linking time


On Sun, 28 Sep 2003 22:53:01 -0600, <[EMAIL PROTECTED]> wrote:


Dear Friends
Can anyone tell me about any reported bug
in GCC math header?
Even a very simple code with a reference to <math.h> is
failing regularly.

Here is the super-intelligent code-let, lifted
directly from C Complete Reference by Schildt,
4th Ed, page 409:


#include <math.h> #include <stdio.h> int main (void) { double x = 10.0, y = 0.0; do { printf("%f\n", pow(x,y)); y++; } while (y < 11.0); return 0; }

Compiling this with gcc both version 3.2.2 in Slack or
3.3 in SuSE is giving the same message. Like this:
<snip>

This same thing is happening with 'sqrt' or cube or anything that invokes math.h Is there any known trick?

dipankar das

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3






-- _____ __ / __/__ __ ______ __ / /_ __\ \ / /_/ / / / / / / / / /- /____/ \____/ /_/\/\/ /_/ /_/ [EMAIL PROTECTED]


-- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to