On Wed, Sep 1, 2021 at 5:35 AM Nick Parlante <n...@cs.stanford.edu> wrote: >> >> > I want to get to a world that is, let's say, "== tolerant" ... >> >> Do you use floating point values in your course? > > > You will be relieved to know that we have great fun showing them how == does > not work for floating point numbers. It is super memorable how that all comes > unglued. >
*sigh* Falsehoods programmers believe about floating point: "Equality is broken". ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/4UGAX5HJGSBK6XWFPRISPGLLIC6OT65T/ Code of Conduct: http://python.org/psf/codeofconduct/