lib/lowleveljpeg: round cosines table to nearest

This commit is contained in:
Nigel Tao committed 2026-04-19 12:04:16 +10:00
1 parent f4f46bd395
commit 32b741db7f
3 files changed
+27 -27

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ func TestRoundTrip(tt *testing.T) {
want := BlockI16{
+0x00EA, +0x0034, +0x003C, +0x005F,
+0x0082, +0x006E, -0x0064, -0x005D,
-0x00A3, +0x0057, -0x0033, +0x000C,
-0x00A3, +0x0057, -0x0034, +0x000C,
-0x0007, +0x0013, +0x0014, +0x0019,
}
if got != want {