Ceiling double-precision to word : Converts the double-precision float in $f2 (even-numbered register) to a 32-bit integer by rounding toward positive infinity, storing the result in $f1.
ceil.w.d
Operands
$freg, $fregVariants
- Ceiling double-precision to word : Converts the double-precision float in $f2 (even-numbered register) to a 32-bit integer by rounding toward positive infinity, storing the result in $f1. ceil.w.d $f1,$f2
.data
a: .double -1.5
.text
# Apply ceil.w.d to an initialized value; inspect $f8: raw bits 0xFFFFFFFF.
l.d $f2, a
ceil.w.d $f8, $f2