-
Notifications
You must be signed in to change notification settings - Fork 9
/
eval.mli
26 lines (18 loc) · 1.28 KB
/
eval.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(* ========================================================================== *)
(* FPTaylor: A Tool for Rigorous Estimation of Round-off Errors *)
(* *)
(* Author: Alexey Solovyev, University of Utah *)
(* *)
(* This file is distributed under the terms of the MIT license *)
(* ========================================================================== *)
(* -------------------------------------------------------------------------- *)
(* Numerical (float, rational, interval) evaluation of symbolic expressions *)
(* -------------------------------------------------------------------------- *)
val eval_float_expr : (string -> float) -> Expr.expr -> float
val eval_float_const_expr : Expr.expr -> float
val eval_num_expr : (string -> Num.num) -> Expr.expr -> Num.num
val eval_num_const_expr : Expr.expr -> Num.num
val eval_interval_expr : ?cache:Interval.interval Expr.ExprHashtbl.t -> (string -> Interval.interval) ->
Expr.expr -> Interval.interval
val eval_interval_const_expr : Expr.expr -> Interval.interval
val eval_const_expr : Expr.expr -> Const.t