摘要 |
a sign bit detecting means(4) judging the sign by detecting the most significant bit of the inputted data of 2's complement type; a carry generating means(5) generating a carry when the detected value is positive by receiving the LSB-1 bit; an adding means(6) performing +1 adding to the inputted data and supplying to an output switching means(8) when there is an output of the carry generating means, and supplying the overflow to an overflow detecting means(7); an overflow detecting means(7) detecting overflow by scanning the top bit of the inputted data; and an output switching means(8) outputting the output of the adding means or the set +/- maximum value.
|