17718, "lydia-duncan", "Add int overload for 'bigint.cmpabs'", "2021-05-13T16:03:05Z"
The BigInteger method bigint.cmpabs()
doesn't have an int overload, but does have one for bigint
, real
and uint
. Seems like we could pretty easily make a bigint
out of the int
and call the bigint
version (or call our own absolute value function to convert the int
to a uint
, or any number of alternates, really). We have a lot of int
versions for functions that don't have an int
equivalent in GMP that follow the pattern of converting to a bigint
and sending it to the bigint
method so I'm not sure why this isn't one.