Commit 3914b81a by Will Cohen Committed by William Cohen

20010226-1.c: New test.

2001-02-26  Will Cohen  <wcohen@redhat.com>

	* gcc.c-torture/execute/ieee/20010226-1.c: New test.

From-SVN: r40071
parent 14879e76
2001-02-26 Will Cohen <wcohen@redhat.com>
* gcc.c-torture/execute/ieee/20010226-1.c: New test.
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.pt/overload15.C: New test to stress overloaded
......
long double dfrom = 1.1;
long double m1;
long double m2;
unsigned long mant_long;
int main( )
{
m1 = dfrom / 2.0;
m2 = m1 * 4294967296.0;
mant_long = ((unsigned long) m2) & 0xffffffff;
if ( mant_long == 0x8ccccccc)
exit (0);
else
abort();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment