??? 07/01/05 04:35 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#96361 - floating point in ISRs Responding to: ???'s previous message |
Andy Neil said:
But it has been explained why using a floating-point value is not a good idea:
"not only is the use of floating-point unnecessary - it could actually give you the wrong result!" http://www.8052.com/forum/read.phtml?id=96034 The reason it's not a good idea due to the fundamental nature of the implementation of floating-point arithmetic - thus it is not compiler-specific, nor even processor-specific. Also, never use floating point in an ISR ... -=a |