Fixed a bug in largedouble