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 23:34, 19 June 2022
14 bytes added
,
19 June 2022
→Multiplications
Revision as of 23:34, 19 June 2022
(
view source
)
David
(
talk
|
contribs
)
(
→Multiplications
)
← Older edit
Revision as of 23:34, 19 June 2022
(
view source
)
David
(
talk
|
contribs
)
(
→Multiplications
)
Newer edit →
Line 54:
Line 54:
</syntaxhighlight>
</syntaxhighlight>
you can do
you can do
<syntaxhighlight>
<syntaxhighlight
lang="python"
>
y = 2 * (age > 10) - 1
y = 2 * (age > 10) - 1
x = x + 10 * y
x = x + 10 * y
David
Bureaucrats
,
Interface administrators
,
Administrators
5,336
edits