Search Results

  1. Parameters ¶ num The number being checked as a perfect square. A GMP object, an int, or a string that can be interpreted as a number following the same logic as if the string was used in gmp_init () with automatic base detection (i.e. when base is equal to 0).

  2. Jul 11, 2025 · The gmp_perfect_square () is an inbuilt function in PHP which checks if the given GMP number (GNU Multiple Precision: For large numbers) is a perfect square or not.

  3. Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number.

  4. Liste de paramètres a Le nombre à vérifier. Il peut être soit une ressource GMP, soit une chaîne numérique qu'il est possible de convertir plus tard en un nombre.

  5. Return Values PHP gmp_perfect_square () function returns a boolean value true if the GMP number is perfect square and false if not.

  6. The number being checked as a perfect square. A GMP object, an int, or a string that can be interpreted as a number following the same logic as if the string was used in gmp_init with automatic base detection (i.e. when base is equal to 0).

  7. Valeurs de retour La fonction PHP gmp_perfect_square () renvoie une valeur booléenne true si le nombre GMP est un carré parfait et false dans le cas contraire.

  1. People also search for