# `ceil.w.s`

[MIPS Documentation](https://asm-editor.specy.app/documentation/mips.md) › [Instructions](https://asm-editor.specy.app/documentation/mips/instruction.md)

Web page: https://asm-editor.specy.app/documentation/mips/instruction/ceil.w.s

**Ceiling single-precision to word**

Category: Floating point

Converts the single-precision value in the second register to a 32-bit integer in the first, rounding toward positive infinity.

## Forms

- `ceil.w.s $f0, $f1`

## Operands

- `$f0`: Any floating-point register, `$f0` to `$f31`.
- `$f1`: A floating-point register. It may be the same register as `$f0`.

## Example

```mips
.data
a: .float -1.5
.text
# Apply ceil.w.s to an initialized value; inspect $f0: raw bits 0xFFFFFFFF.
l.s $f1, a
ceil.w.s $f0, $f1
```
