Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

branchless if python

def Smaller_Branchless(a, b):
    return a * (a < b) + b * (b <= a)
Source by www.stephanosterburg.com #
 
PREVIOUS NEXT
Tagged: #branchless #python
ADD COMMENT
Topic
Name
1+6 =