Performance of conditional operator vs. fabs
Today, we will take a look at potential performance problems when using the conditional operator ?:
.
Specifically, we will use it to calculate a variable’s absolute value and compare its performance with that of the function fabs
.