From f6e43a283df2c781cc8489ccc1766c6fcbc1bd03 Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 29 Nov 2023 09:56:07 +0100 Subject: [PATCH] Update src/lib/gadgets/gadgets.ts Co-authored-by: Gregor Mitscha-Baude --- src/lib/gadgets/gadgets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/gadgets/gadgets.ts b/src/lib/gadgets/gadgets.ts index b0b06dabba..9f16d3f7f0 100644 --- a/src/lib/gadgets/gadgets.ts +++ b/src/lib/gadgets/gadgets.ts @@ -71,7 +71,7 @@ const Gadgets = { * ``` * * **Note**: Small "negative" field element inputs are interpreted as large integers close to the field size, - * and don't pass the 32-bit check. If you want to prove that a value lies in the int64 range [-2^31, 2^31), + * and don't pass the 32-bit check. If you want to prove that a value lies in the int32 range [-2^31, 2^31), * you could use `rangeCheck32(x.add(1n << 31n))`. */ rangeCheck32(x: Field) {