开发者

question about negative infinite

what is equivalent开发者_运维知识库 to negative infinity in java?−∞


Float.NEGATIVE_INFINITY and Double.NEGATIVE_INFINITY.


Are you looking for Double.NEGATIVE_INFINITY ?


For the primitive integral types, there are Long.MIN_VALUE, Integer.MIN_VALUE, and Byte.MIN_VALUE, . For double and float, it's a little more complicated. The smallest "real" values are Double.MIN_VALUE and Float.MIN_VALUE, respectively. However, there are also Double.NEGATIVE_INFINITY and Float.NEGATIVE_INFINITY.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜