On 8/12/2015 12:44 AM, Sönke Ludwig wrote:
That's where Decimal would come in. There is some code for that commented out, but I really didn't want to add it without a standard Phobos implementation. But I wouldn't say that this is really an argument against BigInt, maybe more one for implementing a Decimal type.
Make the type for storing a Number be a template parameter.