📜  如何在数学中获得两个变量的最大值 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:46.557000             🧑  作者: Mango

代码示例1
(x sgn(x - y) + y sgn(-x + y) + x + y) / 2 
//This will return the maximum value withof if sentences (sgn = signum)
//Althouh 99% of the time some function max() is avalibale