std.complex

Shammah Chancellor anonymous at coward.com
Fri Nov 22 20:37:19 PST 2013


//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



More information about the Digitalmars-d mailing list