Debian Codegraph @

test-suite/primitive/float/syntax.v

raw
1 Require Import PrimFloat.
2
3 Open Scope float_scope.
4
5 Definition two := Eval compute in one + one.
6 Definition half := Eval compute in one / two.
7
8 Check (eq_refl : 1.5 = one + half).
9 Check (eq_refl : 15e-1 = one + half).
10 Check (eq_refl : 150e-2 = one + half).
11 Check (eq_refl : 0.15e+1 = one + half).
12 Check (eq_refl : 0.15e1 = one + half).
13 Check (eq_refl : 0.0015e3 = one + half).