Updated float implementation