Replies: 1 comment
-
Yes this trick also works in Adept
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In C, they usually use this trick to get the maximum value allowed for an unsigned type, for example:
(unsigned long)-1
. With this trick, they don't have to includelimits.h
to useULONG_MAX
.Beta Was this translation helpful? Give feedback.
All reactions