Are two functions equal?

前端 未结 5 1142
轮回少年
轮回少年 2020-12-06 11:08

[Edit]

The general question seems incredibly hard to solve. Here is a significantly restricted version of this question.


How do I dete

5条回答
  •  醉梦人生
    2020-12-06 11:36

    There is no way to do this in general. You can test both functions for a random sample of inputs and check them for equality on those specific values, but in general it is infeasible to test every possible input.

提交回复
热议问题