Mercurial > projects > dstress
changeset 523:a0ba0562feac
opDiv( ifloat / ifloat )
Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
2005-05-11
news:rit129-at3.ln1@lnews.kuehne.cn
author | thomask |
---|---|
date | Wed, 11 May 2005 17:22:15 +0000 |
parents | 7466721ce7d1 |
children | 9b87306a1797 |
files | run/o/opDiv_10_A.d run/o/opDiv_10_B.d run/o/opDiv_10_C.d run/o/opDiv_10_D.d run/o/opDiv_10_E.d run/o/opDiv_10_F.d |
diffstat | 6 files changed, 96 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_10_A.d Wed May 11 17:22:15 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2005-05-11 +// @uri@ news:rit129-at3.ln1@lnews.kuehne.cn + +module dstress.run.o.opDiv_10_A; + +int main(){ + ifloat a = 4.0fi / 2.0fi; + assert(a==2.0fi); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_10_B.d Wed May 11 17:22:15 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2005-05-11 +// @uri@ news:rit129-at3.ln1@lnews.kuehne.cn + +module dstress.run.o.opDiv_10_B; + +int main(){ + idouble a = 4.0i / 2.0i; + assert(a==2.0i); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_10_C.d Wed May 11 17:22:15 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2005-05-11 +// @uri@ news:rit129-at3.ln1@lnews.kuehne.cn + +module dstress.run.o.opDiv_10_C; + +int main(){ + ireal a = 4.0Li / 2.0Li; + assert(a==2.0Li); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_10_D.d Wed May 11 17:22:15 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2005-05-11 +// @uri@ news:rit129-at3.ln1@lnews.kuehne.cn + +module dstress.run.o.opDiv_10_D; + +int main(){ + ifloat a = 4.0fi; + ifloat b = 2.0fi; + a = a / b; + assert(a==2.0fi); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_10_E.d Wed May 11 17:22:15 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2005-05-11 +// @uri@ news:rit129-at3.ln1@lnews.kuehne.cn + +module dstress.run.o.opDiv_10_E; + +int main(){ + double a = 4.0i; + double b = 2.0i; + a = a / b; + assert(a==2.0i); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_10_F.d Wed May 11 17:22:15 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2005-05-11 +// @uri@ news:rit129-at3.ln1@lnews.kuehne.cn + +module dstress.run.o.opDiv_10_F; + +int main(){ + ireal a = 4.0Li; + ireal b = 2.0Li; + a = a / b; + assert(a==2.0Li); + return 0; +}