-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Replace Math::fequals with new utility function #5070
Comments
@karlnapf @vigsterkr I am assuming we should also remove |
there are some issues: CMath is stateful and the |
Hello! I am new to open source contributions.Can I do some help ? |
is anybody is doing or done something on this issue .?... |
nope :) |
I've looked into math.h and the simplest solution is to lift the fequals function there and add it into a separate function/header file. Doing that will account for the stateful-ness of math.h without diving deep to ascertain the current status of the serialization (presumably lossless). However, this seems way too simple necessitating my question- would that suffice as a solution? If not, could you please point out what/where this serialization is? @karlnapf @gf712 |
Hi! Is anyone working over this issue? I would like to take it up if nobody is. |
Go ahead. From the looks of it, I don't think anyone else is. I'm stopped since it looked like a fair bit of work that might end up being unused if I end up in the wrong direction. |
Thank you |
I'm not the best person for this. If you search for mathematics.h, you should be able to find the function that we are trying to replace. One potential solution is as I described/queried on the comment above. |
Hey |
Hi, sure, those can be moved as well. Easiest is to start a PR and can take it from there. |
Hello im new here and i would like to start contributing. |
We are in the process of dropping
Math.h
and one of the more commonly used operation there isfequals
, which checks if the difference between two values is less than the type'sepsilon
. The task is to write this as a free function, probably in a new file in theutil
directory and dropMath::fequals
.The text was updated successfully, but these errors were encountered: