>
> There is no such thing as cyclic data type. Its just that every data type
> has limited size (1 byte for unsigned char).
I think it's reasonable to talk about a cyclic data type -- it isn't a
standard term as far as I know, but certainly there are data types that
cycle under incrementation (char, int, long long, short, etc.) and data
types that don't (float, double).
float x = 16777216.0
if (x == x + 1) {
printf("What?\n");
}
...will print "What?".
--
You received this message because you are subscribed to the Google Groups
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-code?hl=en.