Defect Report #224

Previous Defect Report < - > Next Defect Report


Submitter: Bill Plauger (US)
Submission Date: 2000-04-10
Source:
Reference Document: N/A
Version: 1.3
Date: 2002-03-06
Subject: fpclassify return is not defined.

Summary
The standard header <math.h> does not define a use for FP_INFINITE and does not define what the function fpclassify returns.


Committee Discussion

This seems clear from a combination of 7.12.3.1 paragraph 2 and 7.12 paragraph 6.

Don't see what Plauger's comments in regard to FP_INFINITE is, and didn't consider that there is any problem.

Proposed Technical Corrigendum
In 7.12 paragraph #6 a new term "number classification macro" should be introduced, and the reword the first sentence to:

The number classification macros are:
FP_INFINITE
FP_NAN
FP_NORMAL
FP_SUBNORMAL
FP_ZERO


Previous Defect Report < - > Next Defect Report