I am confused on this matter.
1 KByte = 1024 bytes.
1 Kbit = 1000 or 1024 bits?
I have found contradictory references on the web.
--
Ioannis Vranos http://www23.brinkster.com/noicys 6 1904
Ioannis Vranos wrote in news:1099200033.863768@athnrd02 in comp.lang.c++: I am confused on this matter.
1 KByte = 1024 bytes.
1 Kbit = 1000 or 1024 bits?
I have found contradictory references on the web.
This doesn't have anything to do with C++, you should really try:
news:comp.programming.
<OT>
AIUI only SI http://physics.nist.gov/cuu/Units/prefixes.html define
what the k prefix means (x 1000), using uppercase K to mean x 1024
is just an ad hoc convention.
</OT>
Rob.
-- http://www.victim-prime.dsl.pipex.com/
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:1099200033.863768@athnrd02... I am confused on this matter.
1 KByte = 1024 bytes.
1 Kbit = 1000 or 1024 bits?
Kbit is usually used for memory sizes. For obvious addressing
issues, these are nearly always sized to powers of 2.
(As everyone knows, this reasoning unfortunately does not apply
to hard disk sizes...)
I have found contradictory references on the web.
Read http://en.wikipedia.org/wiki/Kilobyte to find out about
kbits, Kbits=Kibits, and GBytes vs GiBytes...
Cheers,
Ivan
-- http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Rob Williscroft wrote: This doesn't have anything to do with C++, you should really try:
Not really. Consider if I wanted to create some class that stores and
manipulates 1 Kbit of information, by using a collection of bitsets, for
example.
--
Ioannis Vranos http://www23.brinkster.com/noicys
Ivan Vecerina wrote: Kbit is usually used for memory sizes. For obvious addressing issues, these are nearly always sized to powers of 2.
(As everyone knows, this reasoning unfortunately does not apply to hard disk sizes...)
I think you meant "Kbyte" with the above. Yes, however OSes are still
reporting the real sizes. :-)
The most lame of all is in the case of DVDs: For example empty one sided
DVDs are called DVD 4.7 GB and DVD-5 while their real capacity is ~4.38 GB!
Read http://en.wikipedia.org/wiki/Kilobyte to find out about kbits, Kbits=Kibits, and GBytes vs GiBytes...
Thanks. So Kbits usually are 1000 bits. I am talking about network
bandwidth, mainly.
--
Ioannis Vranos http://www23.brinkster.com/noicys
Ioannis Vranos wrote in news:1099240473.531687@athnrd02 in comp.lang.c++: Rob Williscroft wrote:
This doesn't have anything to do with C++, you should really try:
Not really. Consider if I wanted to create some class that stores and manipulates 1 Kbit of information, by using a collection of bitsets, for example.
Yep it has to do with programming, which is why I suggested:
news:comp.programming.
Rob.
-- http://www.victim-prime.dsl.pipex.com/
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:1099240756.376433@athnrd02... Read http://en.wikipedia.org/wiki/Kilobyte to find out about kbits, Kbits=Kibits, and GBytes vs GiBytes...
Thanks. So Kbits usually are 1000 bits. I am talking about network bandwidth, mainly.
Actually, 1000 bits would be a kbit (lowercase),
while for 1024 bits, Kbit (uppercase K) is the suggested
alternative to 1 Kibit (1024 bits).
But that's theory.
For network/communication bandwidth, the decimal coefficients
are most likely used. (And the given bandwidth values
themselves are theoretical maxima anyway - all protocols
introduce overhead...)
Cheers,
Ivan
-- http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: hokiegal99 |
last post by:
This is not really a Python-centric question, however, I am using
Python to solve this problem (as of now) so I thought it appropiate to
pose the question here.
I have some functions that search...
|
by: Maileen |
last post by:
Hi,
I use the /clr option due to my needs for automation of Excel.
Unfortunately this option excludes /Gm which normal should reduce the
build...
instead of having a build of 40 000 kbits, now...
|
by: mattieG |
last post by:
I'm having trouble getting my preloader to display the kbps rate, it shows Time Elapsed, Bytes loaded, Total Bytes, but I just can seem to get the byte speed right.
Can anyone help me?
I've seen...
|
by: LuisRibeiro |
last post by:
Hello.
I have a web site that is used to do network performance tests. When a user performs a test, a results page is opened and the information shows inside a table.
What i'd like to do is if the...
|
by: sam_cit |
last post by:
Hi Everyone,
I'm in a need to allocate huge memory block of size 50kb.
How can i use malloc() for this purpose, asuming sizeof(int) is two
bytes?
Thanks in advance!!!
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |