You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebGL supports the HALF_FLOAT type but while most CPUs support half float arithmetic, it is not exposed to the JS runtime
What solutions exist today?
Software encoding of values, very slow
How would you solve it?
A variety of self-explanatory APIs:
DataView.prototype.getFloat16(idx,little?)DataView.prototype.setFloat16(idx,value,little?)Float16ArrayMath.f16round(value)Math.toFloat16(value,endian=/*host*/)// Convert value to unsigned integer using 16 bits// For parityMath.toFloat32(value,endian=/*host*/)// Convert value to signed integer using 32 bitsMath.toFloat64BigInt(value,endian=/*host*/)// Convert value to unsigned BigInt using 64 bits
Anything else?
Let me know if I have missed anything!
The text was updated successfully, but these errors were encountered:
What problem are you trying to solve?
WebGL supports the HALF_FLOAT type but while most CPUs support half float arithmetic, it is not exposed to the JS runtime
What solutions exist today?
Software encoding of values, very slow
How would you solve it?
A variety of self-explanatory APIs:
Anything else?
Let me know if I have missed anything!
The text was updated successfully, but these errors were encountered: