Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2006-11-12 15:14:56


On 11/12/06 12:27 PM, "David Abrahams" <dave_at_[hidden]> wrote:

> Daryle Walker <darylew_at_[hidden]> writes:
>
>> I'm working on a bug that's only present on machines that use 2's
>> complement for their built-in integers that use all possible bit
>> combinations (like the common platforms). How can I detect this?
>
> Do you need to know at preprocessing time, compile time, or runtime?

I need it during preprocessing. Look at test case "patch_1438626_test" in
"rational_test.cpp" (in our CVS HEAD). I'm curious about the solution for
all three times, though.

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

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