def METHOD_NAME(language):
    @template('T', ['float', 'int'])
    def sqrt(x : 'T'):
        return x**0.5
    f = epyccel(sqrt, language=language)
    x = randint(40)
    y = uniform()
    assert isclose(f(x), sqrt(x), rtol=RTOL, atol=ATOL)
    assert isinstance(f(x), type(sqrt(x)))
    assert isclose(f(y), sqrt(y), rtol=RTOL, atol=ATOL)
    assert isinstance(f(y), type(sqrt(y)))