Mercurial > projects > dstress
view run/creal_20.d @ 1330:f3f715978184
Georg Wrede <georg@iki.fi>
2007-01-07
mail:45A120F5.1050108@iki.fi
author | thomask |
---|---|
date | Sat, 13 Jan 2007 10:33:49 +0000 |
parents | 5511f9277078 |
children | 52c9e86b6486 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Nick <Nick_member@pathlink.com> // @date@ 2004-11-30 // @uri@ news:coi83g$1s76$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2385 module dstress.run.creal_20; int main(){ creal c = (2.0L - 2.0Li)*(2.0L - 2.0Li); assert(c.re == 0.0L); assert(c.im == -8.0L); return 0; }