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 nan_payload_fequal: forall prec (p1 p2: nan_pl prec), proj1_sig p1 = proj1_sig p2 -> p1 = p2.