/**@class java.math.MathContext implements java.io.Serializable @extends java.lang.Object Immutable objects describing settings such as rounding mode and digit precision for the numerical operations provided by class {@link java.math.BigDecimal}. */ var MathContext = { /** A {@code MathContext} which corresponds to the <a href="http://en.wikipedia.org/wiki/IEEE_754-1985">IEEE 754</a> quadruple decimal precision format: 34 digit precision and {@link java.math.RoundingMode#HALF_EVEN} rounding. */ DECIMAL128 : "null", /** A {@code MathContext} which corresponds to the <a href="http://en.wikipedia.org/wiki/IEEE_754-1985">IEEE 754</a> single decimal precision format: 7 digit precision and {@link java.math.RoundingMode#HALF_EVEN} rounding. */ DECIMAL32 : "null", /** A {@code MathContext} which corresponds to the <a href="http://en.wikipedia.org/wiki/IEEE_754-1985">IEEE 754</a> double decimal precision format: 16 digit precision and {@link java.math.RoundingMode#HALF_EVEN} rounding. */ DECIMAL64 : "null", /** A {@code MathContext} for unlimited precision with {@link java.math.RoundingMode#HALF_UP} rounding. */ UNLIMITED : "null", /**Returns the precision. The precision is the number of digits used for an operation. Results are rounded to this precision. The precision is guaranteed to be non negative. If the precision is zero, then the computations have to be performed exact, results are not rounded in this case. @return {Number} the precision. */ getPrecision : function( ) {}, /**Returns the rounding mode. The rounding mode is the strategy to be used to round results. <p> The rounding mode is one of {@link java.math.RoundingMode#UP}, {@link java.math.RoundingMode#DOWN}, {@link java.math.RoundingMode#CEILING}, {@link java.math.RoundingMode#FLOOR}, {@link java.math.RoundingMode#HALF_UP}, {@link java.math.RoundingMode#HALF_DOWN}, {@link java.math.RoundingMode#HALF_EVEN}, or {@link java.math.RoundingMode#UNNECESSARY}. @return {Object {java.math.RoundingMode}} the rounding mode. */ getRoundingMode : function( ) {}, /**Returns true if x is a {@code MathContext} with the same precision setting and the same rounding mode as this {@code MathContext} instance. @param {Object {Object}} x object to be compared. @return {Boolean} {@code true} if this {@code MathContext} instance is equal to the {@code x} argument; {@code false} otherwise. */ equals : function( ) {}, /**Returns the hash code for this {@code MathContext} instance. @return {Number} the hash code for this {@code MathContext}. */ hashCode : function( ) {}, /**Returns the string representation for this {@code MathContext} instance. The string has the form {@code "precision=<precision> roundingMode=<roundingMode>" } where {@code <precision>} is an integer describing the number of digits used for operations and {@code <roundingMode>} is the string representation of the rounding mode. @return {String} a string representation for this {@code MathContext} instance */ toString : function( ) {}, };