Keil Logo


Information in this article applies to:

  • C251 Version 2.14


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.


  • Refer to page 36 in the C251 User's Guide 09.97.

Last Reviewed: Thursday, June 1, 2000

Did this article provide the answer you needed?
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.