aboutsummaryrefslogtreecommitdiff
path: root/en/devices/audio/data_formats.html
diff options
context:
space:
mode:
Diffstat (limited to 'en/devices/audio/data_formats.html')
-rw-r--r--en/devices/audio/data_formats.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/devices/audio/data_formats.html b/en/devices/audio/data_formats.html
index e11a1abf..382c9567 100644
--- a/en/devices/audio/data_formats.html
+++ b/en/devices/audio/data_formats.html
@@ -118,7 +118,7 @@ for all signed fixed-point representations,
so the following holds where all values are in units of one
<a href="https://en.wikipedia.org/wiki/Least_significant_bit">LSB</a>:
</p>
-<pre>
+<pre class="devsite-click-to-copy">
|largest negative value| = |largest positive value| + 1
</pre>
@@ -306,7 +306,7 @@ To convert a value from Q<em>m</em>.<em>n</em> format to floating point:
<p>
For example, to convert a Q4.27 internal value to floating point, use:
</p>
-<pre>
+<pre class="devsite-click-to-copy">
float = integer * (2 ^ -27)
</pre>