answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What would be stored using IEEE-754 single precision for the floating point 12.5?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

How is scientific notation related to the floating point representation used by computers?

Floating point numbers are stored in scientific notation using base 2 not base 10.There are a limited number of bits so they are stored to a certain number of significant binary figures.There are various number of bytes (bits) used to store the numbers - the bits being split between the mantissa (the number) and the exponent (the power of 10 (being in the base of the storage - in binary, 10 equals 2 in decimal) by which the mantissa is multiplied to get the binary/decimal point back to where it should be), examples:Single precision (IEEE) uses 4 bytes: 8 bits for the exponent (encoding ±), 1 bit for the sign of the number and 23 bits for the number itself;Double precision (IEEE) uses 8 bytes: 11 bits for the exponent, 1 bit for the sign, 52 bits for the number;The Commodore PET used 5 bytes: 8 bits for the exponent, 1 bit for the sign and 31 bits for the number;The Sinclair QL used 6 bytes: 12 bits for the exponent (stored in 2 bytes, 16 bits, 4 bits of which were unused), 1 bit for the sign and 31 bits for the number.The numbers are stored normalised:In decimal numbers the digit before the decimal point is non-zero, ie one of {1, 2, ..., 9}.In binary numbers, the only non-zero digit is 1, so *every* floating point number in binary (except 0) has a 1 before the binary point; thus the initial 1 (before the binary point) is not stored (it is implicit).The exponent is stored by adding an offset of 2^(bits of exponent - 1), eg with 8 bit exponents it is stored by adding 2^7 = 1000 0000Zero is stored by having an exponent of zero (and mantissa of zero).Example 10 (decimal):10 (decimal) = 1010 in binary → 1.010 × 10^11 (all digits binary) which is stored in single precision as:sign = 0exponent = 1000 0000 + 0000 0011 = 1000 00011mantissa = 010 0000 0000 0000 0000 0000 (the 1 before the binary point is explicit).Example -0.75 (decimal):-0.75 decimal = -0.11 in binary (0.75 = ½ + ¼) → 1.1 × 10^-1 (all digits binary) → single precision:sign = 1exponent = 1000 0000 + (-0000 0001) = 0111 1111mantissa = 100 0000 0000 0000 0000 0000Note 0.1 in decimal is a recurring binary fraction 0.1 (decimal) = 0.0001100110011... in binary which is one reason floating point numbers have rounding issues when dealing with decimal fractions.


How are floating point numbers handled as binary numbers?

Floating point numbers are typically stored as numbers in scientific notation, but in base 2. A certain number of bits represent the mantissa, other bits represent the exponent. - This is a highly simplified explanation; there are several complications in the IEEE floating point format (or other similar formats).Floating point numbers are typically stored as numbers in scientific notation, but in base 2. A certain number of bits represent the mantissa, other bits represent the exponent. - This is a highly simplified explanation; there are several complications in the IEEE floating point format (or other similar formats).Floating point numbers are typically stored as numbers in scientific notation, but in base 2. A certain number of bits represent the mantissa, other bits represent the exponent. - This is a highly simplified explanation; there are several complications in the IEEE floating point format (or other similar formats).Floating point numbers are typically stored as numbers in scientific notation, but in base 2. A certain number of bits represent the mantissa, other bits represent the exponent. - This is a highly simplified explanation; there are several complications in the IEEE floating point format (or other similar formats).


How do you represent floating point number in microprocessor?

It is somewhat complicated (search for the IEEE floating-point representation for more details), but the basic idea is that you have a few bits for the base, and a few bits for the exponent. The numbers are stored in binary, not in decimal, so the base and the exponent are the numbers "a" and "b" in a x 2b.


Why is chromosomal DNA stored at 4 degree Celsius?

DNA is best stored at 4 degrees Celsius because anything colder may cause extensive single and double strand breaks.


How is a real value stored in a computer?

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

Related questions

What is double precision value?

That usually refers to a floating-point number that is stored in 8 bytes, and has (in decimal) about 15 significant digits. In contrast, single-precision is stored in 4 bytes, and has only 6-7 significant digits.


What is maximum length of float in c?

Floating point numbers are always stored according to the underlying architecture. The programming language is immaterial, it must use the same representations as the hardware itself, or at least provide an abstraction of it. C does not provide any abstractions for built-in data types. Most modern computers use the standard IEEE 754 representation, which caters for single-precision (equivalent to float in C), double-precision (double) and extended-precision (long double).


What is the resolution to a single shard?

The resolution to a single shard is the smallest level of detail or data that can be stored or processed within that shard. It determines the precision or granularity of information that can be recorded in that particular shard of a database.


Clearly explain the functions that the mantissa and exponent have in floating point number?

Think of the floating-point number as a number in scientific notation, for example, 5.3 x 106 (i.e., 5.3 millions). In this example, 5.3 is the mantissa, whereas 6 is the exponent. The situation is slightly more complicated, in that floating-point numbers used in computers are stored internally in binary. Some precision can be lost when converting between decimal and binary.Think of the floating-point number as a number in scientific notation, for example, 5.3 x 106 (i.e., 5.3 millions). In this example, 5.3 is the mantissa, whereas 6 is the exponent. The situation is slightly more complicated, in that floating-point numbers used in computers are stored internally in binary. Some precision can be lost when converting between decimal and binary.Think of the floating-point number as a number in scientific notation, for example, 5.3 x 106 (i.e., 5.3 millions). In this example, 5.3 is the mantissa, whereas 6 is the exponent. The situation is slightly more complicated, in that floating-point numbers used in computers are stored internally in binary. Some precision can be lost when converting between decimal and binary.Think of the floating-point number as a number in scientific notation, for example, 5.3 x 106 (i.e., 5.3 millions). In this example, 5.3 is the mantissa, whereas 6 is the exponent. The situation is slightly more complicated, in that floating-point numbers used in computers are stored internally in binary. Some precision can be lost when converting between decimal and binary.


Why precision instruments are stored at 20 C temperature?

aa


What numbers can be stored using 32-bit binary?

A 32 binary number is a number stored by a computer in 32 bits. it can represent: 1) An unsigned number in the range 0 to 4,294,967,295 2) A signed number in the range -2,147,483,648 to 2,147,483,647 3) A single precision IEEE floating point number with 1 sign bit, 8 exponent bits and 23 mantissa bits give an accuracy of about 7.2 decimal digits and a range of ± 10^-38 to 10^38


Why the value entered in a float variable is printing a different value after point in some cases?

Floating point numbers are stored in a container that does not contain 100% precision (that is, they are estimates.) The value after the decimal should not change between printing the same variable, but if you do some math to it then it may change.For example,1.0 + 0.000000000001will probably be1.000000000001but it may be1.0depending on the implementation of the floating point system on your specific computer architecture.


Where were their wepons stored?

The nunchucks of lightning was stored in the Floating Ruins. The Sword of fire was stored in the Fire Temple. The Shurikens of Ice was stored in the Frozen Wasteland. And finally the Scythe of Quakes was stored in the Caves of Despair. All of the weapons were hidden by Sensei Wu.


Is a website stored on a single server?

No it can be stored on two or more server in collaboration.


Why precision instrument are stored at around 20 degree centigrate temperature?

to avoid enviromental error which is occuer due to expansions


How is scientific notation related to the floating point representation used by computers?

Floating point numbers are stored in scientific notation using base 2 not base 10.There are a limited number of bits so they are stored to a certain number of significant binary figures.There are various number of bytes (bits) used to store the numbers - the bits being split between the mantissa (the number) and the exponent (the power of 10 (being in the base of the storage - in binary, 10 equals 2 in decimal) by which the mantissa is multiplied to get the binary/decimal point back to where it should be), examples:Single precision (IEEE) uses 4 bytes: 8 bits for the exponent (encoding ±), 1 bit for the sign of the number and 23 bits for the number itself;Double precision (IEEE) uses 8 bytes: 11 bits for the exponent, 1 bit for the sign, 52 bits for the number;The Commodore PET used 5 bytes: 8 bits for the exponent, 1 bit for the sign and 31 bits for the number;The Sinclair QL used 6 bytes: 12 bits for the exponent (stored in 2 bytes, 16 bits, 4 bits of which were unused), 1 bit for the sign and 31 bits for the number.The numbers are stored normalised:In decimal numbers the digit before the decimal point is non-zero, ie one of {1, 2, ..., 9}.In binary numbers, the only non-zero digit is 1, so *every* floating point number in binary (except 0) has a 1 before the binary point; thus the initial 1 (before the binary point) is not stored (it is implicit).The exponent is stored by adding an offset of 2^(bits of exponent - 1), eg with 8 bit exponents it is stored by adding 2^7 = 1000 0000Zero is stored by having an exponent of zero (and mantissa of zero).Example 10 (decimal):10 (decimal) = 1010 in binary → 1.010 × 10^11 (all digits binary) which is stored in single precision as:sign = 0exponent = 1000 0000 + 0000 0011 = 1000 00011mantissa = 010 0000 0000 0000 0000 0000 (the 1 before the binary point is explicit).Example -0.75 (decimal):-0.75 decimal = -0.11 in binary (0.75 = ½ + ¼) → 1.1 × 10^-1 (all digits binary) → single precision:sign = 1exponent = 1000 0000 + (-0000 0001) = 0111 1111mantissa = 100 0000 0000 0000 0000 0000Note 0.1 in decimal is a recurring binary fraction 0.1 (decimal) = 0.0001100110011... in binary which is one reason floating point numbers have rounding issues when dealing with decimal fractions.


Does DRAM need refreshing?

because if you dont refresh the data stored in the floating node will leak out with time