From b9d376056f9163287a2453c06d51e52faf139f6a Mon Sep 17 00:00:00 2001 From: John Regan Date: Sun, 19 Mar 2023 17:52:13 -0400 Subject: [PATCH] update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fcf999b..eaa3b36 100644 --- a/README.md +++ b/README.md @@ -138,8 +138,8 @@ bigint_div_mod(&q, &r, &a, &b); There's also left-shifting and right-shifting: ```c -bigint_lshift(&res, &a, 128); /* equivalent to res = a << 128 -bigint_rshift(&res, &a, 128); /* equivalent to res = a >> 128 +bigint_lshift(&res, &a, 128); /* equivalent to res = a << 128 */ +bigint_rshift(&res, &a, 128); /* equivalent to res = a >> 128 */ ``` All functions work on temporary values and perform a copy at the end,