Y
Hacker News
new
|
ask
|
show
|
jobs
by
anttihaapala
1354 days ago
That's not the code from the article. The code in the article is comparing 2 floats. Though, equality operator would return `False` for comparison `x == x_ts` as well, instead of throwing an exception.