[Scilab-users] [Scilab-Dev] algebra conventions with integer types to be discussed

philippe rouxph.22 at gmail.com
Wed Sep 19 09:46:51 CEST 2018


Le 19/09/2018 à 09:03, amonmayr at laas.fr a écrit :
> Le 18/09/2018 à 20:53, Stéphane Mottelet a écrit :
>> 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?

I agree, I would expect the quotient  of Euclidian division in this case.

Best Regards,

Philippe




More information about the users mailing list