You should be talking about trigonometric function, exponential function, logarithm ~ ~ ~ and so on ~ ~
There are many functions in C, which doesn't matter much. I won't write a simple one for you. For example, abs () is a function of absolute value, and ABS (-2) = 2; Hehe ~ ~
Besides, you can also define your own functions in C to do what you want, such as finding bigger codes in two trees, for fear that you won't understand them. If you don't write, just ~ ~ Come on ~ ~ Learn well ~ ~ It's not difficult ~ ~