As detailed in this Arduino doc:
On older Arduino MPU's the int data type range is 16 bits, range -32,768 to 32768
Whereas on SAMD MPU's (+ I assume UNO R4) an int is 32 bits, range -2,147,483,648 to 2,147,483,647
What are ranges of long and unsigned long on the SAMD & Renesas MPU architectures?
Also, for the R4, are these data types equivalent: unsigned int and uint32_t ?
Is there a summary table of all related / similar data types in Arduino context?
They all report 4, which I take to be 4 bytes, 32 bits
This implies int and long are identical as data types on R4, and probably any other Arduino with 32 bit processor, right?
Seems the only reason to keep separating int from long variables is backward compatibility.