| |||||
Technical Support Support Resources
Product Information | C251: FLOATFUZZY DIRECTIVEInformation in this article applies to:
QUESTIONWhat does the FLOATFUZZY directive do? ANSWERFLOATFUZZY 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) or 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. MORE INFORMATION
Last Reviewed: Thursday, June 01, 2000 | ||||
| |||||