各种编程语言怎样表示极值?Sunday, Mar 29, 2020 | 1 minute read | Updated at Sunday, Mar 29, 2020Pythonfloat('inf') #正无限大 -float('inf') #负无限大 Java 最大整数或最小整数Integer.MAX_VALUE // 2^31 - 1 Integer.MIN_VALUE // -2^31 为什么是31次方,有一位用来表示正负号了