# HG changeset patch # User Christian Kamm # Date 1231104302 -3600 # Node ID 6d193e2415642cc9058eb8aa7776b060fea60276 # Parent d37b19f7e8bbbab384b4094472e2303417a4a2e0 Allow for tango math in creal tests. diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_32_A.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_32_B.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_32_C.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_32_D.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_33_A.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_33_B.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_33_C.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_33_D.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_34_A.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_34_B.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_34_C.d --- 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 // @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; diff -r d37b19f7e8bb -r 6d193e241564 run/c/creal_34_D.d --- 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 // @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;