Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-08-02 12:57:52


> Consider a series of integers. Now detect when it crosses zero without
the possibility to backreference previous values. You are passed one

You mean some sort of a modulo-based integer? Yeah it's not bad and I'm
sure the compiler is able to optimize % 2, %4, %8, ...

Philippe A. Bouchard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk