[phobos] Is anyone working on std.complex?

Walter Bright walter at digitalmars.com
Fri Mar 26 18:14:21 PDT 2010



Andrei Alexandrescu wrote:
>
> * Some asserts before division by zero would be helpful. Carrying 
> through with silent NaNs annoy the heck out of anyone.
>

I don't agree. Complex arithmetic behavior should mirror IEEE 754 
floating point behavior as far as exceptions and NaNs go.


More information about the phobos mailing list