Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-04-29 12:22:13


AMDG

John Maddock wrote:
> Steven Watanabe wrote:
>
>> You can use long_long_type from config.hpp...
>>
>
> This change is now in SVN Trunk - all but a handful of Boost.Math tests pass
> now when building with -pedantic (those that fail are dues to Boost.Random
> not building with -pedantic). There are still an awful lot of warnings
> about 64-bit integer constants though :-(
>

Would this help:

((static_cast<ulong_long_type>(/first half of constant/) << 32) |
static_cast<ulong_long_type>(/second half of constant/))

Pretty ugly, though.

In Christ,
Steven Watanabe


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