For the time being I have implemented these in my Decimal class, but are they of wider use to anyone else? (Note: I am sure there are more efficient ways to implement these functions, and including them in std.bigint may allow these efficiency gaings.)