This repository was archived by the owner on Apr 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Unify different code paths via macro #217
Labels
enhancement
New feature or request
Comments
We have a macro for this now libm/src/math/support/macros.rs Lines 42 to 70 in d9bfeca
Lines 84 to 89 in d9bfeca
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Per #216 (review):
cfg_if!
macro is appropriate here. A macro that's general to several possible situations.cfg_if!
, but that adds in a dependency to a very low level crate. If we can come up with something focused to our particular case that's kept here in this tree that would probably be preferred.llvm_intrinisically_optimized!
macro, which perhaps we could just extend some more, depending on how folks feel about that.The text was updated successfully, but these errors were encountered: