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
>> 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.
>>> (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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk