When you use a double, what is doubled? When you use a long int, how much longer is the long int than an int? Comment.

When you use a double, what is doubled? When you use a long int, how much longer is the long int than an int? Comment.

Answer: In a double, the precision part of the value is about twice the precision of a float. The size of the exponent is also increased. In most implementations, long is the same size as int.

Comments

Popular posts from this blog

Examine the collapse of Han. What factors explain how this occurred? How influential in Han Dynasty on Chinese History?

Summarize effective communication strategies in organizational hierarchies, and review the role and relevance of the organizational grapevine

Examine the age-structure diagrams of Sweden and Kenya below, and answer the following questions. Compare and contrast the two age structure diagrams in terms of two population dynamics - birth rate and death rate.