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.
The Double and Float types have the POSITIVE_INFINITY constant.
Double
Float
POSITIVE_INFINITY