Mindmap
<math.h> main functions
Inhalt der Mindmap
<math.h> main functions
Absolute value
- Actually, there si a functon similar to fabs in <stlib> calle abs but he difference between is that abs works with numbers of type int, meanwhile fabs works with double.
- fabs : this function is the absolute value in math language. BTW, this function only works for numbers of type double.
Rounding numbers
- ceil : this function rounds decimal numbers, it goes t to the biggest and nearest number. For example, 17.45 will be 18.
- floor : this function also rounds decimal numbers, but it rounds to the smallest nearest number. For example, 18.69 will 18.
Power
- pow : it is power, you should indicate two value, one for the base and the other for the exponent
Root
- sqrt : it gives the square root of a number. The output is always a number of type double.
exp : exponentiel of a number. out and input: double
log which means ln
log10
- logarithme de base 10
They written the same way, and also their output is a number of type double, tht means their input is double
- asin, acos, atan
- sin, cos, tan
Informationen
- Beschreibung
- Mindmap am <math.h> main functions, erstellt von Blue .DEAN am 08/07/2021.
- Erstellt von
- Blue .DEAN
- Aufrufe
- 0
- Bewertung
Mehr zu Functions and Program Structure