From 2a3958cbe1b32c8f8240c5bfb5e44c8782191020 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 18 Nov 2022 12:03:12 -0400 Subject: [PATCH] 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 --- Utility/DataUnits.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Utility/DataUnits.hs b/Utility/DataUnits.hs index 6cae449c76..64c01d9570 100644 --- a/Utility/DataUnits.hs +++ b/Utility/DataUnits.hs @@ -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"