Question

Floating Point. Describe the difference among floating point and integer type data objects.

Floating Point. Describe the difference among floating point and integer type data objects.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:-

loats are stored as logarithms: a characteristic and a mantissa eg 1.207895, which is really an exponent which will raise the base to a approximate value which may be very close to the number you wish to store.

Integers, have no fractional value, and are stored as whole numbers eg 1,2,596, etc.

The value of the maxima and minima of the two data types vill vary from machine to machine, and compiler (language) to compiler. So their tolerance will differ. Within those machine tolerances, integers will be more precise, but will allow no decimal or fractional values . Floats will allow more value choices, but admit less precision

Add a comment
Know the answer?
Add Answer to:
Floating Point. Describe the difference among floating point and integer type data objects.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT