Infinity for `Numeric`
App Development2 posts147 viewsLast activity Apr 2022
LU
LucianoOP
Apr 2022Does the Numeric type have a value for infinity (positive/negative) the same way that e.g. java has double.POSITIVE_INFINITY if I remember correctly? What are the semantics for this?
BE
bernhard
Apr 2022There are no special values for infinities, NaN, or other non-numerics. The closest thing is maxBound which gives you the maximum value for a bounded numeric type.