[FFmpeg-devel] [PATCH] doc/eval: fix/review the section about SI prefixes and usage

Stefano Sabatini stefasab at gmail.com
Wed Jan 23 19:19:05 CET 2013


In particular, prefer "prefix" to "postfix" as in the tool manuals, and
specify power of 2 and 10 explicitly.
---
 doc/eval.texi |   46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/doc/eval.texi b/doc/eval.texi
index ea7ea43..d96bcd0 100644
--- a/doc/eval.texi
+++ b/doc/eval.texi
@@ -217,54 +217,54 @@ and define recognized constants, so that they are available for your
 expressions.
 
 The evaluator also recognizes the International System number
-postfixes. If 'i' is appended after the postfix, powers of 2 are used
+prefixes. If 'i' is appended after the prefix, powers of 2 are used
 instead of powers of 10. The 'B' postfix multiplies the value for 8,
 and can be appended after another postfix or used alone. This allows
-using for example 'KB', 'MiB', 'G' and 'B' as postfix.
+using for example 'KB', 'MiB', 'G' and 'B' as number postfix.
 
-Follows the list of available International System postfixes, with
+The list of available International System prefixes follows, with
 indication of the corresponding powers of 10 and of 2.
 @table @option
 @item y
--24 / -80
+10^-24 / 2^-80
 @item z
--21 / -70
+10^-21 / 2^-70
 @item a
--18 / -60
+10^-18 / 2^-60
 @item f
--15 / -50
+10^-15 / 2^-50
 @item p
--12 / -40
+10^-12 / 2^-40
 @item n
--9 / -30
+10^-9 / 2^-30
 @item u
--6 / -20
+10^-6 / 2^-20
 @item m
--3 / -10
+10^-3 / 2^-10
 @item c
--2
+10^-2
 @item d
--1
+10^-1
 @item h
-2
+10^2
 @item k
-3 / 10
+10^3 / 2^10
 @item K
-3 / 10
+10^3 / 2^10
 @item M
-6 / 20
+10^6 / 2^20
 @item G
-9 / 30
+10^9 / 2^30
 @item T
-12 / 40
+10^12 / 2^40
 @item P
-15 / 40
+10^15 / 2^40
 @item E
-18 / 50
+10^18 / 2^50
 @item Z
-21 / 60
+10^21 / 2^60
 @item Y
-24 / 70
+10^24 / 2^70
 @end table
 
 @c man end
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list