Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libm/complex



On Sat, Dec 31, 2016 at 08:33:04PM +0000, coypu%SDF.ORG@localhost wrote:
 > On Sat, Dec 31, 2016 at 03:33:03PM +0000, Maya Rashish wrote:
 > > -				w = r + y * I;
 > > +				r = sqrt(x);
 > > +				w = r;
 > >  			}
 > >  		}
 > >  		return w;
 > 
 > I'm an alignment newbie.
 > Could this create alignment issues?
 > Return type is double complex, and r is just double.

It's not a pointer, so it's the compiler's problem.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index