| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Defect in XBD lround |
| From: | yyyyyyyyyyy@xxxxxxxxxxxxxxxxxxx |
| Date: | Tue, 12 Nov 2002 09:37:51 GMT |
Defect report from : Erwin Unruh , Fujitsu Siemens Computers
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 0 line 0 section lround objection {0}
Problem:
Defect code : 1. Error
The function lround is described in
http://www.opengroup.org/onlinepubs/007904975/functions/lround.html
On Error it is specified that errno has to be set to EDOM. However, the C99
standard ISO/IEC 9899:1999 (E) specifies this as a range error, which would
result in a value of ERANGE. So an implementation could not be conformant to
both these standards.
Action:
Change the value of errno to ERANGE, if the result is not represantable. More
specific: In the description of the function, replace all occurences of "domain
error" with "range error" and replace "EDOM" with "ERANGE"
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Defect in XSH pthread_kill(), terekhov |
|---|---|
| Next by Date: | Defect in XBD 3.297, David.Butenhof |
| Previous by Thread: | Defect in XSH pthread_kill(), terekhov |
| Next by Thread: | Defect in XBD 3.297, David.Butenhof |
| Indexes: | [Date] [Thread] [All Lists] |