You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOC] A better data types explanation is needed #3801
Maybe should be added a table somewhere simply showing three columns for each data type (row): the bytes stored in both architectures (AVR & ARM) if it's signed or not and their resepective numerical boundaries. This would help to see, for instance, that in Due (and Zero???) the word type and the unsigned long type are the same and also the int type and the long type, whereas in AVR the short type is equal to int type.
Former points show some mess in data types definitions depending on the architecture of the board (and besides, these definitions are different from ANSI C, as @vogonjeltz points again in #3797). I suppose it's very out of scope of this issue, but maybe a general review of how data types are defined in Arduino platform as a whole should be done.
@q2dg As you have seen this argument is a little bit hard in the Arduino eco-system :( Since you referenced this issue in the newer one, I'm closing this (they are almost the same) and leaving the other one opened because it is newer so upper in the issue history
Activity
agdl commentedon Feb 18, 2016
@q2dg As you have seen this argument is a little bit hard in the Arduino eco-system :( Since you referenced this issue in the newer one, I'm closing this (they are almost the same) and leaving the other one opened because it is newer so upper in the issue history