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*/);

Reply via email to