[Issue 14452] [REG2.067] Floating point invalid operation when returning a structure containing a float field

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 23 06:21:43 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14452

--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Martin Nowak from comment #5)
> (In reply to Kenji Hara from comment #4)
> > When the object image is initialized with the default values before ctor call, the NaN setting will raise exception.
> 
> Related, but OT, could we avoid to initialize S.f twice?

If the default initialization is done in the called constructor function, it
could be optimized.

--


More information about the Digitalmars-d-bugs mailing list