real4 and real number .I need help
Author |
Message |
metachief
|
Posted: Thu Jan 03, 2008 7:28 pm Post subject: real4 and real number .I need help |
|
|
What is the difference between a real4 and a real.. I know that one is 4 bit number but what makes it different?
Thanks! |
|
|
|
|
|
Sponsor Sponsor
|
|
|
HeavenAgain
|
Posted: Thu Jan 03, 2008 7:37 pm Post subject: RE:real4 and real number .I need help |
|
|
real4 is "4-byte" from turing f10
but anyays, its just the "memory" which it is allowed, the more memory which is allowed, the more accurate the result is, so real8 is bigger (memory wise) and more accurate than real4.
in some language this is known as double? and float? does it ring a bell? |
|
|
|
|
|
Saad
|
Posted: Thu Jan 03, 2008 7:37 pm Post subject: RE:real4 and real number .I need help |
|
|
First of 8 bits make up a byte. Bits are not the same as bytes.
real4 uses 4 bytes of memory while real uses 8 bytes of memory, which means that real4 uses less memory. real4 however has less accuracy due to its smaller size but is worth it if accuracy is not entirely needed.
Edit: Ah, HeavenAgain beat me to the post. |
|
|
|
|
|
|
|