def samesign(a,b):
    """
    Check if two numbers have the same sign
    Paramenters
    ---------
    a: `float`
    b: `float`

    Returns
    ---------
    a * b > 0: `bool` True if a and b have the same sign

    """
    return a * b > 0