| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Defect in XSH modf() |
| From: | yyyyyyy@xxxxxxxxxx |
| Date: | Sat, 16 Mar 2002 06:31:09 GMT |
Defect report from : Ulrich Drepper , Red Hat
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 778 line 25505 section modf() editorial {ud-7}
Problem:
Defect code : 1. Error
The example in the app usage for modf is:
a = modf(x, &iptr) ;
x == a+*iptr ;
The first line suggests that iptr is of type double, the second line that it is
of type double*.
Action:
The prototypes and the discussion in the RETURN VALUE section introduce iptr as
of type double*. Be consistent, change the example to
a = modf(x, iptr) ;
x == a+*iptr ;
(note the missing & in the first line).
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Defect in XBD getaddrinfo, kr-ag |
|---|---|
| Next by Date: | Defect in XSH close, ajosey |
| Previous by Thread: | Defect in XBD getaddrinfo, kr-ag |
| Next by Thread: | Defect in XSH close, ajosey |
| Indexes: | [Date] [Thread] [All Lists] |