Boost logo

Boost :

From: Jonathan Ray (ray.jonathan.w_at_[hidden])
Date: 2006-05-16 18:10:55


I'm planning to finish the BigInt library for SoC. I'm looking for
some input about whether divide-by-zero should throw an exception, or
just store a NaN and propagate that through any subsequent operations.
  Since ordinary ints just throw an exception, and my goal is to make
BigInts have virtually the same interface as ints but never overflow, it seems
reasonable to throw an exception. Any objections?

Cheers,
Jonathan Ray


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