|
Boost Users : |
From: whastingsnj (Hastings5_at_[hidden])
Date: 2002-03-28 16:56:14
operator /= can produce an unnormalized result in Version 1.27.0
For example,
boost::rational<long> x(1,1);
boost::rational<long> y(-1,1);
x /= y;
//at this point x.den = -1 !!!
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net