🦖 Math.f16round()
☑️ Newly available (from Apr 2025)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/f16round

The Math.f16round() static method returns the nearest 16-bit half precision float representation of a number.

#webdev #JavaScript

Math.f16round() - JavaScript | MDN

The Math.f16round() static method returns the nearest 16-bit half precision float representation of a number.

MDN Web Docs