Path: blob/main/files/en-us/webassembly/reference/numeric/demote/index.md
6520 views
------{{WebAssemblySidebar}}
The demote instruction, is used to convert (demote) numbers of type f64 to type f32.
{{EmbedInteractiveExample("pages/wat/demote.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
f32.demote_f64 | 0xb6 |