From f000be3237c5aa9079b77e31e13970d613e35df7 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Mon, 14 Aug 2023 12:44:11 +0300 Subject: [PATCH] docs: fix link to two's complement wiki page Signed-off-by: Emmanuel Ferdman --- doc/classes/int.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/int.xml b/doc/classes/int.xml index bc0da03e982..914cf759297 100644 --- a/doc/classes/int.xml +++ b/doc/classes/int.xml @@ -390,7 +390,7 @@ - Performs the bitwise [code]NOT[/code] operation on the [int]. Due to [url=https://en.wikipedia.org/wiki/Two%27s_complement/]2's complement[/url], it's effectively equal to [code]-(int + 1)[/code]. + Performs the bitwise [code]NOT[/code] operation on the [int]. Due to [url=https://en.wikipedia.org/wiki/Two%27s_complement]2's complement[/url], it's effectively equal to [code]-(int + 1)[/code]. [codeblock] print(~4) # Prints -5 print(~(-7)) # Prints 6