package mopsa
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
md5=37966e98ffeebcedc09bd6e9b2b81f69
    
    
  sha512=40d4d826c25f680766c07eccbabdf5e8a4fa023016e8a164e4e4f6b3781c8484dc4df437055721dfd19b9db8fb7fe3b61236c4833186d346fc7204a68d01eaaa
    
    
  doc/mopsa.mopsa_utils/Mopsa_utils/ItvUtils/FloatItv/Single/index.html
Module FloatItv.Single
Intervals with rounding to float.
module FF = F.SingleArithmetic
val add_inner : t -> t -> t_with_botAddition.
val sub_inner : t -> t -> t_with_botSubtraction.
val mul_inner : t -> t -> t_with_botMultiplication.
val divpos_inner : t -> t -> t_with_botDivision. Returns a list of 0, 1, or 2 intervals to remain precise.
val div_near : t -> t -> t_with_botval div_up : t -> t -> t_with_botval div_down : t -> t -> t_with_botval div_zero : t -> t -> t_with_botval div_outer : t -> t -> t_with_botval div_inner : t -> t -> t_with_botDivision. Returns a single interval.
val square_inner : t -> t_with_botSquare.
val sqrt_near : t -> t_with_botval sqrt_up : t -> t_with_botval sqrt_down : t -> t_with_botval sqrt_zero : t -> t_with_botval sqrt_outer : t -> t_with_botval sqrt_inner : t -> t_with_botSquare root. Returns the square root of the positive part, possibly ⊥.
val round_int_inner : t -> t_with_botRound to integer.
Values that, after rounding to integer in the specified direction, may be in the argument interval. Useful for backward operators.
Values that, after rounding to float, may be in the argument interval. Useful for backward operators.
val of_int_near : int -> int -> tval of_int_up : int -> int -> tval of_int_down : int -> int -> tval of_int_zero : int -> int -> tval of_int_outer : int -> int -> tval of_int_inner : int -> int -> t_with_botConversion from int.
val of_int64_near : int64 -> int64 -> tval of_int64_up : int64 -> int64 -> tval of_int64_down : int64 -> int64 -> tval of_int64_zero : int64 -> int64 -> tval of_int64_outer : int64 -> int64 -> tval of_int64_inner : int64 -> int64 -> t_with_botConversion from int64.
val of_double_near : float -> float -> tval of_double_up : float -> float -> tval of_double_down : float -> float -> tval of_double_zero : float -> float -> tval of_double_outer : float -> float -> tval of_double_inner : float -> float -> t_with_botConversion from double.
val of_z_inner : Z.t -> Z.t -> t_with_botConversion from Z.t.
Filters
Given two interval aruments, return the arguments assuming that the predicate holds.
val filter_leq : t -> t -> (t * t) Core.Bot.with_botval filter_geq : t -> t -> (t * t) Core.Bot.with_botval filter_lt : t -> t -> (t * t) Core.Bot.with_botval filter_gt : t -> t -> (t * t) Core.Bot.with_botval filter_eq : t -> t -> (t * t) Core.Bot.with_botval filter_neq : t -> t -> (t * t) Core.Bot.with_botBackward operations
Given one or two interval argument(s) and a result interval, return the argument(s) assuming the result in the operation is in the given result.
val bwd_round_int_near : t -> t -> t_with_botval bwd_round_int_up : t -> t -> t_with_botval bwd_round_int_down : t -> t -> t_with_botval bwd_round_int_zero : t -> t -> t_with_botval bwd_round_int_any : t -> t -> t_with_botval bwd_round_int_noround : t -> t -> t_with_botBackward rounding to int.
val bwd_round_near : t -> t -> t_with_botval bwd_round_up : t -> t -> t_with_botval bwd_round_down : t -> t -> t_with_botval bwd_round_zero : t -> t -> t_with_botval bwd_round_any : t -> t -> t_with_botval bwd_round_noround : t -> t -> t_with_botBackward rounding from double or real.
val bwd_square : t -> t -> t_with_botval bwd_square_near : t -> t -> t_with_botval bwd_square_up : t -> t -> t_with_botval bwd_square_down : t -> t -> t_with_botval bwd_square_zero : t -> t -> t_with_botval bwd_square_any : t -> t -> t_with_botval bwd_square_noround : t -> t -> t_with_botBackward square.
val bwd_sqrt : t -> t -> t_with_botval bwd_sqrt_near : t -> t -> t_with_botval bwd_sqrt_up : t -> t -> t_with_botval bwd_sqrt_down : t -> t -> t_with_botval bwd_sqrt_zero : t -> t -> t_with_botval bwd_sqrt_any : t -> t -> t_with_botval bwd_sqrt_noround : t -> t -> t_with_botBackward square root.
Backward conversion from int.
val bwd_to_z : Z.t -> Z.t -> t -> t_with_botBackward conversion to int.
val meet_nonzero : t -> t_with_botKeeps only non-zero elements.