TEXT   97
Binary units
Guest on 24th June 2022 03:03:03 AM


  1. unit              bytes               bits           max value
  2. -------------------------------------------------------------------------------
  3.  char/byte                  1                  8  (1- (** 2    8))
  4.       word                  2                 16  (1- (** 2 (* 8        2)))
  5. doubleword                  4                 32  (1- (** 2 (* 8        4)))
  6.   quadword                  8                 64  (1- (** 2 (* 8        8)))
  7.  paragraph                 16                128  (1- (** 2 (* 8       16)))
  8.   kilobyte [1]          1 024              8 192  (1- (** 2 (* 8     1024)))
  9.   megabyte          1 048 576          8 388 608  (1- (** 2 (* 8 (** 1024 2))))
  10.   gigabyte      1 073 741 824      8 589 934 592  (1- (** 2 (* 8 (** 1024 3))))
  11.   terabyte  1 099 511 627 776  8 796 093 022 208  (1- (** 2 (* 8 (** 1024 4))))
  12. -------------------------------------------------------------------------------
  13. [1] kilobyte 1024^1 bytes, megabyte 1024^2, gigabyte 1024^3, terabyte 1024^4

Raw Paste

Login or Register to edit or fork this paste. It's free.