
3 Apr
2012
3 Apr
'12
7:30 p.m.
Is there any reason not to make the exponent type a template parameter so that
the user can chose arbittrarily instead of trying to anticipate future uses of the library?
Probably not actually a bad idea, or hard to do, other than upping testing times yet more.... John.
Probably best, then, if the exponent has a known and fixed compile-time width, resulting with a known maximum which is mandatory for things such as std::numeric_limits<my_type>::max_eponent10, etc. Best regards, Chris