You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
< html xmlns = "http://www.w3.org/1999/xhtml" > < head > < title > ZSafe (infer.Pulselib.ZSafe)< / title > < link rel = "stylesheet" href = "../../../odoc.css" / > < meta charset = "utf-8" / > < meta name = "generator" content = "odoc 1.5.2" / > < meta name = "viewport" content = "width=device-width,initial-scale=1.0" / > < script src = "../../../highlight.pack.js" > < / script > < script > hljs . initHighlightingOnLoad ( ) ; < / script > < / head > < body > < div class = "content" > < header > < nav > < a href = "../index.html" > Up< / a > – < a href = "../../index.html" > infer< / a > » < a href = "../index.html" > Pulselib< / a > » ZSafe< / nav > < h1 > Module < code > Pulselib.ZSafe< / code > < / h1 > < / header > < div > < div class = "spec include" > < div class = "doc" > < details open = "open" > < summary > < span class = "def" > < code > < span class = "keyword" > include< / span > < span class = "keyword" > module< / span > < span class = "keyword" > type< / span > < span class = "keyword" > of< / span > < span class = "keyword" > sig< / span > ... < span class = "keyword" > end< / span > < / code > < / span > < / summary > < dl > < dt class = "spec type" id = "type-t" > < a href = "#type-t" class = "anchor" > < / a > < code > < span class = "keyword" > type< / span > t< / code > < code > = Z.t< / code > < / dt > < / dl > < dl > < dt class = "spec exception" id = "exception-Overflow" > < a href = "#exception-Overflow" class = "anchor" > < / a > < code > < span class = "keyword" > exception< / span > < / code > < code > < span class = "exception" > Overflow< / span > < / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-zero" > < a href = "#val-zero" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > zero : < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-one" > < a href = "#val-one" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > one : < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-minus_one" > < a href = "#val-minus_one" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > minus_one : < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-of_int" > < a href = "#val-of_int" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_int : int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-of_int32" > < a href = "#val-of_int32" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_int32 : int32 < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-of_int64" > < a href = "#val-of_int64" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_int64 : int64 < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-of_nativeint" > < a href = "#val-of_nativeint" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_nativeint : nativeint < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-of_float" > < a href = "#val-of_float" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_float : float < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-of_string" > < a href = "#val-of_string" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_string : string < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-of_substring" > < a href = "#val-of_substring" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_substring : string < span > - > < / span > < span > pos:int< / span > < span > - > < / span > < span > len:int< / span > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-of_string_base" > < a href = "#val-of_string_base" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_string_base : int < span > - > < / span > string < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-of_substring_base" > < a href = "#val-of_substring_base" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_substring_base : int < span > - > < / span > string < span > - > < / span > < span > pos:int< / span > < span > - > < / span > < span > len:int< / span > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-succ" > < a href = "#val-succ" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > succ : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-pred" > < a href = "#val-pred" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > pred : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-abs" > < a href = "#val-abs" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > abs : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-neg" > < a href = "#val-neg" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > neg : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-add" > < a href = "#val-add" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > add : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-sub" > < a href = "#val-sub" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > sub : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-mul" > < a href = "#val-mul" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > mul : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-div" > < a href = "#val-div" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > div : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-rem" > < a href = "#val-rem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > rem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-div_rem" > < a href = "#val-div_rem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > div_rem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-cdiv" > < a href = "#val-cdiv" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > cdiv : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-fdiv" > < a href = "#val-fdiv" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > fdiv : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-ediv_rem" > < a href = "#val-ediv_rem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > ediv_rem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-ediv" > < a href = "#val-ediv" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > ediv : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-erem" > < a href = "#val-erem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > erem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-divexact" > < a href = "#val-divexact" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > divexact : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-logand" > < a href = "#val-logand" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > logand : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-logor" > < a href = "#val-logor" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > logor : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-logxor" > < a href = "#val-logxor" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > logxor : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-lognot" > < a href = "#val-lognot" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > lognot : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-shift_left" > < a href = "#val-shift_left" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > shift_left : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-shift_right" > < a href = "#val-shift_right" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > shift_right : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-shift_right_trunc" > < a href = "#val-shift_right_trunc" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > shift_right_trunc : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-numbits" > < a href = "#val-numbits" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > numbits : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < dt class = "spec external" id = "val-trailing_zeros" > < a href = "#val-trailing_zeros" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > trailing_zeros : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-testbit" > < a href = "#val-testbit" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > testbit : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > bool< / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-popcount" > < a href = "#val-popcount" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > popcount : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < dt class = "spec external" id = "val-hamdist" > < a href = "#val-hamdist" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > hamdist : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < dt class = "spec external" id = "val-to_int" > < a href = "#val-to_int" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > to_int : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < dt class = "spec external" id = "val-to_int32" > < a href = "#val-to_int32" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > to_int32 : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int32< / code > < / dt > < dt class = "spec external" id = "val-to_int64" > < a href = "#val-to_int64" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > to_int64 : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int64< / code > < / dt > < dt class = "spec external" id = "val-to_nativeint" > < a href = "#val-to_nativeint" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > to_nativeint : < a href = "index.html#type-t" > t< / a > < span > - > < / span > nativeint< / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-to_float" > < a href = "#val-to_float" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > to_float : < a href = "index.html#type-t" > t< / a > < span > - > < / span > float< / code > < / dt > < dt class = "spec value" id = "val-to_string" > < a href = "#val-to_string" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > to_string : < a href = "index.html#type-t" > t< / a > < span > - > < / span > string< / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-format" > < a href = "#val-format" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > format : string < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > string< / code > < / dt > < dt class = "spec external" id = "val-fits_int" > < a href = "#val-fits_int" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > fits_int : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec external" id = "val-fits_int32" > < a href = "#val-fits_int32" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > fits_int32 : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec external" id = "val-fits_int64" > < a href = "#val-fits_int64" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > fits_int64 : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec external" id = "val-fits_nativeint" > < a href = "#val-fits_nativeint" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > fits_nativeint : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-print" > < a href = "#val-print" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > print : < a href = "index.html#type-t" > t< / a > < span > - > < / span > unit< / code > < / dt > < dt class = "spec value" id = "val-output" > < a href = "#val-output" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > output : Stdlib.out_channel < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > unit< / code > < / dt > < dt class = "spec value" id = "val-sprint" > < a href = "#val-sprint" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > sprint : unit < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > string< / code > < / dt > < dt class = "spec value" id = "val-bprint" > < a href = "#val-bprint" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > bprint : Stdlib.Buffer.t < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > unit< / code > < / dt > < dt class = "spec value" id = "val-pp_print" > < a href = "#val-pp_print" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > pp_print : Stdlib.Format.formatter < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > unit< / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-compare" > < a href = "#val-compare" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > compare : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < dt class = "spec external" id = "val-equal" > < a href = "#val-equal" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > equal : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-leq" > < a href = "#val-leq" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > leq : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec value" id = "val-geq" > < a href = "#val-geq" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > geq : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec value" id = "val-lt" > < a href = "#val-lt" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > lt : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec value" id = "val-gt" > < a href = "#val-gt" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > gt : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-sign" > < a href = "#val-sign" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > sign : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-min" > < a href = "#val-min" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > min : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-max" > < a href = "#val-max" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > max : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-is_even" > < a href = "#val-is_even" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > is_even : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec value" id = "val-is_odd" > < a href = "#val-is_odd" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > is_odd : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-hash" > < a href = "#val-hash" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > hash : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < dt class = "spec external" id = "val-gcd" > < a href = "#val-gcd" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > gcd : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-gcdext" > < a href = "#val-gcdext" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > gcdext : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec value" id = "val-lcm" > < a href = "#val-lcm" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > lcm : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-powm" > < a href = "#val-powm" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > powm : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-powm_sec" > < a href = "#val-powm_sec" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > powm_sec : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-invert" > < a href = "#val-invert" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > invert : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-probab_prime" > < a href = "#val-probab_prime" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > probab_prime : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > int< / code > < / dt > < dt class = "spec external" id = "val-nextprime" > < a href = "#val-nextprime" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > nextprime : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-pow" > < a href = "#val-pow" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > pow : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-sqrt" > < a href = "#val-sqrt" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > sqrt : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-sqrt_rem" > < a href = "#val-sqrt_rem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > sqrt_rem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-root" > < a href = "#val-root" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > root : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-perfect_power" > < a href = "#val-perfect_power" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > perfect_power : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec external" id = "val-perfect_square" > < a href = "#val-perfect_square" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > perfect_square : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-log2" > < a href = "#val-log2" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > log2 : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < dt class = "spec value" id = "val-log2up" > < a href = "#val-log2up" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > log2up : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-size" > < a href = "#val-size" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > size : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < dt class = "spec external" id = "val-extract" > < a href = "#val-extract" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > extract : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-signed_extract" > < a href = "#val-signed_extract" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > signed_extract : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-to_bits" > < a href = "#val-to_bits" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > to_bits : < a href = "index.html#type-t" > t< / a > < span > - > < / span > string< / code > < / dt > < dt class = "spec external" id = "val-of_bits" > < a href = "#val-of_bits" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > of_bits : string < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(~-)" > < a href = "#val-(~-)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (~-) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec value" id = "val-(~+)" > < a href = "#val-(~+)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (~+) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < dl > < dt class = "spec external" id = "val-(+)" > < a href = "#val-(+)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (+) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(-)" > < a href = "#val-(-)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (-) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(*)" > < a href = "#val-(*)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (*) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(/)" > < a href = "#val-(/)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (/) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(/>)" > < a href = "#val-(/>)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (/> ) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(/<)" > < a href = "#val-(/<)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (/< ) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(/|)" > < a href = "#val-(/|)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (/|) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(mod)" > < a href = "#val-(mod)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (mod) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(land)" > < a href = "#val-(land)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (land) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(lor)" > < a href = "#val-(lor)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (lor) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(lxor)" > < a href = "#val-(lxor)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (lxor) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(~!)" > < a href = "#val-(~!)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (~!) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(lsl)" > < a href = "#val-(lsl)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (lsl) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(asr)" > < a href = "#val-(asr)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (asr) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(~$)" > < a href = "#val-(~$)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (~$) : int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < dt class = "spec external" id = "val-(**)" > < a href = "#val-(**)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (**) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > int < span > - > < / span > < a href = "index.html#type-t" > t< / a > < / code > < / dt > < / dl > < div class = "spec module" id = "module-Compare" > < a href = "#module-Compare" class = "anchor" > < / a > < code > < span class = "keyword" > module< / span > Compare = Z.Compare< / code > < / div > < dl > < dt class = "spec value" id = "val-version" > < a href = "#val-version" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > version : string< / code > < / dt > < dt class = "spec value" id = "val-round_to_float" > < a href = "#val-round_to_float" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > round_to_float : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool < span > - > < / span > float< / code > < / dt > < / dl > < / details > < / div > < / div > < / div > < dl > < dt class = "spec value" id = "val-protect" > < a href = "#val-protect" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > protect : < span > (< span class = "type-var" > 'a< / span > < span > - > < / span > < span class = "type-var" > 'b< / span > )< / span > < span > - > < / span > < span class = "type-var" > 'a< / span > < span > - > < / span > < span > < span class = "type-var" > 'b< / span > option< / span > < / code > < / dt > < dd > < p > < code > None< / code > instead of throwing < code > Division_by_zero | Invalid_argument _ | Z.Overflow< / code > < / p > < / dd > < / dl > < dl > < dt class = "spec value" id = "val-yojson_of_t" > < a href = "#val-yojson_of_t" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > yojson_of_t : < a href = "index.html#type-t" > t< / a > < span > - > < / span > Ppx_yojson_conv_lib.Yojson.Safe.t< / code > < / dt > < dt class = "spec value" id = "val-div" > < a href = "#val-div" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > div : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-rem" > < a href = "#val-rem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > rem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-div_rem" > < a href = "#val-div_rem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > div_rem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < span > (< a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > )< / span > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-cdiv" > < a href = "#val-cdiv" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > cdiv : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-fdiv" > < a href = "#val-fdiv" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > fdiv : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-ediv_rem" > < a href = "#val-ediv_rem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > ediv_rem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < span > (< a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > )< / span > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-ediv" > < a href = "#val-ediv" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > ediv : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-erem" > < a href = "#val-erem" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > erem : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-divexact" > < a href = "#val-divexact" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > divexact : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-gcd" > < a href = "#val-gcd" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > gcd : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-gcdext" > < a href = "#val-gcdext" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > gcdext : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < span > (< a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > * < a href = "index.html#type-t" > t< / a > )< / span > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-lcm" > < a href = "#val-lcm" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > lcm : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-powm" > < a href = "#val-powm" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > powm : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < span > (< a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > )< / span > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-powm_sec" > < a href = "#val-powm_sec" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > powm_sec : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < span > (< a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > )< / span > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-invert" > < a href = "#val-invert" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > invert : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-(/)" > < a href = "#val-(/)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (/) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-(/>)" > < a href = "#val-(/>)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (/> ) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-(/<)" > < a href = "#val-(/<)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (/< ) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-(/|)" > < a href = "#val-(/|)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (/|) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < dt class = "spec value" id = "val-(mod)" > < a href = "#val-(mod)" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > (mod) : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > < span > < a href = "index.html#type-t" > t< / a > option< / span > < / code > < / dt > < / dl > < / div > < / body > < / html >