如果除数与被除数均不为0.0的话,则取值范围为[0, +∞]。+∞在Java中显示的结果为Infinity。如果除数与被除数均为0.0的话,则运行结果为NaN(Not a Number的简写),计算错误。