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


bug #25321: div_t and ldiv_t incorrect documentation

Submitted by:  Stu Bell <stu_san>
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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.)

Attach Files:

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.5