The method CByteArray>>floatAt:put: errors with a SmallFloat argument.
While SmallFloat is largely deprecated in favor of SmallDouble, it is still used in the FFI when interfacing to libraries that take 32-bit floating point arguments.
Convert the argument to a SmallDouble or Float. This can be done using asFloat (which creates an instance of SmallDouble for floating point values with the SmallDouble range)
Last updated: 4/15/22