Hello,

I would like to point out the conventions used by Scilab and Matlab when an integer number is subject to overflow:

Scilab 6.0.1:

--> uint8(255)+1
 ans  =

  0

Matlab R2017b

>> uint8(255)+1

ans =

  uint8

   255

Do you see any reason in favor of one of each ?

S.


--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to