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