ARM Technical Support Knowledge Articles

SUPPORT FOR FLOATING-POINT NUMBERS

Applies to: C51 C Compiler

Answer


Information in this article applies to:


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

Article last edited on: 2005-07-15 10:15:40

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential