frip
Floating Round to Integer Plus
frip FRT,FRB
frip. FRT,FRB
frip. FRT,FRB
Rounds a floating-point operand towards +infinity and places the result into a register.
Details
The floating-point operand in register FRB is rounded to an integral value using the rounding mode round toward +infinity, and the result is placed into register FRT. FPRF is set to the class and sign of the result, except for Invalid Operation Exceptions when VE=1.
Pseudocode Operation
Programming Note
When Rc=1, CR1 is set from the FPSCR[FX, FEX, VX, OX] bits immediately after the operation completes.
Example
frip f1, f3
Encoding
Binary Layout
0
0
FRT
6
FRB
11
Rc
31
Operands
-
FRT
Target Floating-Point Register -
FRB
Source Floating-Point Register