id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10244,Erroneous conversion from double to boost::rational,akrzemi1,Jonathan Turkanis,"The documentation discusses in detail why conversion from double is not supported, but the following code works fine: {{{ #include #include int main() { double d = 31.82; boost::rational r = d; std::cout << r << std::endl; } }}} With the following result ""31/1"". It just discards the fractional part. A double is implicitly converted to int and then the implicit constructor from int is used. Such conversion is really confusing. Make it explicitly declared as deleted.",Bugs,new,To Be Determined,rational,Boost 1.55.0,Problem,,,