[Bug c/44741] Complex division with NaN produces unexpected result

2010-07-01 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-02 00:36 --- 1.0 + NAN * I is always (NaN, NaN) as we don't implement imaginary types. So this is the correct value since we don't do those. See http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1464.htm for ways of the C stan

[Bug c/44741] Complex division with NaN produces unexpected result

2010-07-01 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-07-01 10:51 --- Note: a very similar issue probably affects C++. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44741

[Bug c/44741] Complex division with NaN produces unexpected result

2010-06-30 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2010-07-01 05:04 --- Subject: Re: New: Complex division with NaN produces unexpected result I think the issue is we don't implement imagainy types so 1 + nan I turns into nan. On Jun 30, 2010, at 9:51 PM, "ian at airs dot com" wrote: >