Thread overview | |||||
---|---|---|---|---|---|
|
November 09, 2012 [Issue 8989] New: cfloat argument passing broken | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8989 Summary: cfloat argument passing broken Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: fawzi@gmx.ch --- Comment #0 from Fawzi Mohamed <fawzi@gmx.ch> 2012-11-09 15:34:21 PST --- It seems that while D2 does not have Issue 8294 it has another problem with complex arguments: --------- module t9; extern(C) int printf(const(char)*,...); void f(cdouble x,cdouble y,double m){ printf("%g %g*1i %g %g*1i %g\n",x.re,x.im,y.re,y.im,m); assert(x.im==y.im); // fails, y.im == x.re... } int main(immutable(char)[][] args){ cdouble a=1.2+3.0*1i; f(a,a,0.88); return 0; } --------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 09, 2012 [Issue 8989] cfloat argument passing broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to Fawzi Mohamed | http://d.puremagic.com/issues/show_bug.cgi?id=8989 Fawzi Mohamed <fawzi@gmx.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #1 from Fawzi Mohamed <fawzi@gmx.ch> 2012-11-09 15:35:22 PST --- this was with D 2.060 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 04, 2013 [Issue 8989] cfloat argument passing broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to Fawzi Mohamed | http://d.puremagic.com/issues/show_bug.cgi?id=8989 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Version|D2 |D1 & D2 Resolution| |FIXED --- Comment #2 from Don <clugdbug@yahoo.com.au> 2013-03-04 01:37:10 PST --- This was actually a regression. It worked in 1.074, failed in 1.075, and was fixed in 1.076. The fix was part of the cleanup of two-register arguments. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation