public class Branchless extends Object
| Constructor and Description |
|---|
Branchless() |
| Modifier and Type | Method and Description |
|---|---|
static int |
ifEquals(int x,
int y,
int a,
int b)
return x==y?a:b;
|
static int |
ifZero(int x,
int a,
int b)
return x==0?a:b;
|
Copyright © 2018. All Rights Reserved.