The value of the product of the arguments is returned.
Take care that for floating entries, the multiplication is not perfectly associative due to rounding errors. This call performs multiplications in reverse incoming order.
equivalent to the call on the elements of the tuple.
The call mul[saturated](...) computes a saturated version of mul. Take care that for signed integral entries this kind of multiplication is not associative at all. This call perform saturated multiplications in reverse incoming order.
The product 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.
The product 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.
The operation is computed in the double sized element type (if available). This decorator has no effect on double and 64 bits integrals.
compute the result in modular arithmetic. the parameters must be flint positive and less than the modulus. The modulus itself must be less than maxflint.
Note
Although the infix notation with * is supported for two parameters, the * operator on standard scalar types is the original one and so can lead to automatic promotion.