summaryrefslogtreecommitdiff
path: root/usr.bin/units/units.lib
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2022-11-18 19:07:55 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2022-11-18 19:07:55 +0000
commit9bff0ee6b9110aa4ffc81189f883865ebfcb28b8 (patch)
tree8914f102893b4a7baf8fbc21ad4efe4a0f8d2bce /usr.bin/units/units.lib
parent9ec4df861833cbd07262ba27bff2902c9b25a67d (diff)
Add four new SI prefixes.
This is resolution 3 "Sur l’extension de la liste des préfixes du SI", passed by the 27th meeting of the Conférence générale des poids et mesures. OK deraadt, daniel, sthen
Diffstat (limited to 'usr.bin/units/units.lib')
-rw-r--r--usr.bin/units/units.lib10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/units/units.lib b/usr.bin/units/units.lib
index c50011dcbc8..69acf3f46bf 100644
--- a/usr.bin/units/units.lib
+++ b/usr.bin/units/units.lib
@@ -1,4 +1,4 @@
-/ $OpenBSD: units.lib,v 1.145 2021/05/01 06:02:32 jmc Exp $
+/ $OpenBSD: units.lib,v 1.146 2022/11/18 19:07:54 florian Exp $
/ $NetBSD: units.lib,v 1.3 1996/04/06 06:01:04 thorpej Exp $
/ primitive units
@@ -13,6 +13,8 @@ erlang !i!
K !j!
/ International System of Units (SI) prefixes
+quetta- 1e30
+ronna- 1e27
yotta- 1e24
zetta- 1e21
exa- 1e18
@@ -34,8 +36,12 @@ femto- 1e-15
atto- 1e-18
zepto- 1e-21
yocto- 1e-24
+ronto- 1e-27
+quecto- 1e-30
/ SI symbols
+Q- quetta
+R- ronna
Y- yotta
Z- zetta
E- exa
@@ -55,6 +61,8 @@ f- femto
a- atto
z- zepto
y- yocto
+r- ronto
+q- quecto
/ ISO/IEC 80000 binary prefixes
yobi- 1208925819614629174706176