| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Defect in XBD math.h |
| From: | yyyyy@xxxxxxxxxx |
| Date: | Fri, 7 Feb 2003 20:22:45 GMT |
Defect report from : Mark Brown , IBM
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 264 line 9407 section math.h editorial {IBM-020701}
Problem:
Defect code : 1. Error
The spec states the following:
"The following macros shall expand to integer constant expressions
whose values are returned by ilogb (x) if x is zero or NaN,
respectively. The value of FP_ILOGB0 shall be either {INT_MIN}
or -{INT_MAX}. The value of FP_ILOGBNAN shall be either {INT_MAX}
or {INT_MIN}."
Normally, a statement like; " <math.h> may make symbols from <limits.h>
visible" is included in the description to allow required definitions to be
visible. But for math.h this was not done, so INT_MIN and INT_MAX are not
defined in math.h.
Action:
add "<math.h> may make symbols from <limits.h> visible" in the description for
math.h, say after line 9417.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Defect in XBD unistd.h, joannaf |
|---|---|
| Next by Date: | Re: Defect in XBD math.h, Nick Stoughton |
| Previous by Thread: | Defect in XBD test, ajosey |
| Next by Thread: | Re: Defect in XBD math.h, Nick Stoughton |
| Indexes: | [Date] [Thread] [All Lists] |