answersLogoWhite

0


Best Answer

Real (arbitrarily precise) values cannot be stored in a computer. They are generally approximated with either floating-point or fixed-point approximations.

A commonly used data type is "double-precision" which stores numbers accurately to about 16 decimal places, suitable for most real-world applications. More complex data structures known as "Bignum"s can be used to represent real numbers to arbitrary precision, depending on the amount of computer memory available. The programmer should always be aware that the computer cannot represent any real number.

If the computer has N bits of memory (including disk space), then it can be in one of 2^N possible states. No matter what N is, there are more real numbers between 0 and 1 than that. So a computer cannot possibly represent a continuum of real numbers between 0 and 1, let alone a wider range.

Source: See Related Links

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How is a real value stored in a computer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How aren the real numbers stored internally in the computer?

£1.25


What are the components of a variable?

A variable typically consists of a name, a data type, a value, and a memory location where the value is stored. The name is used to reference the variable in the code, the data type defines the type of data the variable can hold, the value is the actual data stored in the variable, and the memory location is where the value is stored in the computer's memory.


What is unit of information stored in a computer?

The unit of information stored in a computer is typically the bit, which represents a binary value of either 0 or 1. Data is stored and processed in computer systems using combinations of bits, with larger units such as bytes, kilobytes, and megabytes representing collections of bits.


Is blob a real number?

yes blob is a real numberBLOB. The value is a blob of data, stored exactly as it was input. So it could be text or numbers.


What is a C variable?

A variable is an entity that may change its value. In a program, the result of the processing statements are stored in the computer's memory.


What is a variable made up of?

A variable is made up of a name (identifier) that represents a value stored in a computer's memory. It consists of a memory location where data can be stored and manipulated in a program. The value assigned to a variable can change during program execution.


What does a folder mean?

Folder in real life: a folded cover or large envelope for holding documents Folder in computer/laptop: a collection of files or documents that are stored together on a computer


what is the name of where files are stored in a computer?

In the computer's HARD


What is pointers in oop?

A pointer is a programming language data type whose value refers directly to (or "points to") another value stored elsewhere in the computer memory using its address.


Can a database only be stored on a computer?

No, it can in fact be stored in a file outside of a computer...what boff wants to know that!?


How information is stored on a computer?

It is stored on a hard disk drive.


When you enter data into a computer it is stored in the computer's?

Memory.