Revert "Remove spurious multiplication with sizeof(float)"
This reverts commit 71374b68c9d0a98c0fb87ba3703cdaf6f4d3bbb2.
(cherry picked from commit 0fb30efed8a3b08b4db37a2a1d7a9a2981dd45fd)