Invalid Floating Point Operation (DMD 2067)
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Apr 16 13:35:31 PDT 2015
On 4/16/15 4:32 PM, rumbu wrote:
> On Thursday, 16 April 2015 at 20:27:46 UTC, rumbu wrote:
> Hit send by accident :)
>
>
> Reduced case:
>
> struct S {
> float f; //or double or real
> this(float f) {
> this.f = f;
> }
> }
>
> S foo() {
> return S(0f);
> }
>
> void main() {
> auto s = foo();
> }
>
> Win 8.1 also, 32 and 64 bit, debug or release, same exception
Thanks, please file a bug, make it Windows specific, as I did not get
the exception on OSX.
-Steve
More information about the Digitalmars-d-learn
mailing list