ARM Technical Support Knowledge Articles

DOUBLE PRECISION MATH ROUTINES

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

How do I enable 64-bit double-precision floating-point in C51?

ANSWER

C51 provides IEEE 32-bit floating-point math but does not support 64-bit floating-point math. 64-bit math would be extremely slow on the 8051.

The double type is supported syntactically but is identical in implementation to the float type.

MORE INFORMATION

SEE ALSO

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

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