std::numeric_limits
provides 2 constants that are mutually exclusive:
is_integer
: "true
for all integer arithmetic typesT
"is_exact
: "true
for all arithmetic typesT
that use exact representation"
Is there the possibility of a non-exact integral type? What is trying to be allowed for here?
In all my templates where I to know if I am dealing with precise numbers, I used is_integer
, do I need to go add a check for is_exact
as well now?