Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let maxint () =
- let rec loop i sum =
- if i < 0 then sum else loop (i * 2) (sum + i)
- in
- loop 1 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement