> Using school maths I get: > > 7 div 3 , 7 mod 3 => 2 , 1 > -7 div 3 , -7 mod 3 => -2 , -1 > 7 div -3 , 7 mod -3 => -2 , 1 > -7 div -3 , -7 mod -3 => 2 , -1 Don't forget that under Modulo 3, the numbers -1 and 2 are equivalent.
- Re: [ql-users] float P Witte
- Re: [ql-users] float Marcel Kilgus
- Re: [ql-users] float Richard Zidlicky
- Re: [ql-users] float Marcel Kilgus
- Re: [ql-users] float Richard Zidlicky
- Re: [ql-users] float Marcel Kilgus
- RE: Re: [ql-users] float Ian . Pine
- Re: [ql-users] float Peter Graf
- Re: [ql-users] float Marcel Kilgus
- Re: [ql-users] float P Witte
- Re: [ql-users] float Robert Newson
- Re: [ql-users] float Wolfgang Lenerz