Sollicitatievraag bij NVIDIA

How to toggle a specific bit in a 32 bit integer (bit level logic)?

Antwoord op sollicitatievraag

Anoniem

26 aug 2017

We need to xor that bit with 1 to toggle it.

1