Région de recherche :

Date :

https://www.programiz.com › c-programming › library-function › math.h › sqrt

C sqrt () - C Standard Library - Programiz

The sqrt() function takes a single argument (in double) and returns its square root (also in double). The sqrt() function is defined in math.h header file. To find the square root of int, float or long double data types, you can explicitly convert the type to double using cast operator.

https://www.tutorialspoint.com › c_standard_library › c_function_sqrt

C library - sqrt () function - Online Tutorials Library

The C library sqrt () function of type double accept the variable x (double) as parameter to return the result of square root. The square of a number is obtained by multiplying the number by itself.

https://en.cppreference.com › w › c › numeric › math › sqrt

sqrt, sqrtf, sqrtl - cppreference.com

sqrt is required by the IEEE standard to be correctly rounded from the infinitely precise result. In particular, the exact result is produced if it can be represented in the floating-point type. The only other operations which require this are the arithmetic operators and the function fma. Other functions, including pow, are not so constrained.

https://www.geeksforgeeks.org › sqrt-function-in-c

sqrt () Function in C - GeeksforGeeks

sqrt () function in C is a predefined function in the math.h library used to calculate the square root of a given number. To use this function, we must include the <math.h> header file in our program.

https://learn.microsoft.com › fr-fr › cpp › c-runtime-library › reference › sqrt-sqrtf-sqrtl

sqrt, sqrtf, sqrtl | Microsoft Learn - learn.microsoft.com

Informations de référence sur l’API pour sqrt, sqrtf et sqrtl ; qui calcule une racine carrée d’un nombre à virgule flottante.

https://isolution.pro › fr › t › c-standard-library › c-function-sqrt › fonction-de-bibliotheque...

Fonction de bibliothèque C - sqrt () - Stack

La fonction de bibliothèque C double sqrt (double x) renvoie la racine carrée de x. Voici la déclaration de la fonction sqrt (). x - Il s'agit de la valeur en virgule flottante. Cette fonction renvoie la racine carrée de x. L'exemple suivant montre l'utilisation de la fonction sqrt ().

https://en.wikibooks.org › wiki › C_Programming › math.h › sqrt

C Programming/math.h/sqrt - Wikibooks

sqrt () is a C library function. It is mainly associated with programming language. It is considerd under [math.h] header file. function: #include<math.h>. double sqrt (double x ); float sqrt (float x ); long double sqrt (long double x ); Description: sqrt computes square root.

https://codetofun.com › c › math-functions › sqrt

C sqrt() Function - CodeToFun

The sqrt () function is a standard library function in C that is used to calculate the square root of a given value.

C sqrt() Function - CodeToFun

https://koor.fr › C › cmath › sqrt.wp

KooR.fr - Fonctions sqrt, sqrtf et sqrtl - Langage C

Ces trois fonctions permettent de calculer la racine carré d'une valeur passée en paramètre. La racine carrée d'un nombre réel positif x est le nombre positif qui, lorsqu'il est multiplié par lui-même (le carré de ce nombre), donne x.