Skip to content

Commit 682b540

Browse files
Update maths/addition_without_arithmetic.nim
Co-authored-by: Pietro Peterlongo <[email protected]>
1 parent 934cc5a commit 682b540

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maths/addition_without_arithmetic.nim

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## Illustrate how to add the integer without arithmetic operation
1+
## Illustrate how to implement addition of integers using bitwise operations
2+
## See https://en.wikipedia.org/wiki/Bitwise_operation#Applications
23
runnableExamples:
34
import std/strformat
45
var

0 commit comments

Comments
 (0)