Use std::numeric_limits::min/max() functions plus the appropriate value to encode -inf/inf
Attach a file by drag & drop or click to upload