Path: blob/main/files/en-us/webassembly/reference/numeric/ceil/index.md
6519 views
------{{WebAssemblySidebar}}
The ceil instructions, are used for getting the value of a number rounded up to the next integer.
{{EmbedInteractiveExample("pages/wat/ceil.html", "tabbed-standard")}}
Syntax
| Instruction | Binary opcode |
|---|---|
f32.ceil | 0x8d |
f64.ceil | 0x9b |