12.07.2015 Views

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Numeric constantsThe following numeric constants are defined.Numeric constantsSyntaxValueNaNContains the NaN value.InfinityContains the Infinity value.Number.NaNSame as NaN.Number.MAX_VALUE The maximum representable number, approximately 1.79E+308.Number.MIN_VALUE The smallest representable positive number, approximately 2.22E-308.Math.ENapier’s constant, e, and the base of natural logarithms, approximately 2.718.Math.LN10Math.LN2Math.LOG2EMath.LOG10EMath.PIMath.SQRT1_2Math.SQRT2The natural logarithm of 10, approximately 2.302.The natural logarithm of 2, approximately 0.693.The base 2 logarithm of e, approximately 1.442.The base 10 logarithm of e, approximately 0.434.The ratio of the circumference of a circle to its diameter, approximately 3.142.The square root of one-half, approximately 0.707.The square root of 2, approximately 1.414.I L O G O P L D E V E L O P M E N T S T U D I O L A N G U A G ER E F E R E N C E M A N U A L217

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!