Boost logo

Boost :

From: darylew_at_[hidden]
Date: 2001-06-11 01:12:45

--- In boost_at_y..., <boost_at_y...> wrote:
> This email message is a notification to let you know that
> a file has been uploaded to the Files area of the boost
> group.
> File : /
> Uploaded by : darylew_at_m...
> Description : Version 2; modulo arithmetic
> You can access this file at the URL

Version 2 adds an "assign" member function, expansion of the
ring type to "unsigned long," allowing 1 to be a ring (some
results aren't well-defined though), and documentation.

I was considering asking about adding an operator %=, then I
realized that a remainder isn't well-defined in modulo arithmetic.
Division is just multiplying by the reciprocal, it has no "real"
meaning, unlike division with real numbers. So there really isn't
a remainder concept either. Too bad, that operator would have
let me use the boost::operators template from <boost/

Daryle Walker
[posting through web interface]

Boost list run by bdawes at, gregod at, cpdaniel at, john at