On Saturday, 23 November 2013 at 04:37:19 UTC, Shammah Chancellor wrote:
//Hijack

http://digitalmars.com/d/1.0/cppcomplex.html

• Consider the formula (1 - infinity*i) * i which should produce (infinity + i). However, if instead the second factor is (0 + i) rather than just i, the result is (infinity + NaN*i), a spurious NaN was generated. • A distinct imaginary type preserves the sign of 0, necessary for calculations involving branch cuts.

Is this stuff no longer an issue?

-Shammah

I believe D used to have builtin complex types, back in the old days. They have been removed (deprecated?) and replaced by the library type std.complex.

At least that is my understanding.

Craig

Reply via email to