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.

Learn more

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)

  • Chrome 75 Released on 2019-06-04
  • Chrome Android 75 Released on 2019-06-04
  • Edge 18 Released on 2018-10-02
  • Firefox 64 Released on 2018-12-11
  • Firefox for Android 64 Released on 2018-12-11
  • Safari 15.1 Released on 2021-10-25
  • Safari on iOS 15.1 Released on 2021-10-25