-
Notifications
You must be signed in to change notification settings - Fork 144
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
Deprecate Float::abs_sub #365
Comments
In num-traits we have this in I'm ambivalent. It is surely a weird function, but it's also harmless to leave it alone. It would be more meaningful to wholly remove it (as a breaking change), so trait implementors don't need to bother with it, but deprecation doesn't affect this. |
You could provide a default implementation equivalent to |
{f32,f64}::abs_sub
is misleading and has been deprecated for a couple years. Maybe it should be deprecated in theFloat
trait too?The text was updated successfully, but these errors were encountered: