Boost logo

Boost Users :

Subject: Re: [Boost-users] [numeric::converter] finding the smallest c such that (a/c) + (b/c) < inf
From: er (erwann.rogard_at_[hidden])
Date: 2009-03-22 00:28:46

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?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at