Replace LONGDOUBLE_TYPE with float64 throughout