Rapide Advanced Adulte
 
 Web|Image|Shop|Video|News|Wmx|Mobile|Wiki|Ajouter ce moteur

     Manuel PHP     
Partager
 
 
Partager
Partager

 

Table :

.gmp abs
.gmp add
.gmp and
.gmp clrbit
.gmp cmp
.gmp com
.gmp div q
.gmp div qr
.gmp div r
.gmp div
.gmp div q()
.gmp divexact
.gmp fact
.gmp gcd
.gmp gcdext
.gmp hamdist
.gmp init
.gmp intval
.gmp invert
.gmp jacobi
.gmp legendre
.gmp mod
.gmp mul
.gmp neg
.gmp nextprime
.gmp or
.gmp perfect square
.gmp popcount
.gmp pow
.gmp powm
.gmp prob prime
.gmp random
.gmp scan0
.gmp scan1
.gmp setbit
.gmp sign
.gmp sqrt
.gmp sqrtrem
.gmp strval
.gmp sub
.gmp xor
 
   

  gmp_clrbit  


gmp_clrbit

(PHP 4 >= 4.0.4, PHP 5)

gmp_clrbit -- Annule un bit

Description

void gmp_clrbit ( resource &a, int index )

gmp_clrbit() met le bit index à 0 dans le nombre GMP a. L'index commence à zéro.

Note : Contrairement à la plupart des autres fonctions GMP, gmp_clrbit() doit être appelée avec une ressource GMP existant déjà (en utilisant gmp_init() par exemple). Elle ne sera pas automatiquement créée.

Exemple 1. Exemple avec gmp_clrbit()

<?php
$a
= gmp_init("0xff");
gmp_clrbit($a, 0); // l'index commence à zéro
echo gmp_strval($a) . "\n";
?>

L'exemple ci-dessus va afficher :

254

Voir aussi gmp_setbit().


    Annonces       
 

 Retour au chapitre Php

 

Top
 

Ajouter JungleKey.fr à votre Explorateur

 
 

About Us | © 2007 JungleKey




iBlack | Mobile | Wiki | Ajouter ce moteur
.