求小值函数Double  min(double x, double y)

功能:比较大小函数

X:1

Y:2

返回值:X-Y中较小的值。

  

   min(1, 2)  结果为1