```C++
return float_X(math::abs(position_x)<=float_X(0.5))
```
does the same then the if cascade but without branch divergents