Current location - Training Enrollment Network - Mathematics courses - Mathematical function header file
Mathematical function header file
Math.h defines many mathematical functions, which directly include <

You can also define a file mymath.h and mymath.c, and define some required constants as macros, such as pi. Define and implement some functions you need that are not in Math. H.

You can use your own defined constants and functions as long as you include "mymath.h" in the future.