doc: format exponents better
The 2^n
notation is common in mathematics, but even then it often requires parentheses or braces. In JavaScript and C++, the ^
operator stands for bitwise xor, and should be avoided in the docs. In code tags, the JavaScript operator **
can be used. Otherwise, the sup
tag can be used for formatting.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines