Path: blob/main/files/en-us/webassembly/reference/numeric/max/index.md
6510 views
------{{WebAssemblySidebar}}
The max instructions, are used for getting the higher of two numbers.
{{EmbedInteractiveExample("pages/wat/max.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
f32.max | 0x97 |
f64.max | 0xa5 |