Boost Users :
Subject: Re: [Boost-users] [rational] proposed gcd and lcm for rational
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2011-07-22 16:10:09
On Thu, Jul 21, 2011 at 17:29, Thomas Taylor <thomas.taylor_at_[hidden]> wrote:
> Especially a lcm makes sense in my opinion, [...]
> The gcd is certainly trickier as it appears to me to be less intuitive.
I think that once you have one, you don't have to think about the other.
I'd be very confused if the implementation didn't always satisfy
GCD(a, b) * LCM(a, b) = a * b
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