*/unsignedfloat_pwr2(intx){if(x <-149)return0;if(x <-126)return1<<(x+149);if(x >127)return0x7f800000;return(x+127)<<23; } 我完整的自言自语 /* * CS:APP Data Lab * * * * bits.c - Source file with your solutions to the Lab. * This is the file you will hand in to...
/** float_abs - Return bit-level equivalent of absolute value of f for* floating point argument f.* Both the argument and result are passed as unsigned int's, but* they are to be interpreted as the bit-level representations of* single-precision floating point values.* When argument is N...