You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 38 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Bonjour.
Avec caml 0.74, et utilisant la librairie num,
un appel de fonction (purement fonctionel...)
ne rend pas le meme resultat selon que les rationnels sont
systematiquement reduits ou non.
J'ai extrait un source de 60 lignes du programme initial
20 fois plus gros (normalize_ratio_when_printing false est
VRAIMENT INDISPENSABLE :) ...) Il est en attachement.
la variable hf (normalize_ratio=false) vaut chez moi :
: nombre * nombre =
Interval {vmin = -264/40; vmax = -146/40},
Interval {vmin = -12/10; vmax = -9/10}
la variable ht (=hf, mais normalize_ratio a true) vaut chez moi :
: nombre * nombre =
Interval {vmin = -33/5; vmax = -1/2},
Interval {vmin = -6/5; vmax = -9/10}
et -146/40 <>/ -1/2
Cordialement,
Dominique Michelucci Dominique.Michelucci@emse.fr http://www.emse.fr/~micheluc
Ecole Nationale Superieure des Mines de St-Etienne
158 cours Fauriel, 42023 Saint Etienne cedex 2, France
Tel: +33 4 77 42 01 73 from abroad, 04 77 42 01 73 from France
Fax: +33 4 77 42 66 66 from abroad, 04 77 42 66 66 from France
The text was updated successfully, but these errors were encountered:
Original bug ID: 38
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Bonjour.
Avec caml 0.74, et utilisant la librairie num,
un appel de fonction (purement fonctionel...)
ne rend pas le meme resultat selon que les rationnels sont
systematiquement reduits ou non.
J'ai extrait un source de 60 lignes du programme initial
20 fois plus gros (normalize_ratio_when_printing false est
VRAIMENT INDISPENSABLE :) ...) Il est en attachement.
la variable hf (normalize_ratio=false) vaut chez moi :
Interval {vmin = -264/40; vmax = -146/40},
Interval {vmin = -12/10; vmax = -9/10}
la variable ht (=hf, mais normalize_ratio a true) vaut chez moi :
Interval {vmin = -33/5; vmax = -1/2},
Interval {vmin = -6/5; vmax = -9/10}
et -146/40 <>/ -1/2
Cordialement,
Dominique Michelucci Dominique.Michelucci@emse.fr
http://www.emse.fr/~micheluc
Ecole Nationale Superieure des Mines de St-Etienne
158 cours Fauriel, 42023 Saint Etienne cedex 2, France
Tel: +33 4 77 42 01 73 from abroad, 04 77 42 01 73 from France
Fax: +33 4 77 42 66 66 from abroad, 04 77 42 66 66 from France
The text was updated successfully, but these errors were encountered: