Support float-to-decimal casts with proper overflow checking.