Le 18/09/2018 à 20:53, Stéphane Mottelet a écrit :
Hello Philippe,
Great to hear from you,
Le 18/09/2018 à 19:26, philippe a écrit :
Le 17/09/2018 à 19:03, Stéphane Mottelet a écrit :
Do I have to conclude that the implementation is currently so
incoherent
that *nobody* uses integer types in Scilab (other than Scilab code
itself) ?
it's a new feature, I would have like to use it before ... I've build
my own solution and now I just need time replace it with int64.
For mixed int/double expression I expect to get the best floating point
approximation as a result.
and for int/int ?
For me, this should be int, to be consistent with most of the languages
I use.
So 3.0/4.0=0.75 but 3/4=0.
But maybe getting a rational would make more sense?
Antoine
S.
Best regards,
Philippe
_______________________________________________
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Antoine Monmayrant LAAS - CNRS
7 avenue du Colonel Roche
BP 54200
31031 TOULOUSE Cedex 4
FRANCE
Tel:+33 5 61 33 64 59
email : antoine.monmayr...@laas.fr
permanent email : antoine.monmayr...@polytechnique.org
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users