From 14a9bb4b267eeead8cd9503ee19e860a8bc0d763 Mon Sep 17 00:00:00 2001 From: xleroy Date: Thu, 28 Oct 2010 14:56:39 +0000 Subject: Float.intoffloat and Float.intuoffloat are now partial functions. (May fail if float is too big to be converted.) git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1544 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- backend/Selectionproof.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/Selectionproof.v') diff --git a/backend/Selectionproof.v b/backend/Selectionproof.v index cb9f4fc5..d997015f 100644 --- a/backend/Selectionproof.v +++ b/backend/Selectionproof.v @@ -220,8 +220,8 @@ Proof. apply eval_negf; auto. apply eval_absf; auto. apply eval_singleoffloat; auto. - apply eval_intoffloat; auto. - apply eval_intuoffloat; auto. + remember (Float.intoffloat f) as oi; destruct oi; inv H0. eapply eval_intoffloat; eauto. + remember (Float.intuoffloat f) as oi; destruct oi; inv H0. eapply eval_intuoffloat; eauto. apply eval_floatofint; auto. apply eval_floatofintu; auto. Qed. -- cgit