I understand that there are 4 rounding modes supported by IEEE 754 standards I just want to make sure I understand each really well. Are the following examples correct?
• Rounding towards positive infinity: Does that mean we add one to the LSB no matter what it is (0 or 1)?
Say we have 1.1010100000000...00 rounding towards positive infinity means we do +1 so we get 1.1010100000000...01 & similarly when we have 1.10101000000..01 and we need to round towards positive infinity we do +1 and we get 1.1010100000...10?
• Rounding towards negative infinity: We add 0 to LSB meaning we do nothing (meaning that it is same as truncating mode) or do we change the LSB to 0 (if 1 we change it to 0 and if 0 we keep it 0)?
• Truncating Mode: Just chop off the GRS bits
• Round towards nearest even : I learned that one from How to perform round to even with floating point numbers and its pretty clear now.