From 20cade1ba34a3f36d0b4fff5a06e566873b07f15 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 4 Mar 2026 22:57:50 +0100 Subject: [PATCH] doc/developer: Favor SI units where applicable This should make things more consistent over time Signed-off-by: Michael Niedermayer --- doc/developer.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/developer.texi b/doc/developer.texi index f1c8e42840..f41ba924c0 100644 --- a/doc/developer.texi +++ b/doc/developer.texi @@ -367,6 +367,9 @@ symbols. If in doubt, just avoid names starting with @code{_} altogether. @item Casts should be used only when necessary. Unneeded parentheses should also be avoided if they don't make the code easier to understand. +@item +Where applicable, SI units shall be used. For example timeouts should use seconds as the fundamental unit not micro seconds. +That means a bare value like @samp{1.0} must mean 1 second, @samp{50m} means 50 milliseconds. For weight, gram shall be used. @end itemize @anchor{Development Policy}