My Project
|
You will modify this file and implement nine functions. More...
Functions | |
int | flt32_get_sign (flt32 x) |
int | flt32_get_exp (flt32 x) |
int | flt32_get_val (flt32 x) |
void | flt32_get_sve (flt32 x, int *sign, int *val, int *exp) |
int | flt32_leftmost_1 (int value) |
flt32 | flt32_abs (flt32 x) |
flt32 | flt32_negate (flt32 x) |
flt32 | flt32_add (flt32 x, flt32 y) |
flt32 | flt32_sub (flt32 x, flt32 y) |
Your implementation of the functions defined in flt32.h. You may add other function if you find it helpful. Added function should be declared static to indicate they are only used within this file.
void flt32_get_sve | ( | flt32 | x, |
int * | sign, | ||
int * | val, | ||
int * | exp | ||
) |
int flt32_leftmost_1 | ( | int | value | ) |