Verified Commit a923218e authored by Tim Gates's avatar Tim Gates Committed by Ralph Giles
Browse files

docs: fix simple typo, neareast -> nearest



There is a small typo in celt/fixed_generic.h.

Should read `nearest` rather than `neareast`.
Signed-off-by: Ralph Giles's avatarRalph Giles <giles@thaumas.net>
parent d2f6805c
Pipeline #2296 passed with stage
in 4 minutes and 45 seconds
......@@ -102,9 +102,9 @@
#define SATURATE16(x) (EXTRACT16((x)>32767 ? 32767 : (x)<-32768 ? -32768 : (x)))
/** Shift by a and round-to-neareast 32-bit value. Result is a 16-bit value */
/** Shift by a and round-to-nearest 32-bit value. Result is a 16-bit value */
#define ROUND16(x,a) (EXTRACT16(PSHR32((x),(a))))
/** Shift by a and round-to-neareast 32-bit value. Result is a saturated 16-bit value */
/** Shift by a and round-to-nearest 32-bit value. Result is a saturated 16-bit value */
#define SROUND16(x,a) EXTRACT16(SATURATE(PSHR32(x,a), 32767));
/** Divide by two */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment