Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-01-12 07:57:25

----- Original Message -----
From: "Dean Sturtevant" <deansturtevant_at_[hidden]>

> "while (m != 0)" or "while (m != IntType())", assuming the latter
> construct is legal C++. And the comparison within the algorithm is a
> little strange: Why would n % m be < 0 ? I would have thought that
> any reasonable def of '%' would always yield non-negative numbers?

Not all 'C' platforms have a "reasonable" definition of %.
Thus, the same is true of C++ platforms ;-/


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