关于精度控制
总的来说,背一下就好了
令\(a,b\)为double类型数,\(eps\)为浮点误差(取\(1e-6\)~\(1e-12\))
\begin{cases}
a< b & \mbox{if }a-b< eps \newline
a> b & \mbox{if }a-b> eps \newline
a==b & \mbox{else }
\end{cases}
一切伟大的行动和思想,都有一个微不足道的开始。
There is a negligible beginning in all great action and thought.
There is a negligible beginning in all great action and thought.