Exemplo n.º 1
0
        /// <summary>
        /// Returns maximum per component.
        /// </summary>
        public void Max([NotNull] Operand src1, [NotNull] Operand src2, [NotNull] Operand dst)
        {
            if (!src1.Equals(src2) || !src1.Equals(dst))
            {
                throw new ArgumentException("Arguments must be the same.");
            }

            // TODO: other checks.

            compiler.Max(src1.Name, src2.Name, dst.Name);
        }