← All docs

gmp_clrbit()

Clears a bit in a GMP number.

gmp_clrbit()

function gmp_clrbit(object $num, int $index): void

Clears a bit in a GMP number.

Parameters:

  • $num (object)
  • $index (int)

Returns: void

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how gmp_clrbit is implemented in the compiler, see the internals page.