Actually, I prefer this last form, but if people really want the long
form then I will live with it. For me the tertiary operator is about a
quick if/then/else operation. If it turns out to be three lines for
every situation then it might be clearer to just write out the logic
explicitly.
if (lower)
retval = octave::math::gammainc (x, a)
else
retval = 1.0 - octave::math::gammainc (x, a);
A quick absolute value function also looks unnecessarily long when
written in the new style
abs_x = x < 0
? -x
: x;