diff options
author | Emmanuel Ferdman <emmanuelferdman@gmail.com> | 2023-08-14 12:44:11 +0300 |
---|---|---|
committer | Emmanuel Ferdman <emmanuelferdman@gmail.com> | 2023-08-14 12:44:11 +0300 |
commit | f000be3237c5aa9079b77e31e13970d613e35df7 (patch) | |
tree | 011bc83eb429354d65e211948806a509178c210c | |
parent | 0308422f461dce11339896249e23ff02d978bfa0 (diff) | |
download | redot-engine-f000be3237c5aa9079b77e31e13970d613e35df7.tar.gz |
docs: fix link to two's complement wiki page
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
-rw-r--r-- | doc/classes/int.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/int.xml b/doc/classes/int.xml index bc0da03e98..914cf75929 100644 --- a/doc/classes/int.xml +++ b/doc/classes/int.xml @@ -390,7 +390,7 @@ <operator name="operator ~"> <return type="int" /> <description> - 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 |