[Boost-bugs] [ boost-Bugs-1043616 ] boost::rational documentation typos(?)

Bugs item #1043616, was opened at 2004-10-09 08:53 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1043616&group_id=7586 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: boost::rational documentation typos(?) Initial Comment: <http://www.boost.org/libs/rational/ rational.html#Integer%20Type%20Requirements> states: "I must be an integer-like type, that is the following expressions must be valid for any two values n and m of type I, with the "expected" semantics. [...] n / m (must truncate, and n/m must be positive if n and m are positive)" I doubt that that is what boost::rational requires. int n = 1; int m = 3; int n_over_m = n/m; if( n_over_m > 0) { std::cout << "all OK\n"; } else { std::cout << "Can't use 'int' as base type for boost::rational\n"; } <http://www.boost.org/libs/rational/rational.html#Constructors> states: "Rationals can be constructed from a pair (numerator, denominator) of integers, or a single integer" I think that the documentation should read: "Rationals can be constructed from a pair (numerator, denominator) of I's, or a single I" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1043616&group_id=7586 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs

"SourceForge.net" <noreply@sourceforge.net> wrote:
Initial Comment: <http://www.boost.org/libs/rational/ rational.html#Integer%20Type%20Requirements> states:
"I must be an integer-like type, that is the following expressions must be valid for any two values n and m of type I, with the "expected" semantics.
Last time I checked, there was no maintainer for Boost.Rational. Paul Moore indicated he was no longer interested in maintaining the library, and I volunteered to take over. I think Bjorn Karlsson said he would seek approval from the moderators, but that was the last I heard. So either my offer was rejected by the moderators, or (I hope) it fell through the cracks somewhere. Anyway, I'm still willing to do it, since it looks like it won't require much of a time commitment. Jonathan

"Jonathan Turkanis" <technews@kangaroologic.com> writes:
"SourceForge.net" <noreply@sourceforge.net> wrote:
Initial Comment: <http://www.boost.org/libs/rational/ rational.html#Integer%20Type%20Requirements> states:
"I must be an integer-like type, that is the following expressions must be valid for any two values n and m of type I, with the "expected" semantics.
Last time I checked, there was no maintainer for Boost.Rational. Paul Moore indicated he was no longer interested in maintaining the library, and I volunteered to take over. I think Bjorn Karlsson said he would seek approval from the moderators, but that was the last I heard. So either my offer was rejected by the moderators, or (I hope) it fell through the cracks somewhere.
Must be the latter. I'll bring it up with the other mods right away. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

"David Abrahams" <dave@boost-consulting.com> wrote in message:
"Jonathan Turkanis" <technews@kangaroologic.com> writes:
Last time I checked, there was no maintainer for Boost.Rational. Paul Moore indicated he was no longer interested in maintaining the library, and I volunteered to take over. I think Bjorn Karlsson said he would seek approval from the moderators, but that was the last I heard. So either my offer was rejected by the moderators, or (I hope) it fell through the cracks somewhere.
Must be the latter. I'll bring it up with the other mods right away.
Thanks. Jonathan

"Jonathan Turkanis" <technews@kangaroologic.com> writes:
Must be the latter. I'll bring it up with the other mods right away.
Thanks.
Okay, we gratefully accept! When can you start? ;-) -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

"David Abrahams" <dave@boost-consulting.com> wrote in message news:u1xg6n74b.fsf@boost-consulting.com...
"Jonathan Turkanis" <technews@kangaroologic.com> writes:
Must be the latter. I'll bring it up with the other mods right away.
Thanks.
Okay, we gratefully accept!
Good.
When can you start? ;-)
I guess now's as good a time as any ;-) I'll send you my sourceforge info. Jonathan
participants (3)
-
David Abrahams
-
Jonathan Turkanis
-
SourceForge.net