import math


def Hash11(x, seed=1234., magic=(1234.5678, 98765.4321)):
    """Returns a pseudo random floating-point hash in the interval [0, 1].

    Args:
        x (float): The value to get the pseudo random hash for.
        seed (float, optional): The seed offset for the hash.
        magic (tuple[float, float], optional): The magic numbers.
         Defaults to (1234.5678, 98765.4321).

    Returns:
        float: The random hash for x in the interval [0, 1].
    """
    return math.modf(math.sin((x * seed) * magic[0]) * magic[1])[0] * .5 + .5