On Friday, 8 July 2016 at 19:43:39 UTC, jmh530 wrote:
On Friday, 8 July 2016 at 18:16:03 UTC, Andrei Alexandrescu
wrote:
You may well be literally the only person on Earth who
dislikes the use of "static" in "static if". -- Andrei
You have to admit that static is used in a lot of different
On Monday, 6 June 2016 at 20:19:20 UTC, Observer wrote:
And when real-world money is involved, you'd better have
arithmetic
overflow trigger an exception, not just wrap around silently.
Suggest as compiler option, default=on.
IBM PL/I had a _FIXED DECIMAL_ datatype, many many years ago.
Could
On Monday, 6 June 2016 at 19:30:52 UTC, Observer wrote:
On Monday, 6 June 2016 at 18:55:22 UTC, Ola Fosheim Grøstad
wrote:
On Monday, 6 June 2016 at 18:36:37 UTC, Observer wrote:
It's more complicated than that. Part of what you need is to
be able to declare a variable as (say) having two sign
From dlang:
Static array properties are:
...
.dup Create a dynamic array of the same size and copy the
contents of the array into it.
.idup Create a dynamic array of the same size and copy the
contents of the array into it. The copy is typed as being
immutable.
...
Dynamic array properties
A signed decimal datatype to support writing userland accounting
programs (major business application area), without loss of
accuracy (including losses caused by not all 'decimal decimals'
having exact 'binary decimal' representation).
Syntax:
dec(a,b) foo;
Where a is an integer 1<=a<=99 (to