Login
7 branches 0 tags
Benjamin Vincent Schulenburg Allow nujel methods for primitive types 2c34de5 2 years ago 1063 Commits
nujel / benchmark / euler1 / julia.jl
function testCalc()
    ret = 0
    for i in 1:(10000000-1)
        if (((i % 3) == 0) || ((i % 5) == 0))
            ret = ret + i
        end
    end
    return ret
end
print(string("The sum is: ", testCalc()))