Keil Logo

C51: SUPPORT FOR FLOATING-POINT NUMBERS


Information in this article applies to:

  • C51 All Versions

QUESTION

Does the Keil C Compiler for the 8051 support floating-point numbers? Where can I get more information about floating point numbers?

I have been programming 8031 chips with PL/M-51 for a number of years. Apparently, the PL/M compiler does not support floating-point numbers. I needed to divide 1E6 by 3000, but could not.

ANSWER

Yes. The Keil C Compiler for the 8051 supports 32-bit, single-precision floating-point numbers.

MORE INFORMATION

SEE ALSO

Last Reviewed: Friday, January 10, 2014


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.