Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

要らない誤差の比較を消す #470

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

motoki317
Copy link
Member

@motoki317 motoki317 commented Aug 30, 2021

これは消しても良い

一応理由: 前まで書いていたepsilon (machine epsilon 1つ分) での相対誤差の比較はほとんど意味が無いもの。入力値にも変な微妙な誤差が発生する可能性が無いと見て、isAllEqual判定で使っている相対誤差の比較自体を消す。

@FujishigeTemma FujishigeTemma merged commit eb4d1d5 into main Aug 30, 2021
@FujishigeTemma FujishigeTemma deleted the backend/rm-unnecessary-epsilon branch August 30, 2021 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants