Section Fprop_divsqrt_error.
Variable beta : radix.
Notation bpow e := (bpow beta e).
Variable prec : Z.
Context { prec_gt_0_ : Prec_gt_0 prec }.
Notation format := (generic_format beta (FLX_exp prec)).
Notation cexp := (cexp beta (FLX_exp prec)).
Variable choice : Z -> bool.

(** Remainder of the division in FLX *)
Theorem div_error_FLX :
forall rnd { Zrnd : Valid_rnd rnd } x y,
format x -> format y ->
format (x - round beta (FLX_exp prec) rnd (x/y) * y)%R.