Local Notation __ := (eq_refl Datatypes.Lt).(** ** NaN payload manipulations *)

(** The following definitions are not part of the IEEE754 standard but
    apply to all architectures supported by CompCert. *)

(** Transform a Nan payload to a quiet Nan payload. *)

Program Definition transform_quiet_pl (pl:nan_pl 53) : nan_pl 53 :=
  Pos.lor pl (iter_nat xO 51 xH).

Lemma lor_idempotent: forall x y, Pos.lor (Pos.lor x y) y = Pos.lor x y.