Common — library colibrilib.fbin — module Fp
4550
module Fp : colibrilib.fp.Intf
4551
use export FpBase
4552
use colibrilib.fp.Widen
4553
4554
clone export colibrilib.fp.Intf {… begin (* cloned colibrilib.fp.Intf *) type
format
function
eb
format : int function
sb
format : int axiom
eb_gt_1
axiom
sb_gt_1
type
t
function
fmt
t : format val
format_of
t : format val
eq_format
format format : bool val
mk_format_o
int int : option format predicate
widens
format format function
emax
format : int val
widen
format : option format val predicate
is_nan
t : bool predicate
is_not_nan
t predicate
is_plus_infinity
t predicate
is_minus_infinity
t function
not_a_number
format : t axiom
not_a_number_spec
axiom
nan_unique
function
plus_infinity
format : t axiom
plus_infinity_spec
function
minus_infinity
format : t axiom
minus_infinity_spec
predicate
le_dz
t t predicate
lt_dz
t t axiom
le_not_nan
axiom
lt_not_nan
axiom
lt_plus_infinity
axiom
minus_infinity_lt
axiom
plus_infinity_unique
axiom
minus_infinity_unique
axiom
infinities_not_nan
axiom
infinities_differ
axiom
lt_not_plus_infinity
axiom
lt_not_minus_infinity
val
le_diff_zero
t t : bool val
lt_diff_zero
t t : bool function
nb_sign
format : int function
index
t : int function
of_index
format int : t axiom
index_le
axiom
index_lt
axiom
index_inj
val ghost
index_range
t : unit val ghost
of_index_range
format int : unit val
nb_sign_v
format : int val
binade_v
format : int val
of_index_v
format int : t val
index_v
t : int val
eb_v
format : int val
sb_v
format : int function
succ_dz
t : t function
pred_dz
t : t val
succ_diff_zero
t : t val
pred_diff_zero
t : t val
mid_index
t t : t predicate
is_zero
t predicate
is_positive
t axiom
index_zero
axiom
index_positive
function
magnitude
t : int predicate
is_subnormal
t predicate
is_normal
t axiom
index_subnormal
axiom
index_normal
axiom
index_plus_infinity
axiom
index_minus_infinity
val function
neg
t : t val function
abs
t : t axiom
neg_fmt
axiom
abs_fmt
axiom
neg_nan
axiom
abs_nan
axiom
index_neg
axiom
index_abs
predicate
fp_le
t t predicate
fp_lt
t t predicate
fp_eq
t t function
min
t t : t function
max
t t : t axiom
min_choice
axiom
max_choice
function
to_real
t : real function
ext
t : ereal axiom
ext_def
axiom
ext_le
axiom
ext_zero
axiom
ext_neg
axiom
ext_lt
predicate
is_rtn
mode function
round_f
format mode bool ereal : t axiom
round_f_not_nan
axiom
round_f_infinities
axiom
round_f_fin_zero
axiom
round_f_zero
axiom
round_f_le
axiom
round_f_exact
val
of_int
format mode bool int : t val ghost
int_exact
format int : t val ghost
widen_exact
format t : t function
ulp_min
format : int function
ulp_max
format : int val ghost
float_dyadic
t : unit val ghost
round_fix
format mode bool real int : unit val ghost
round_zero_small
format mode bool real : unit val ghost
dyadic_exact
format real : t val ghost
max_float_ge
format : unit val ghost
near_double
mode bool t real : unit val
to_dyadic
t : int,int val
nearest_bounds
t t : option (int,int,int,int,int,int,int,int,int,int) axiom
round_f_down
axiom
round_f_up
axiom
ext_widen
axiom
round_f_ge_thr
axiom
round_f_le_thr
function
add_zneg
mode t t : bool function
fp_add
mode t t : t val
add
mode t t : t predicate
is_infinity
t val
float_lo
t bool bool : t val
float_hi
t bool bool : t function
fp_add_i
mode t t : t axiom
fp_add_i_def
val
add_bounds
t t : option (t,t) function
mul_zneg
t t : bool function
fp_mul
mode t t : t val
mul
mode t t : t function
fp_div
mode t t : t val
div
mode t t : t function
fp_sqrt
mode t : t val
sqrt
mode t : t function
fp_convert
format mode t : t val
convert
format mode t : t function
round_int
mode real : int axiom
round_int_monotonic
function
eround_int
mode ereal : ereal function
fp_rti
mode t : t val
round_to_integral
mode t : t function
int_thr_lo
mode int : real function
int_thr_hi
mode int : real val ghost
round_int_ge
mode real int : unit val ghost
round_int_le
mode real int : unit val ghost
round_int_ceil
real int : unit val ghost
round_int_floor
real int : unit val
round_int_v
mode t : int val
of_q
format mode bool int int : t val
round_bracket
format mode int int int int : option t val
round_between
format mode int int : t end
}
with
4555
type format = format,
4556
type t = t,
4557
function fmt = fmt,
4558
val format_of = format_of,
4559
val eq_format = eq_format,
4560
val mk_format_o = mk_format_o,
4561
val nearest_bounds = nearest_bounds,
4562
val nb_sign_v = nb_sign_v,
4563
val binade_v = binade_v,
4564
val of_index_v = of_index_v,
4565
val index_v = index_v,
4566
val eb_v = eb_v,
4567
val sb_v = sb_v,
4568
val float_lo = float_lo,
4569
val float_hi = float_hi,
4570
function fp_add_i = fp_add_i,
4571
val add_bounds = add_bounds,
4572
val succ_diff_zero = succ_diff_zero,
4573
val pred_diff_zero = pred_diff_zero,
4574
val mid_index = mid_index,
4575
val of_int = of_int,
4576
val widen = widen,
4577
val is_nan = is_nan,
4578
predicate is_plus_infinity = is_plus_infinity,
4579
predicate is_minus_infinity = is_minus_infinity,
4580
function not_a_number = not_a_number,
4581
function plus_infinity = plus_infinity,
4582
function minus_infinity = minus_infinity,
4583
predicate le_dz = le_dz,
4584
predicate lt_dz = lt_dz,
4585
val le_diff_zero = le_diff_zero,
4586
val lt_diff_zero = lt_diff_zero,
4587
function eb = eb,
4588
function sb = sb,
4589
predicate is_zero = is_zero,
4590
predicate is_positive = is_positive,
4591
predicate is_subnormal = is_subnormal,
4592
predicate is_normal = is_normal,
4593
function index = index,
4594
function of_index = of_index,
4595
val index_range = index_range,
4596
val of_index_range = of_index_range,
4597
val neg = neg,
4598
val abs = abs,
4599
function min = min,
4600
function max = max,
4601
function to_real = to_real,
4602
function ext = ext,
4603
function round_f = round_f,
4604
val add = add,
4605
val mul = mul,
4606
val convert = convert,
4607
val div = div,
4608
val sqrt = sqrt,
4609
function round_int = round_int,
4610
val round_to_integral = round_to_integral,
4611
val int_exact = int_exact,
4612
val widen_exact = widen_exact,
4613
val float_dyadic = float_dyadic,
4614
val round_fix = round_fix,
4615
val round_zero_small = round_zero_small,
4616
val dyadic_exact = dyadic_exact,
4617
val max_float_ge = max_float_ge,
4618
val near_double = near_double,
4619
val to_dyadic = to_dyadic,
4620
val round_int_ge = round_int_ge,
4621
val round_int_le = round_int_le,
4622
val round_int_ceil = round_int_ceil,
4623
val round_int_floor = round_int_floor,
4624
val round_int_v = round_int_v,
4625
val of_q = of_q,
4626
val round_bracket = round_bracket,
4627
val round_between = round_between
4628
end