Lines Matching defs:error

711     int error; // 0, 1, 2 or 3, where 2 means int_mant is wrong by exactly 0.5
728 error = mnt & 3;
732 error = (lsr16(mnt, 1 - exp) & 3) | !!(mnt & (lsl16(1, 1 - exp) - 1));
735 if (!biased_exp && error) { // xx should also check fpscr_val<11>
740 if ((rm == FPLIB_RN && (error == 3 ||
741 (error == 2 && (int_mant & 1)))) ||
742 (((rm == FPLIB_RP && !sgn) || (rm == FPLIB_RM && sgn)) && error)) {
756 if (error && rm == FPRounding_ODD)
777 if (error) {
795 int error; // 0, 1, 2 or 3, where 2 means int_mant is wrong by exactly 0.5
812 error = mnt & 3;
816 error = (lsr32(mnt, 1 - exp) & 3) | !!(mnt & (lsl32(1, 1 - exp) - 1));
819 if (!biased_exp && error) { // xx should also check fpscr_val<11>
824 if ((rm == FPLIB_RN && (error == 3 ||
825 (error == 2 && (int_mant & 1)))) ||
826 (((rm == FPLIB_RP && !sgn) || (rm == FPLIB_RM && sgn)) && error)) {
840 if (error && rm == FPRounding_ODD)
854 if (error) {
872 int error; // 0, 1, 2 or 3, where 2 means int_mant is wrong by exactly 0.5
889 error = mnt & 3;
893 error = (lsr64(mnt, 1 - exp) & 3) | !!(mnt & (lsl64(1, 1 - exp) - 1));
896 if (!biased_exp && error) { // xx should also check fpscr_val<11>
901 if ((rm == FPLIB_RN && (error == 3 ||
902 (error == 2 && (int_mant & 1)))) ||
903 (((rm == FPLIB_RP && !sgn) || (rm == FPLIB_RM && sgn)) && error)) {
917 if (error && rm == FPRounding_ODD)
931 if (error) {
1419 // Convert to FP16_BITS bits, collapsing error into bottom bit:
1456 // Convert to FP32_BITS bits, collapsing error into bottom bit:
1493 // Convert to FP64_BITS bits, collapsing error into bottom bit:
1577 // Normalise into FP16_BITS bits, collapsing error into bottom bit:
1662 // Normalise into FP32_BITS bits, collapsing error into bottom bit:
1754 // Normalise into FP64_BITS bits, collapsing error into bottom bit:
1796 // Normalise into FP16_BITS bits, collapsing error into bottom bit:
1838 // Normalise into FP32_BITS bits, collapsing error into bottom bit:
4840 // Normalise into FP16_BITS bits, collapsing error into bottom bit:
4860 // Normalise into FP32_BITS bits, collapsing error into bottom bit: