decomposition

This commit is contained in:
Stanislav N Mikhailov
2025-01-02 00:12:20 +03:00
parent d556f818a5
commit e89eb58de4
14 changed files with 53 additions and 53 deletions
+5
View File
@@ -0,0 +1,5 @@
unsigned short reverse(unsigned short x)
{
x = (x & 0xFF) << 8 | (x & 0xFF00) >> 8;
return x;
}