id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 308,boost::rational documentation typos(?),nobody,Jonathan Turkanis,"{{{ 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""; } 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"" }}}",Bugs,closed,,None,None,,Fixed,,