
22 Mar
2009
22 Mar
'09
4:41 a.m.
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