Mercurial > projects > dstress
view run/c/creal_32_C.d @ 920:5511f9277078
testcase review
author | thomask |
---|---|
date | Sun, 19 Mar 2006 11:29:18 +0000 |
parents | db221d4acc19 |
children | a8cf8aa0da50 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Don Clugston <dac@nospam.com.au> // @date@ 2006-03-02 // @uri@ news:<du6chp$hub$1@digitaldaemon.com // @WARNING@ direct use of phobos module dstress.run.c.creal_32_C; import std.math; int main(){ creal a = 0.0L - 0.0Li; if(signbit(a.re)){ assert(0); } if(!signbit(a.im)){ assert(0); } return 0; }