Mercurial > projects > dstress
changeset 771:a2e5dd18d87f
Deewiant <deewiant.doesnotlike.spam@gmail.com>
2005-12-06
news:dn3old$hhr$1@digitaldaemon.com
author | thomask |
---|---|
date | Sat, 10 Dec 2005 00:39:17 +0000 |
parents | 1a8a4d885f79 |
children | 98e71577fcc1 |
files | run/o/opDiv_13_A1.d run/o/opDiv_13_A2.d run/o/opDiv_13_B1.d run/o/opDiv_13_B2.d run/o/opDiv_13_C1.d run/o/opDiv_13_C2.d run/o/opDiv_13_D1.d run/o/opDiv_13_D2.d |
diffstat | 8 files changed, 152 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_13_A1.d Sat Dec 10 00:39:17 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL: svn://dstress.kuehne.cn/run/__DATE__01.d $ +// $Date: 2005-03-12 14:49:58 +0100 (Sat, 12 Mar 2005) $ +// $Author: thomask $ + +// @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> +// @date@ 2005-12-06 +// @uri@ news:dn3old$hhr$1@digitaldaemon.com + +module dstress.run.o.opDiv_13_A1; + +int main() { + const ulong a = 10_000_000_000_000_000; + const ulong b = 1_000_000_000_000_000; + + static assert(a / b == 10); + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_13_A2.d Sat Dec 10 00:39:17 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL: svn://dstress.kuehne.cn/run/__DATE__01.d $ +// $Date: 2005-03-12 14:49:58 +0100 (Sat, 12 Mar 2005) $ +// $Author: thomask $ + +// @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> +// @date@ 2005-12-06 +// @uri@ news:dn3old$hhr$1@digitaldaemon.com + +module dstress.run.o.opDiv_13_A2; + +int main() { + ulong a = 10_000_000_000_000_000; + ulong b = 1_000_000_000_000_000; + + assert(a / b == 10); + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_13_B1.d Sat Dec 10 00:39:17 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL: svn://dstress.kuehne.cn/run/__DATE__01.d $ +// $Date: 2005-03-12 14:49:58 +0100 (Sat, 12 Mar 2005) $ +// $Author: thomask $ + +// @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> +// @date@ 2005-12-06 +// @uri@ news:dn3old$hhr$1@digitaldaemon.com + +module dstress.run.o.opDiv_13_B1; + +int main() { + const long a = 10_000_000_000_000_000; + const long b = 1_000_000_000_000_000; + + static assert(a / b == 10); + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_13_B2.d Sat Dec 10 00:39:17 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL: svn://dstress.kuehne.cn/run/__DATE__01.d $ +// $Date: 2005-03-12 14:49:58 +0100 (Sat, 12 Mar 2005) $ +// $Author: thomask $ + +// @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> +// @date@ 2005-12-06 +// @uri@ news:dn3old$hhr$1@digitaldaemon.com + +module dstress.run.o.opDiv_13_B2; + +int main() { + long a = 10_000_000_000_000_000; + long b = 1_000_000_000_000_000; + + assert(a / b == 10); + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_13_C1.d Sat Dec 10 00:39:17 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL: svn://dstress.kuehne.cn/run/__DATE__01.d $ +// $Date: 2005-03-12 14:49:58 +0100 (Sat, 12 Mar 2005) $ +// $Author: thomask $ + +// @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> +// @date@ 2005-12-06 +// @uri@ news:dn3old$hhr$1@digitaldaemon.com + +module dstress.run.o.opDiv_13_C1; + +int main() { + const int a = 1_000_000_000; + const int b = 100_000_000; + + static assert(a / b == 10); + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_13_C2.d Sat Dec 10 00:39:17 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL: svn://dstress.kuehne.cn/run/__DATE__01.d $ +// $Date: 2005-03-12 14:49:58 +0100 (Sat, 12 Mar 2005) $ +// $Author: thomask $ + +// @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> +// @date@ 2005-12-06 +// @uri@ news:dn3old$hhr$1@digitaldaemon.com + +module dstress.run.o.opDiv_13_C2; + +int main() { + int a = 1_000_000_000; + int b = 100_000_000; + + assert(a / b == 10); + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_13_D1.d Sat Dec 10 00:39:17 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL: svn://dstress.kuehne.cn/run/__DATE__01.d $ +// $Date: 2005-03-12 14:49:58 +0100 (Sat, 12 Mar 2005) $ +// $Author: thomask $ + +// @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> +// @date@ 2005-12-06 +// @uri@ news:dn3old$hhr$1@digitaldaemon.com + +module dstress.run.o.opDiv_13_D1; + +int main() { + const uint a = 1_000_000_000; + const uint b = 100_000_000; + + static assert(a / b == 10); + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opDiv_13_D2.d Sat Dec 10 00:39:17 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL: svn://dstress.kuehne.cn/run/__DATE__01.d $ +// $Date: 2005-03-12 14:49:58 +0100 (Sat, 12 Mar 2005) $ +// $Author: thomask $ + +// @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> +// @date@ 2005-12-06 +// @uri@ news:dn3old$hhr$1@digitaldaemon.com + +module dstress.run.o.opDiv_13_D2; + +int main() { + uint a = 1_000_000_000; + uint b = 100_000_000; + + assert(a / b == 10); + + return 0; +} +