Returns the bit-merge of I, J, and MASK; this means for each bit of MASK that is 1, the corresponding bit of the result is taken from that bit of I, and otherwise is taken from J.
This is equivalent to IOR(IAND(I,MASK),IAND(J,NOT(MASK))).
Like many intrinsic functions, this is elemental; if all arguments are scalar the result is scalar, if any argument is an array the other arguments must either be scalars or arrays with the same shape, and the result is an array of that shape with the operation being applied elementwise.
If any argument is a BOZ literal constant, it is converted to the result type as if by the INT intrinsic function.