Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Integers

In some programming languages, integers and floating-point numbers are very different. In DScript, there is no difference at all. Even if you enter a number without any decimal component, the number is stored as a floating-point number and all arithmetic operations are performed as though the number is a floating point.

There is one exception to this rule. Bitwise operators, such as Bitwise And and Bitwise Or, convert numbers to 32-bit integers before performing their operations, then convert the results back to floating point numbers.

Since all integers are converted to floating point numbers, it is possible that trailing digits for very large numbers will get lost. DScript can exactly represent integers as large as ±9,007,199,254,740,992 (53-bit).

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend