Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20120922152620

Diff

Diff from 1.2 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc-tests/regress/jira/PCC-382.c

Annotated File View

plunky
1.1
1 /*
2  * PCC-382
3  * negative zero problem in float/double variables
4  */
5
6 #include <math.h>
7
8 int main(int argcchar *argv[])
9 {
ragge
1.2
10 #ifndef __vax__
plunky
1.1
11         double d;
12         float f;
13
14         f = -0.0;
15         if (signbit(f) == 0)
16                 return 1;
17
18         d = -0.0;
19         if (signbit(d) == 0)
20                 return 1;
ragge
1.2
21 #endif
plunky
1.1
22         return 0;
23 }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-08-23 15:24 +0200