
Boost Users : 
Subject: Re: [Boostusers] [numeric::converter] finding the smallest c such that (a/c) + (b/c) < inf
From: er (erwann.rogard_at_[hidden])
Date: 20090322 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?
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