if(a > b) {
return a + b;
}
else {
return a - b;
}
It quotes the add function and transforms it to a subtraction without branching.
Top-level
if(a > b) { It quotes the add function and transforms it to a subtraction without branching. 6 comments | Expand all CWs
@andreer It's used in a routine that returns an offset to be used to find a routine in a lookup table of pointers. It's part of a project that uses cons cells. @neauoire |
@neauoire blursed?