changeset 1600:6d193e241564

Allow for tango math in creal tests.
author Christian Kamm <kamm incasoftware de>
date Sun, 04 Jan 2009 22:25:02 +0100
parents d37b19f7e8bb
children 90bc51a580b7
files run/c/creal_32_A.d run/c/creal_32_B.d run/c/creal_32_C.d run/c/creal_32_D.d run/c/creal_33_A.d run/c/creal_33_B.d run/c/creal_33_C.d run/c/creal_33_D.d run/c/creal_34_A.d run/c/creal_34_B.d run/c/creal_34_C.d run/c/creal_34_D.d
diffstat 12 files changed, 49 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/run/c/creal_32_A.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_32_A.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_32_A;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	creal a = -0.0L + 0.0Li;
--- a/run/c/creal_32_B.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_32_B.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,15 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_32_B;
 
+
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	creal a = 0.0L + 0.0Li;
--- a/run/c/creal_32_C.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_32_C.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_32_C;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	creal a = 0.0L - 0.0Li;
--- a/run/c/creal_32_D.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_32_D.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_32_D;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	creal a = -0.0L - 0.0Li;
--- a/run/c/creal_33_A.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_33_A.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_33_A;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	const creal a = -0.0L + 0.0Li;
--- a/run/c/creal_33_B.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_33_B.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_33_B;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	const creal a = 0.0L + 0.0Li;
--- a/run/c/creal_33_C.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_33_C.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_33_C;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	const creal a = 0.0L - 0.0Li;
--- a/run/c/creal_33_D.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_33_D.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_33_D;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	const creal a = -0.0L - 0.0Li;
--- a/run/c/creal_34_A.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_34_A.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_34_A;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	real re = -0.0L;
--- a/run/c/creal_34_B.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_34_B.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_34_B;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	real re = 0.0L;
--- a/run/c/creal_34_C.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_34_C.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_34_C;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	real re = 0.0L;
--- a/run/c/creal_34_D.d	Tue Sep 09 17:28:31 2008 +0200
+++ b/run/c/creal_34_D.d	Sun Jan 04 22:25:02 2009 +0100
@@ -5,11 +5,14 @@
 // @author@	Don Clugston <dac@nospam.com.au>
 // @date@	2006-03-02
 // @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
-// @WARNING@	direct use of phobos
 
 module dstress.run.c.creal_34_D;
 
+version(Tango) {
+import tango.math.IEEE;
+} else {
 import std.math;
+}
 
 int main(){
 	real re = -0.0L;