Path: blob/main/files/en-us/webassembly/reference/numeric/square_root/index.md
6512 views
------{{WebAssemblySidebar}}
The sqrt instructions, short for square root, are used to get the square root of a number.
{{EmbedInteractiveExample("pages/wat/sqrt.html", "tabbed-standard")}}
Syntax
| Instruction | Binary opcode |
|---|---|
f32.sqrt | 0x91 |
f64.sqrt | 0x9f |