On Tuesday, 20 June 2017 at 12:07:00 UTC, Stefan Koch wrote:
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
[ ... ]

limited Support for 32bit floating point ops [+, -, *, /, %] has just landed in newCTFE.

float fmadd(float a, float b, float c)
{
    return b + a * c;
}

pragma(msg, fmadd(6.7, 8.9, 1.3)/* == 17.61f*/);
pragma(msg, fmadd(6.7, 8.9, -1.3)/* == 19.00f*/);

Cheer Guys!
64bit floating point is in!

Hit me with brittle numeric code please!
At the same time 64bit integer support was expanded.
Such that we can now return long and ulong values.

Unfortunately this also broke the phobos unitttests since now more of is attempted to be evaluated.


Reply via email to