Mercurial > projects > dstress
diff run/c/creal_34_B.d @ 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 | b8c0195059d9 |
children |
line wrap: on
line diff
--- 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;