The saturated incrementation of x. More specifically, for signed integral, inc[saturated](valmax(as<T>{})) returns eve::valmax(as<T>{})). This has no effect on floating types.
The increment is computed in a 'round toward \(-\infty\) mode. The result is guaranteed to be less or equal to the exact one (except for Nans). Combined with strict the option ensures generally faster computation, but strict inequality. This has no effect on integral types.
The increment is computed in a 'round toward \(\infty\) mode. The result is guaranteed to be greater or equal to the exact one (except for Nans). Combined with strict the option ensures generally faster computation, but strict inequality. This has no effect on integral types.
Computes the result in modular arithmetic. The parameter must be flint positive and less than the modulus. The modulus itself must be positive and less than maxflint. The result of the operation is unspecified if these conditions are not met.