如何找到最大可能的实数和最接近零的实数?
有库值Int.maxInt
和Int.minInt
,但Real
库似乎不包含类似的常量。
最佳答案
根据这个http://sml-family.org/Basis/real.html#SIG:REAL.maxFinite:VAL
+- maxFinite 应该是你的答案,对吧?
关于floating-point - 最大和最小实数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49753633/