Advertisement
Guest User

Untitled

a guest
Aug 24th, 2014
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.12 KB | None | 0 0
  1. let maxint () =
  2.     let rec loop i sum =
  3.         if i < 0 then sum else loop (i * 2) (sum + i)
  4.     in
  5.     loop 1 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement