
11 Jun
2011
11 Jun
'11
8:33 a.m.
For generic elementary transcendental functions, Icould either template them or utilize the virtual mechanism.
I would prefer the templates. Do you have a preference? Perhaps we should leave the option open to target up to millions of digits in future versions of e_float. (I mean quite a bit later, after building a solid basis for e_float in boost in the first place.) See next paragraph.
They would have to be templates otherwise they're not generic ;-) There are also some conceptual architypes in Boost.Math that can be used to verify that they'll work with any type that fulfils those concept requirements. Cheers, John.