I want to express in one word whether a number has a remainder or not.
as an example:
3.5 is not remainderless
3 is remainderless
It might seem that something like "3 is whole"
or "3 is an integer"
fits better but it is important that remainders, floating points or decimals are directly adressed.
Why I require this: I have a scenario where I want to express in a C++ function whether
yields an integer or a decimal. This is constant compile time arithmetic which I have implemented to solely work with integers - so actually asking if an result "is an integer" is superfluous as every result is always an integer.
The intent for this function is to stand out by actually talking about floating points. Since this is impossible to execute it behaves on a more hypothetical level as in saying: "would the result log(a, b)
, hypothetically, have a remainder".
As for a function that stands out in an "integer saturated environment" I find it to be a necessity to include unorthodox, contrastive wording - like remainderless
.
Which made me wonder is there is a better, mathematical adequate synonym for remainderless
while still talking about decimals.
exponentiation_of_a_fits_b
seems like a decent workaround. The Problem is that it doesn't adresslog
and that could be problematic.mantissaless
then, which is correct but seems worse thanremainderless
.