填写下列程序的返回值,这个程序测试它的第一个参数是否小于或者等于第二个参数。假定函数£21^返回一个无符号32位数字,其位表示与它的浮点参数相同。你可以假设两个参数都不是NaN0两种0,+0和-0被认为是相等的。
int float_le(float x, float y) { unsigned ux = f2u(x); unsigned uy = f2u(y); /* Get the sign bits*/ unsigned sx = ux » 31; unsigned sy = uy » 31; /* Give an expression using only ux, uy, sx, and sy*/ return ; }