Re: D 2.066 new behavior

2014-08-22 Thread Paul D Anderson via Digitalmars-d-announce
On Friday, 22 August 2014 at 02:26:38 UTC, safety0ff wrote: On Friday, 22 August 2014 at 01:54:55 UTC, Paul D Anderson wrote: Is this expected behavior that has never been enforced before, or is it something new? And is anyone else having the same problem? Paul Looks like a regression,

D 2.066 new behavior

2014-08-21 Thread Paul D Anderson via Digitalmars-d-announce
In all previous versions through 2.066 beta 5, the following code compiled and ran correctly: import std.stdio; T add(T)(in T x, in T y) { T z; z = x + y; return z; } void main() { const double a = 1.0; const double b = 2.0; double c; c

Re: Decimal Numbers

2014-07-08 Thread Paul D Anderson via Digitalmars-d-announce
On Tuesday, 8 July 2014 at 08:15:28 UTC, Sönke Ludwig wrote: Am 07.07.2014 23:15, schrieb Paul D Anderson: On Monday, 7 July 2014 at 03:26:54 UTC, Poyeyo wrote: Can you add a dub.json and submit it to the dub registry? etcimon generated a dub.json file which I've merged into github. Thanks.

Re: Decimal Numbers

2014-07-07 Thread Paul D Anderson via Digitalmars-d-announce
On Monday, 7 July 2014 at 03:26:54 UTC, Poyeyo wrote: Can you add a dub.json and submit it to the dub registry? etcimon generated a dub.json file which I've merged into github. Thanks. However, I am unable to register the package because it requires a version number, which I don't know how

Re: Decimal Numbers

2014-07-06 Thread Paul D Anderson via Digitalmars-d-announce
On Monday, 7 July 2014 at 03:26:54 UTC, Poyeyo wrote: Can you add a dub.json and submit it to the dub registry? I can do that but I want to get the 32-, 64- and 128-bit structs in place first. Probably by midweek (July 9).

Re: Decimal Numbers

2014-07-04 Thread Paul D Anderson via Digitalmars-d-announce
On Friday, 4 July 2014 at 06:43:15 UTC, Iain Buclaw via Digitalmars-d-announce wrote: 6) Rename the file decimal.d to package.d, and module eris.decimal.decimal to eris.decimal Thanks, will do. Paul

Re: Decimal Numbers

2014-07-03 Thread Paul D Anderson via Digitalmars-d-announce
Sorry for the unusual formatting. Paul

Decimal Numbers

2014-07-03 Thread Paul D Anderson via Digitalmars-d-announce
A candidate implementation of decimal numbers (arbitrary-precision floating-point numbers) is available for review at https://github.com/andersonpd/eris/tree/master/eris/decimal. This is a substantial rework of an earlier implementation which was located at

Re: core.checkedint added to druntime

2014-07-01 Thread Paul D Anderson via Digitalmars-d-announce
Will this be in the 2.066 Beta? On Wednesday, 18 June 2014 at 01:26:16 UTC, Walter Bright wrote: https://github.com/D-Programming-Language/druntime/pull/839 While being a very modest piece of code in and of itself, I believe this offers a significant opportunity that both D compilers and