2005-04-18 07:44 PM
2005-04-07 08:40 PM
Hi all,
I´ve got a problem using double-variables. They don´t get the values I try to write into. Here is my code: #include ''71x_lib.h'' #include ''math.h'' int main(void) { double z,x,y; debug(); x=2.0; y=3.0; z=pow(x,y); while(1); } Very simple, but doesn´t work. The values I get are: x=5.30498947741e-315 (should be 2.0) y=5.30757980431e-315 (should be 3.0) z=5.31599836671e-315 (should be 8.0) Float seems to work, as long as I don´t try to use functions from math.h, because almost all functions of math.h expect double for their parameters. Is this a known problem? Regards, Marcus2005-04-07 08:42 PM
Forgot to mention:
I´m using STR710FZ2T6 and RVDS2.12005-04-18 07:44 PM
okay, that´s not a problem, as long as i know, that these varaiables have the right value and it´s only a problem of the debugger to show them correctly. Thanks for your help ibtiss.
Regards, Marcus