def METHOD_NAME():
    res: f64
    eps: f64 = 1e-12
    arr_i32: list[i32]
    arr_i32 = [6, 12]
    res = fsum(arr_i32)
    assert abs(res - 18.0) < eps
    a: i64 = i64(12)
    b: i64 = i64(6)
    arr_i64: list[i64]
    arr_i64 = [a, b]
    res = fsum(arr_i64)
    assert abs(res - 18.0) < eps
    x: f32 = f32(12.5)
    y: f32 = f32(6.5)
    arr_f32: list[f32]
    arr_f32 = [x, y]
    res = fsum(arr_f32)
    assert abs(res - 19.0) < eps
    arr_f64: list[f64]
    arr_f64 = [12.6, 6.4]
    res = fsum(arr_f64)
    assert abs(res - 19.0) < eps