Arbitrary precision decimal numbers
Dom Disc
dominikus at scherkl.de
Sat Aug 6 11:47:22 UTC 2022
On Saturday, 6 August 2022 at 11:25:28 UTC, Dom Disc wrote:
> I once did a completely inline implementation of xlcmplx
Sorry, one function is NOT inline:
> ```C
> class xlcmplx
> {
> uint32 Decimal(char* s, uint32 max) const; // string
> representation
> }
> ```
But you should forget about that, because D has much better
methods to create a string. In fact good enough that also this
function could have been inline... but in D the whole concept of
headers is superfluous, so who cares.
More information about the Digitalmars-d-learn
mailing list