On Wed, Apr 7, 2021 at 3:29 PM Simon Proctor <simon.proc...@gmail.com> wrote:
>
> Would =~= be what you're looking for?

To quote Wikipedia, "A floating-point number is a rational number".

Rob wants to compare a float with its exact equivalent rational and
get True if they're exactly the same and False otherwise.

--
raiph

Reply via email to