[Dlang-internal] I need cent and ucent to be implemented soon
Walter Bright
newshound2 at digitalmars.com
Fri Dec 24 23:52:44 UTC 2021
On 5/3/2019 9:28 PM, Murilo wrote:
> Hi guys, I am writing a program what will use very big numbers, when will you
> guys implement cent and ucent?
If someone wants to pick up the flag for this, the way to do it is:
struct Cent
{
long lsl, msl;
}
followed by a function for each operator:
Cent add(Cent op1, Cent op2) { ... }
...
The compiler can then access these as builtin functions to implement cent in the
compiler.
Who wants to do it?
More information about the Dlang-internal
mailing list