corrected @bitReverse for only 1 arg, instead of 2 args

This commit is contained in:
James LeBlanc 2022-09-03 10:56:25 +02:00
parent a723a4c1df
commit 2c13601de0
2 changed files with 4 additions and 5 deletions

View file

@ -3,6 +3,6 @@
---
> const expected_result: u8 = 0b00010010;
88c88
< const tupni: u8 = @bitReverse(input);
< const tupni: u8 = @bitReverse(input, tupni);
---
> const tupni: u8 = @bitReverse(u8, input);
> const tupni: u8 = @bitReverse(input);