How to find nearest next/previous double value (numeric_limits::epsilon for given number)

后端 未结 4 1582
花落未央
花落未央 2020-12-14 19:07

The title is quite self-explanatory, input is given double value, and I want to add/substract the smallest amount possible.

4条回答
提交回复
热议问题