def METHOD_NAME(v):
    """function to compute the variance after conversion to double to avoid
    rounding problems with older numpy versions
    """
    from numpy import float64
    return v.astype(float64).METHOD_NAME()