Author |
Message |
Topic: Floats & printf not working under certain conditions |
matiasnabarro
Replies: 4
Views: 5787
|
Forum: General CCS C Discussion Posted: Sun Jun 15, 2008 9:06 pm Subject: Just simulator issue |
Ttelmah: I simulating the code in Proteus VSM, with the error noted first. It runs ok on real hardware.
Thanks for your help.
Regards,
Matias., |
Topic: Floats & printf not working under certain conditions |
matiasnabarro
Replies: 4
Views: 5787
|
Forum: General CCS C Discussion Posted: Sun Jun 15, 2008 8:22 pm Subject: Keep trying |
Hi, I've tried the 5.3F and this is what I get at 232 output:
P=0 ifl=-777777.777
P=1 ifl=-333333.333
P=2 ifl=-333333.333
P=3 ifl=-;;;;;;.;;;
P=4 ifl=-333333.333
P=5 ifl=-777777.777
P=6 ifl=- ... |
Topic: Floats & printf not working under certain conditions |
matiasnabarro
Replies: 4
Views: 5787
|
Forum: General CCS C Discussion Posted: Sun Jun 15, 2008 1:52 pm Subject: Floats & printf not working under certain conditions |
Hello: I'm having trouble with the next code. PCH 4.068.
When I comment the declarations of the char arrays sized 12 and 16, the code prints the correct string, when I use those arrays, the code prin ... |
|