Yuan Yijun (bbbush) wrote,
Yuan Yijun

Binary Prefix


大概就是说,过去没有合适的单位来表示 2^3n 就从 SI 借用了一些字母作前缀。现在有了新的标准,SI 前缀只用来表示 10^n 了。另外,前缀大小写没有区别。
Example : 300 GB = 279.5 GiB (= 0x117.6592E GiB = 0x45D96.4B8 MiB = 0x1176592E KiB = 0x45D964B800 bytes).

文档里提到了一句 Some have suggested that "k" be used for 1000, and "K" for 1024, but this cannot be extended to the higher order prefixes and has never been widely recognised.,《微型计算机》2006.03 有一大段加黑的编者按,写错了。

Wikipedia 那段 BP Usage Notes 写得不错
Tags: 小东西

  • 2020

    Last time I wrote a review was in 2018, about 2017. Or maybe I wrote something elsewhere, maybe on Twitter? It was hard to write something freely…

  • #thotcon badge?

    [root@m4700 ~]# esptool write_flash 0x00000 /home/yuan/tracking/thotcon0x9/tc0x9.bin esptool.py v2.3.1 Connecting.... Detecting chip type...…

  • Portfolio weighted averages

    Last week I got an assignment to make a small Java library for some often used portfolio calculations. A portfolio is a collection of holdings, each…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded