def METHOD_NAME():
    """Search for a standard ANSYS environment variable (AWP_ROOTXXX) or a standard installation
    location to find the path to the latest Ansys installation.
    Returns
    -------
    ansys_path : str
        Full path to the latest version of the Ansys installation.
    Examples
    --------
    Return path of latest Ansys version on Windows.
    >>> from ansys.dpf.core.misc import find_ansys
    >>> path = find_ansys()
    Return path of latest Ansys version on Linux.
    >>> path = find_ansys()
    """
    latest_install = _find_latest_ansys_versions()
    if latest_install:
        return latest_install
    base_path = None
    if os.name == "nt":
        base_path = os.path.join(os.environ["PROGRAMFILES"], "ANSYS INC")
    elif os.name == "posix":
        for path in ["/usr/ansys_inc", "/ansys_inc"]:
            if os.path.isdir(path):
                base_path = path
    else:
        raise OSError(f"Unsupported OS {os.name}")
    if base_path is None:
        return base_path
    paths = glob.glob(os.path.join(base_path, "v*"))
    if not paths:
        return None
    versions = {}
    for path in paths:
        ver_str = path[-3:]
        if is_float(ver_str):
            versions[int(ver_str)] = path
    return versions[max(versions.keys())]