new metric prefixes give us quettabyte and yottabyte

There does not yet seem to be an update to IEC 80000-13, so no
robibyte or quebibyte yet.

Sponsored-by: k0ld on Patreon
This commit is contained in:
Joey Hess 2022-11-18 12:03:12 -04:00
parent 814bb3a270
commit 2a3958cbe1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -73,7 +73,9 @@ dataUnits = storageUnits ++ committeeUnits ++ bandwidthUnits
{- Storage units are (stupidly) powers of ten. -}
storageUnits :: [Unit]
storageUnits =
[ Unit (p 8) "YB" "yottabyte"
[ Unit (p 10) "QB" "quettabyte"
, Unit (p 9) "RB" "ronnabyte"
, Unit (p 8) "YB" "yottabyte"
, Unit (p 7) "ZB" "zettabyte"
, Unit (p 6) "EB" "exabyte"
, Unit (p 5) "PB" "petabyte"