29 Mar
2022
29 Mar
'22
3:08 p.m.
Charlie Zhao <zhaoyu_hit@qq.com> added the comment: I started a PR and some simple examples were added. It is helpful for those who are new to IEEE-754. According to Jelle's comments, the behavior of `float('nan') is float('nan')` may be changed in the future, so I just omit it and suggest users to use `math.isnan()`. This might make the documentation a bit clearer. ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue47031> _______________________________________