//AtomicComparer comparer = getAtomicComparer(1, context);
BuiltInAtomicType type = argumentType;
if (type == BuiltInAtomicType.UNTYPED_ATOMIC) {
type = BuiltInAtomicType.DOUBLE;
}
AtomicComparer comparer =
GenericAtomicComparer.makeAtomicComparer(type, type, collator, context);
SequenceIterator iter = argument[0].iterate(context);
try {
return minimax(iter, operation, comparer, ignoreNaN, context);
} catch (XPathException err) {