-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
questions about <xmath.hpp>
#3942
Comments
Some functions are actually used via tricky macro expansions, see #3622 (comment). I attempted to remove some of them but have given up (at least for now) due these annoying (although helpful) macros. |
Instead of correcting the sizes, I think we can and should eliminate the type punning - by just using something like |
We can't mess with I think we might be able to mess with
I think that these are cross-TU but not dllexported or import lib-injected. We should also be able to rework To be safe, we should Please note - messing with this old code is fairly low value and the maintainer team has sharply limited review capacity for the foreseeable future. Simple transformations are probably low risk but I am not especially eager to review large-scale changes in this area at this time. Additionally, I believe that much of this code may simply be unused except for bincompat - e.g. So what I would be looking for is:
|
Thanks for clarification! I'm much more confident about bincompat things. |
Solved
STL/stl/src/xmath.hpp
Lines 87 to 96 in ed8150e
_Fxp
and_Lxp
versions) are neither defined nor referred-to. Can we remove them?STL/stl/src/xmath.hpp
Lines 117 to 125 in ed8150e
_Dval
,_Fval
and_Lval
are using wrong array size, and are only used/passed(only by_Dnorm(_Dval*)
and_FDnorm(_Fval*)
) via pointers. Can we correct array size for them?STL/stl/src/xmath.hpp
Lines 99 to 102 in ed8150e
STL/stl/src/xmath.hpp
Lines 128 to 131 in ed8150e
STL/stl/src/xmath.hpp
Lines 155 to 158 in ed8150e
The text was updated successfully, but these errors were encountered: