zlacker

[parent] [thread] 0 comments
1. shulta+(OP)[view] [source] 2023-04-24 15:26:44
You only need a single bit to represent a number and say that number is infinity. But if you want to waste another 63 bits and be a bit more portable:

  std::numeric_limits<double>::infinity()
[go to top]