* Arithmetic: anyAtomicType idiv AnyAtomicType
*/
private static class AnyIdivAny extends Calculator {
public AtomicValue compute(AtomicValue a, AtomicValue b, XPathContext c) throws XPathException {
TypeHierarchy th = c.getConfiguration().getTypeHierarchy();
Calculator calc = getCalculator(
a.getItemType(th).getPrimitiveType(), b.getItemType(th).getPrimitiveType(), IDIV, true);
if (calc == null) {
throw new XPathException("Unsuitable types for idiv operation (" +
Type.displayTypeName(a) + ", " + Type.displayTypeName(b) + ")", "XPTY0004", c);