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

1/16 = 0.625 #2376

Closed
vicuna opened this issue Feb 23, 2000 · 1 comment
Closed

1/16 = 0.625 #2376

vicuna opened this issue Feb 23, 2000 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Feb 23, 2000

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

Bug description

Bonsoir.

J'utilise ocaml, avec la librairie num (pas numerix).
Je tombe sur une erreur flagrante :

leger 535% myOcaml
Objective Caml version 2.02

open Num;;

float_of_num (Int 1//Int 16);;

  • : float = 0.625

Bon, je prefererai 0.0625 (comme me l'indique camlnum, mais
qui contient un autre bug...)

Ce bug se produit il chez vous aussi ?

--
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

@vicuna
Copy link
Author

vicuna commented Mar 31, 2000

Comment author: administrator

Fixed in 3.00

@vicuna vicuna closed this as completed Mar 31, 2000
@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