Home
Random
Log in
Settings
About David's Wiki
Disclaimers
David's Wiki
Search
Branchless Programming: Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Branchless Programming
(view source)
Revision as of 19:31, 21 June 2023
7 bytes removed
,
21 June 2023
→Multiplications
Revision as of 23:43, 19 June 2022
(
view source
)
David
(
talk
|
contribs
)
(
→Resources
)
← Older edit
Revision as of 19:31, 21 June 2023
(
view source
)
David
(
talk
|
contribs
)
(
→Multiplications
)
Newer edit →
Line 55:
Line 55:
you can do
you can do
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
y
=
2
* (age > 10) -
1
x
=
x + (20
* (age > 10) - 10
)
x = x +
10
* y
# or
# or
y = age > 10
y = age > 10
David
Bureaucrats
,
Interface administrators
,
Administrators
5,336
edits