annotate run/c/creal_34_D.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents a8cf8aa0da50
children 6d193e241564
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
885
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
1 // $HeadURL$
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
2 // $Date$
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
3 // $Author$
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
4
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
5 // @author@ Don Clugston <dac@nospam.com.au>
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
6 // @date@ 2006-03-02
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1322
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6425
885
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
8 // @WARNING@ direct use of phobos
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
9
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
10 module dstress.run.c.creal_34_D;
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
11
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
12 import std.math;
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
13
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
14 int main(){
920
5511f9277078 testcase review
thomask
parents: 885
diff changeset
15 real re = -0.0L;
5511f9277078 testcase review
thomask
parents: 885
diff changeset
16 ireal im = -0.0Li;
885
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
17 creal a = re + im;
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
18
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
19 if(!signbit(a.re)){
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
20 assert(0);
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
21 }
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
22
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
23 if(!signbit(a.im)){
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
24 assert(0);
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
25 }
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
26
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
27 return 0;
db221d4acc19 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
28 }