Perhaps you need to write something like that
let rec Power (x:bigint) (y:bigint) = if y=of_int 1 then x else x* Power (x) (y-of_int 1)
and use it as
Power (of_int 120) (of_int 10)

B.R.
Pavel

By on 6/30/2008 8:46 AM ()

Thanks Pavel.

By on 7/1/2008 4:36 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper