??? 04/15/07 14:55 Read: times Msg Score: +1 +1 Informative |
#137287 - I suggest you read this.. Responding to: ???'s previous message |
It explains why comparing floating point numbers is not a trivial task and usualy doesnt work.
http://www.cygnus-software.com/papers/co...floats.htm |
Topic | Author | Date |
if else statements in keil c51 | 01/01/70 00:00 | |
Things to check | 01/01/70 00:00 | |
example | 01/01/70 00:00 | |
And it might help to use hex | 01/01/70 00:00 | |
floating point | 01/01/70 00:00 | |
Not true | 01/01/70 00:00 | |
further... | 01/01/70 00:00 | |
I suggest you read this.. | 01/01/70 00:00 | |
Test Seems To Work | 01/01/70 00:00 | |
SDCC version works also | 01/01/70 00:00 | |
Testing the typo...![]() | 01/01/70 00:00 | |
its a lot easier to use fixed point | 01/01/70 00:00 |