Integral Quantity Data types - Essay Example

Only on StudentShare

Extract of sample
Integral Quantity Data types

Yes, we can represent integers bigger than what int allows. Basically, integers have limit up to 2,147,483,647, and if we want to show number greater than this we have two options. We can use long or BigInteger. In this scenario, the limit for long is 9,223,372,036,854,775,807. For storing space and increasing the time of execution of program Java provides two data types (TutorialPoints, 2014; Oracle Corporation, 2014).
Yes, for representing arbitrarily large integers we can use two other options: BigInteger and BigDecimal. However, it is not default because we write small programs in which our integer values can easily store and take less space. Hence, if BigDecimal or BigInteger becomes default it will require more space and the program execution will require additional time. Due to this reason there is not a single representation of integral quantities (TutorialPoints, 2014; Oracle Corporation, ...
Download paper

Summary

Yes, Java programming language provides some rounding modes, which determine how a certain operation gives back the result in limited numbers of digits as compared to the number of digits that are returned by results. It can be achieved through MtachContext precession setting…
Author : kristoffer44

Related Essays

XML-Based Project
12 pages (3012 words) Assignment
Zemax EE Software and Programming.
11 pages (2761 words) Dissertation
Information Sensitivity and Data Protection
1 pages (251 words) Essay
Data Sharing between Airlines and International Airlines for Scheduling Purposes
4 pages (1004 words) Case Study
Data Analysis for a business making
4 pages (1004 words) Essay
Selection Structure Paper
2 pages (502 words) Essay
One size fits all datatypes
1 pages (251 words) Essay
Got a tricky question? Receive an answer from students like you! Try us!