Improve the doctest for floating point check.