Mercurial > projects > dstress
changeset 893:e5f5316b1440
Walter Bright <walter@digitalmars.com>
2006-03-06
news:dui4o7$1ulu$1@digitaldaemon.com
author | thomask |
---|---|
date | Tue, 07 Mar 2006 10:21:54 +0000 |
parents | d0c871656e10 |
children | bc535ba67c39 |
files | run/d/double_28_A.d |
diffstat | 1 files changed, 0 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/run/d/double_28_A.d Mon Mar 06 17:06:36 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> -// @date@ 2006-03-06 -// @uri@ news:bug-21-3@http.d.puremagic.com/bugzilla/ - -module dstress.run.d.double_28_A; - -int main(){ - static if((real.max >= double.max) - && (real.dig >= double.dig) - && (double.max >= 1.7976931348623157e+308)) - { - double d = 1.7976931348623157e+308; - real r = d; - - if(r != 1.7976931348623157e+308){ - assert(0); - } - } - return 0; -}