ARM Technical Support Knowledge Articles


Applies to: C251 C Compiler


Information in this article applies to:


What does the FLOATFUZZY directive do?


FLOATFUZZY lets you specify the number of bits that are rounded before floating-point comparisons.

On the command line, FLOATFUZZY is used as follows:

c251 myfile.c floatfuzzy(5)


c251 myfile.c ff(5)

You may also use FLOATFUZZY within a #pragma multiple times in your source file. For example:

#pragma ff(5)
void function1 (void)

#pragma ff(3)
void function2 (void)

The number of bits specified may be a number from 0 to 7. The default is 3 which means that the three least significant bits of a floating-point value are rounded before the comparison is made.


Article last edited on: 2000-06-01 00:00:00

Rate this article

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