Keil Logo

FLOATFUZZY Compiler Directive

Abbreviation

FF

Arguments

A number from 0-7.

Default

FLOATFUZZY (3)

µVision

Options — C251 — Bits to round for float compare.

Description

The FLOATFUZZY directive specifies the number of bits rounded before comparing floating-point numbers. The default value of 3 specifies that the three least significant bits of a float value are rounded before the comparison.

Example
C251 MYFILE.C FLOATFUZZY (2)

#pragma FF (0)
  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.