Warp <war### [at] tag povray org> wrote:
> If we "disassemble" that back to C++, it's basically equivalent to:
> //-----------------------------------------
> int a(int input)
> {
> return input == 0 ? 0 : -input;
> }
> //-----------------------------------------
Btw, clang is able to optimize it to an outright "return -input;"
--
- Warp
Post a reply to this message
|