Commit a9c70c22 by Michael Meissner Committed by Michael Meissner

Add new test

From-SVN: r24888
parent d91dfff4
1999-01-27 Michael Meissner <meissner@cygnus.com>
* execute/990127-1.c: New test.
* execute/990127-{1,2}.c: New tests.
1998-12-14 Nick Clifton <nickc@cygnus.com>
......
void
fpEq (double x, double y)
{
if (x != y)
abort ();
}
void
fpTest (double x, double y)
{
double result1 = (35.7 * 100.0) / 45.0;
double result2 = (x * 100.0) / y;
fpEq (result1, result2);
}
main ()
{
fpTest (35.7, 45.0);
exit (0);
}
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