aboutsummaryrefslogtreecommitdiff
path: root/contrib/extraction/test/custom/Reals.v
blob: d42fe0a53c5825aa95c3f11de66ea949b0601366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Require Reals. 
Extract Inlined Constant R => float.
Extract Inlined Constant R0 => "0.0".
Extract Inlined Constant R1 => "1.0".
Extract Inlined Constant Rplus => "(+.)".
Extract Inlined Constant Rmult => "( *.)".
Extract Inlined Constant Ropp => "(~-.)".
Extract Inlined Constant Rinv => "(fun x -> 1.0 /. x)".
Extract Inlined Constant Rlt => "(<)".
Extract Inlined Constant up => "AddReals.my_ceil".
Extract Inlined Constant total_order_T => "AddReals.total_order_T".