You shouldn't really change this... This function is still only for floating-point.