changeset 485:1197cba57329

9Li / 9Fi Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> 2005-04-26 news:pln1k2-5f3.ln1@lnews.kuehne.cn
author thomask
date Tue, 26 Apr 2005 12:09:29 +0000
parents 777a8ac8b220
children 73ac7d1627e0
files run/cfloat_01.d run/creal_25.d run/ifloat_03.d run/ireal_03.d run/sort_01.d run/sort_02.d
diffstat 6 files changed, 64 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/cfloat_01.d	Tue Apr 26 12:09:29 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
+// @date@	2005-04-26
+// @uri@	news:pln1k2-5f3.ln1@lnews.kuehne.cn
+
+module dstress.run.cfloat_01;
+
+int main(){
+	cfloat c = 27Fi;
+	assert(c.re==0.0F);
+	assert(c.im==27.0Fi);
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/creal_25.d	Tue Apr 26 12:09:29 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
+// @date@	2005-04-26
+// @uri@	news:pln1k2-5f3.ln1@lnews.kuehne.cn
+
+module dstress.run.creal_25;
+
+int main(){
+	creal c = 27Li;
+	assert(c.re==0.0L);
+	assert(c.im==27.0Li);
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/ifloat_03.d	Tue Apr 26 12:09:29 2005 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
+// @date@	2005-04-26
+// @uri@	news:pln1k2-5f3.ln1@lnews.kuehne.cn
+
+module dstress.run.float_03;
+
+int main(){
+	ifloat c = 27fi;
+	assert(c==27.0fi);
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/ireal_03.d	Tue Apr 26 12:09:29 2005 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
+// @date@	2005-04-26
+// @uri@	news:pln1k2-5f3.ln1@lnews.kuehne.cn
+
+module dstress.run.real_03;
+
+int main(){
+	ireal c = 27Li;
+	assert(c==27.0Li);
+	return 0;
+}
--- a/run/sort_01.d	Tue Apr 26 11:59:35 2005 +0000
+++ b/run/sort_01.d	Tue Apr 26 12:09:29 2005 +0000
@@ -2,7 +2,6 @@
 // $Date$
 // $Author$
 
-// sort is documented as a general array property
 module dstress.run.sort_01;
 
 int main(){
@@ -25,6 +24,7 @@
 	assert(b[2]);
 	
 	assert(&a != &b);
+	assert(a.ptr === b.ptr);
 
 	return 0;
 }
--- a/run/sort_02.d	Tue Apr 26 11:59:35 2005 +0000
+++ b/run/sort_02.d	Tue Apr 26 12:09:29 2005 +0000
@@ -36,6 +36,7 @@
 	assert(b[6]==byte.max);
 
 	assert(&a != &b);
+	assert(a.ptr === b.ptr);
 	
 	return 0;
 }