Mind map
<math.h> main functions
Map content
<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
Information
- Description
- Mind Map on <math.h> main functions, created by Blue .DEAN on 08/07/2021.
- Created by
- Blue .DEAN
- Views
- 0
- Rating
More on Functions and Program Structure