Web platform features explorer

Non-trapping float-to-int conversion (WebAssembly)

Widely available since 2024-04-25
Tags: webassembly Groups: WebAssembly

Saturating floating-point to integer conversion operators return the maximum or minimum integer value on overflow instead of trapping.

Learning resources on MDN

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.

Browser support (view on caniuse.com)