comparison run/c/creal_32_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
comparison
equal deleted inserted replaced
1599:d37b19f7e8bb 1600:6d193e241564
3 // $Author$ 3 // $Author$
4 4
5 // @author@ Don Clugston <dac@nospam.com.au> 5 // @author@ Don Clugston <dac@nospam.com.au>
6 // @date@ 2006-03-02 6 // @date@ 2006-03-02
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
8 // @WARNING@ direct use of phobos
9 8
10 module dstress.run.c.creal_32_B; 9 module dstress.run.c.creal_32_B;
11 10
11
12 version(Tango) {
13 import tango.math.IEEE;
14 } else {
12 import std.math; 15 import std.math;
16 }
13 17
14 int main(){ 18 int main(){
15 creal a = 0.0L + 0.0Li; 19 creal a = 0.0L + 0.0Li;
16 20
17 if(signbit(a.re)){ 21 if(signbit(a.re)){