C program for Class --- DUE TODAY!!! AHHHH

well i need help, im an EE in a prog. and apps course.. and i dont know how to do this program at all...the teacher explains through writing...not through examples...so i cant learn..were not in a lab ever ... its all lecture, so im learning NOTHING! my friend has my C book so i cant look things up...if you could help id realy appreciate it...(if you feel like it you can write the program :P )

this is the assignment...

****Write a C program which displays HUGE_VAL, and then executes one portable, non-trivial, in-bounds test for any ten of the functions from math.h.

Portable means that it should work on any system and make no assumptions about the precision or format of floating point. Non-trivial means that it does not just check a simple case where an argument or return value is 0. In-bounds means that it does not use arguments which would cause EDOM or ERANGE errors, or +-Infnity or NaN results.

For each test, the function name, arguments, and return value(s) must be displayed, together with an indication if the return value(s) are correct or wrong. At the end of the program, a count of the total number of wrong return values must be displayed.

You should assume that 4*atan(1) and exp(1) are accurate values for pi and e for use in checking results.

Sample Output:

HUGE_VAL = Infinity

OK ceil(PI) = 4

WRONG! cos(PI/3) = 0.500000000000000111 should be 0.5

...

3 tests failed!

******

So if you know what that means could you help me out a little?

thanks in advance