
25 Jul
2006
25 Jul
'06
8:32 p.m.
John Maddock wrote:
Oh, actually I need generic versions of these functions in order to make parts of the math toolkit I'm working on generic: at the very least these scale to pretty much anything that has numeric_limits defined, without that all you can do is assume the number is a zero or a normal: but that's OK too because most (all?) extended precision types like NTL::RR don't support infinities or NaN's anyway.
Sounds like another good test candidate for C++0x Concepts ;?) -- AlisdairM