c - Manually doing soft-float add -


i need write program in c takes 2 floating point numbers , produces sum output using int, pointers , malloc(). no other data type. (single precision) , i'm helpless.

tip: floating point number x 2 integers: mantissa m , exponent e such x = m * 2^e. should started.

good read: what every programmer should know floating-point arithmetic

edit: understood question exercise understand floating point numbers. maybe i'm wrong…


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -