
Boost Users : 
Subject: Re: [Boostusers] [numeric::converter] finding the smallest c such that (a/c) + (b/c) < inf
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 20090322 00:41:23
AMDG
er wrote:
> Steven Watanabe wrote:
>> template<class T>
>> T fit_to_range(const T& x, const T& y) {
>> double max = (std::numeric_limits<T>::max)();
>
> Very helpful, thanks. May I ask : why double, not T?
cut and paste error. I was originally testing with plain doubles.
In Christ,
Steven Watanabe
Boostusers list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net