Hello keil Does keil arm C support negative double or float if not How I can use negative float numbers
Both represent sign and magnitude just fine. Review the IEEE-754 standard representation of exponent and mantissa for some grasp of the topic at hand
en.wikipedia.org/.../IEEE_floating_point
Whaaaat. Why did nobody tell me that C compilers can support negative numbers? I've been stuck with positive integers all this time and always told people that the negative numbers on their calculators are just an illusion.
View all questions in Keil forum