|
Boost : |
Subject: Re: [boost] [Review Request] Multiprecision Arithmetic Library
From: Christopher Kormanyos (e_float_at_[hidden])
Date: 2012-04-03 15:30:13
>> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk