Mercurial > projects > dstress
view run/ieee_754_zerocomp_07.d @ 1626:e160bfec54d5
add test
author | Moritz Warning <moritzwarning@web.de> |
---|---|
date | Thu, 06 Jan 2011 15:52:55 +0100 |
parents | 80e1b85295b3 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.ieee_754_zerocomp_07; int main(){ real f1, f2; f1=0.0L; f2=-f1; if(f1 != f2){ assert(0); } f1=-0.0L; f2=-f1; if(f1 != f2){ assert(0); } return 0; }