Remove a floating point calculation from ay codec.