logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: c2e1aa0314375c86da5fd77eafa335f35fbd3641
parent b16acf315aa87525906292de51045a8eb8ae7e64
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 15 Mar 2024 01:00:44 +0100

notes/magnitudes: powers of two

Diffstat:

Mnotes/magnitudes.xhtml9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/notes/magnitudes.xhtml b/notes/magnitudes.xhtml @@ -45,6 +45,15 @@ <dt>FullHD @ 60 Hz, True Color (24-bit), no compression, no color-indexing</dt> <dd><code>(1920 × 1080 × 24 bit × 60 Hz)/8 = 373248000 bps = <strong>373.248 Mbps</strong></code></dd> </dl> + + <h2 id="power_2">Power of 2</h2> + <!-- seq 10 10 60 | sed 's;^;2^;' | \bc | xargs humanize -b --> +<pre>2<sup>10</sup> = 1024 B +2<sup>20</sup> = 1024 KiB +2<sup>30</sup> = 1024 MiB +2<sup>40</sup> = 1024 GiB +2<sup>50</sup> = 1024 TiB +2<sup>60</sup> = 1024 PiB</pre> </main> <!--#include file="/templates/en/footer.shtml" --> </body>