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: nob...@puremagic.com ReportedBy: fa...@gmx.ch --- Comment #0 from Fawzi Mohamed <fa...@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: -------