Support 32-bit float with the recording example