Does Java have anything to represent infinity for every numerical data type? How is it implemented such that I can do mathematical operations with it?
E.g.
For the numeric wrapper types.
e.g Double.POSITVE_INFINITY
Hope this might help you.