Closed lhf closed 6 years ago
MP_USMALL_MIN is defined in imath.h as follows:
MP_USMALL_MIN
define MP_USMALL_MIN ULONG_MIN
However, ULONG_MIN does not exist in C99. The reason is that it is always 0.
ULONG_MIN
I suggest this change:
define MP_USMALL_MIN 0UL
However, MP_USMALL_MIN is never used in imath.c. You could simply remove it from imath.h.
Closed #19 via 0e17c4a.
Thanks! I came across #19 and #20 when writing a Lua binding for imath: http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/index.html#limath
MP_USMALL_MIN
is defined in imath.h as follows:However,
ULONG_MIN
does not exist in C99. The reason is that it is always 0.I suggest this change:
However,
MP_USMALL_MIN
is never used in imath.c. You could simply remove it from imath.h.