From 75008c6ca85a60f9f29c2c391913792f256fe1ea Mon Sep 17 00:00:00 2001 From: Quinn Date: Tue, 12 Aug 2025 11:01:32 +0200 Subject: [PATCH] add comment to explain sar test --- test/t_arith.h | 1 + 1 file changed, 1 insertion(+) diff --git a/test/t_arith.h b/test/t_arith.h index 99b24f4..2f88c7c 100644 --- a/test/t_arith.h +++ b/test/t_arith.h @@ -2,6 +2,7 @@ #include "test.h" +/* tests arithmetic shift for signed integers (rather than logical shift) */ int test_sar(void *dat) { (void)dat; return assert_true(-3 >> 5 == -1);