caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Floating point exception
@ 2002-10-08  9:00 sdjebali
  2002-10-09  4:35 ` [Caml-list] " Michaël Grünewald
  2002-10-11  9:29 ` [Caml-list] " Xavier Leroy
  0 siblings, 2 replies; 3+ messages in thread
From: sdjebali @ 2002-10-08  9:00 UTC (permalink / raw)
  To: caml-list

Bonjour,

je souhaiterais juste savoir d'ou peut provenir un message du type :
Floating point exception.

En effet apres avoir compile des sources OCAML avec ocamlopt la
compilation reussit bien, en revanche a l'execution (prenant en argument
un fichier) j'obtiens cette exception avant meme d'obtenir un quelconque
print qui est pourtant au tout debut du programme.

Je m'interroge et pensais que peut-etre quelqu'un pourrait m'aider?

Je vous remercie d'avance.
Sarah Djebali.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Caml-list] Re: Floating point exception
  2002-10-08  9:00 [Caml-list] Floating point exception sdjebali
@ 2002-10-09  4:35 ` Michaël Grünewald
  2002-10-11  9:29 ` [Caml-list] " Xavier Leroy
  1 sibling, 0 replies; 3+ messages in thread
From: Michaël Grünewald @ 2002-10-09  4:35 UTC (permalink / raw)
  To: caml-list

sdjebali <sdjebali@genoscope.cns.fr> writes:

> Bonjour,
> 
> je souhaiterais juste savoir d'ou peut provenir un message du type :
> Floating point exception.
> 
> En effet apres avoir compile des sources OCAML avec ocamlopt la
> compilation reussit bien, en revanche a l'execution (prenant en argument
> un fichier) j'obtiens cette exception avant meme d'obtenir un quelconque
> print qui est pourtant au tout debut du programme.

Les entrées sorties sont différées, utiliser la commande flush ou flush_all
(Pervasives) pour effectuer toutes les sorties en attente de traitement.

> Je m'interroge et pensais que peut-etre quelqu'un pourrait m'aider?
> 
> Je vous remercie d'avance.
> Sarah Djebali.

[...]

-- 
Michaël Grünewald <michael-grunewald@wanadoo.fr>  - RSA PGP Key ID: 0x20D90C12
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Floating point exception
  2002-10-08  9:00 [Caml-list] Floating point exception sdjebali
  2002-10-09  4:35 ` [Caml-list] " Michaël Grünewald
@ 2002-10-11  9:29 ` Xavier Leroy
  1 sibling, 0 replies; 3+ messages in thread
From: Xavier Leroy @ 2002-10-11  9:29 UTC (permalink / raw)
  To: sdjebali; +Cc: caml-list

> je souhaiterais juste savoir d'ou peut provenir un message du type :
> Floating point exception.
> En effet apres avoir compile des sources OCAML avec ocamlopt la
> compilation reussit bien, en revanche a l'execution (prenant en argument
> un fichier) j'obtiens cette exception avant meme d'obtenir un quelconque
> print qui est pourtant au tout debut du programme.

Sur quel type de processeur?  Ce que vous décrivez peut se produire
sur Alpha, où le processeur n'implémente pas complètement
l'arithmétique flottante IEEE, et produit un signal SIGFPE en cas de
division par zéro, débordement arithmétique flottant, etc.

- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-11  9:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-08  9:00 [Caml-list] Floating point exception sdjebali
2002-10-09  4:35 ` [Caml-list] " Michaël Grünewald
2002-10-11  9:29 ` [Caml-list] " Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).