Package org.exist.xquery.value

Examples of org.exist.xquery.value.ComputableValue.div()


                    sum = sum.plus((ComputableValue) value);
                } catch(final XPathException e) {
                    throw new XPathException(this, ErrorCodes.FORG0006, e.getMessage());
                }
            }
            result = sum.div(new IntegerValue(inner.getItemCount()));
        }
        if (!gotInfinity) {
            if (Type.subTypeOf(result.getItemType(), Type.NUMBER) &&
                ((NumericValue)result).isInfinite()) {
                //Throw an overflow exception here since we get an infinity
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.