std.complex

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Nov 24 15:24:18 PST 2013


On Sunday, 24 November 2013 at 18:37:48 UTC, Andrei Alexandrescu 
wrote:
> But that originates as a call to multiplication between two 
> Complex numbers. Can't the problem be addressed at that level?

Don't see why not, but it's going to be an unpleasant mess of 
if/else unless anyone can think up any clever tricks to avoid it.

BTW is it true that IEEE standards define 0 * inf to be nan? It's 
counter-intuitive mathematically and I can't find a reference to 
that effect.


More information about the Digitalmars-d mailing list