Mercurial > projects > dstress
view run/ieee_754_zerocomp_05.d @ 496:e720ce827c1c
added IEEE 754 tests for 0-handing
author | thomask |
---|---|
date | Thu, 28 Apr 2005 15:53:12 +0000 |
parents | |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.ieee_754_zerocomp_05; int main(){ idouble f1, f2; f1=0.0i; f2=-f1; assert(f1==f2); f1=-0.0i; f2=-f1; assert(f1==f2); return 0; }