Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-07-28 11:04:09

"John Maddock" <john_at_[hidden]> wrote in message
> Gennadiy Rozental wrote:
>>> The obvious fix is simply to place the numeric_limits checks inside
>>> an if(std::numeric_limits<FPT>::is_specialized) block, and to
>>> perform no safety
>>> checks in this case and just go ahead and perform the division
>>> regardless
>> Did you mean in "else" case?
> There is no need for an else: just as long as the numeric_limits code is
> inside the "if" it will fall through to the regular division at the end of
> the function.
> John.
>>> (there are no checks that can be performed in this case anyway).
>>> Thanks, John.
>> I will look into this later today.

Should be in cvs by now.


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