bugAVR C Runtime Library - Bugs: bug #25321, div_t and ldiv_t incorrect...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25321: div_t and ldiv_t incorrect documentation

Submitter:  Stu Bell <stu_san>
Submitted:  Wed 14 Jan 2009 07:29:09 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Invalid Assigned to:  None
Percent Complete:  0% Open/Closed:  Closed
Release:  1.6.4 Fixed Release:  None

Wed 09 Jun 2010 08:44:44 AM UTC, comment #1: 

What you're seeing is the documentation for the *function
parameters*, rather than for the members of div_t/ldiv_t.

Joerg Wunsch <joerg_wunsch>
Group administrator
Wed 14 Jan 2009 07:29:09 PM UTC, original submission:  

This is seen in the online documentation, as of 2008/01/14.

Although the separate entries for div_t and ldiv_t have the correct member names, the documentation immediately before the div() and ldiv() documentation is incorrect.

div_t div ( int __num,
            int __denom
          )

Should be:

div_t div ( int quot,
            int rem
          )

With the same problems for ldiv_t

Stu Bell <stu_san>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by stu_san (Submitted the item)
  •  

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-09 joerg_wunsch StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code