Re: Arrondi sur les flottants
Jean-Pierre Rosen <[email protected]>
| Newsgroups | gmane.comp.lang.ada.france |
|---|---|
| Organization | Adalog |
| Message-ID | <[email protected]> |
FARAIL, Patrick a écrit :
> Cela répond en partie à ma question : l'autre partie concerne
l'arrondi des nombres réels non constants (issus de calcul).
>
On ne peut pas le contrôler, mais l'attribut 'Machine_Rounds permet de
savoir si on arrondit ou si on tronque.
Dans un domaine voisin, il y a l'attribut 'Round pour l'arrondi des
décimaux, et 'Rounding pour l'arrondi des flottants à une valeur entière.
--
---------------------------------------------------------
J-P. Rosen ([email protected])
Visit Adalog's web site at http://www.adalog.fr
_______________________________________________
Site WWW de l'association Ada-France: http://www.ada-france.org/
[email protected]
http://www.ada-france.org/mailman/listinfo/ada-france