Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erreur dans string_of_num #2349

Closed
vicuna opened this issue Mar 16, 2004 · 2 comments
Closed

erreur dans string_of_num #2349

vicuna opened this issue Mar 16, 2004 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 16, 2004

Original bug ID: 2349
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Erreurs de la bibliothèque "libnum", (camllight v. 0.74, Linux,
recompilée d'après les sources
de cl74unix.tar.gz)

Un exemple:

#string_of_num ( num_of_string "1360682471" ) ;;

  • : string = "24616493543"

et aussi

#string_of_num ( num_of_string "2360682471" ) ;;

  • : string = "24616493543"

#string_of_num ( num_of_string "3360682471" ) ;;

  • : string = "24616493543"

(seul le premier chiffre change d'un exemple à l'autre, la réponse est
toujours la même). Il semble
que le résultat de num_of_string soit correct (comparaison par "=/"
donne false), c'est string_of_num
qui paraît être en cause.

M. Bour

@vicuna
Copy link
Author

vicuna commented Mar 17, 2004

Comment author: administrator

Erreurs de la bibliothèque "libnum", (camllight v. 0.74, Linux,
recompilée d'après les sources
de cl74unix.tar.gz)

La version courante est la 0.75, qui ne corrige justement ces erreurs.

Cordialement,

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/

@vicuna
Copy link
Author

vicuna commented Apr 1, 2004

Comment author: administrator

Fixed in CL 0.75

@vicuna vicuna closed this as completed Apr 1, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant