Paste number 33657: O'Caml big int

Paste number 33657: O'Caml big int
Pasted by: Jessehk
When:18 years, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+PYX
Channel:None
Paste contents:
Raw Source | XML | Display As
open Big_int;;

let main () =
	let x = big_int_of_string "4294967296" in
	let y = 1269760 in
	let answer = power_big_int_positive_int x y in
	print_endline (string_of_big_int answer);;

(*
 *$ ocamlc big_math.ml -o big
 *Error while linking big_math.cmo: Reference to undefined global `Big_int'
 *)

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.