-
|
In your intrinsics.h, how come you avoid standard libs for bit rotations? |
Beta Was this translation helpful? Give feedback.
Answered by
bagaffey
Sep 12, 2025
Replies: 1 comment
-
|
I wanted to go through these exercises without heavy reliance on standard libs. I'd like to probably not use any of them if possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
btgvesta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted to go through these exercises without heavy reliance on standard libs. I'd like to probably not use any of them if possible.
Also, the C++ standard
bit.his for C++ only. Not sure if it would compile or could be used with a C23 compiler, but, in any case, C23 doesn't have these bit rotations standardized yet. So, I'm using the known compiler intrinsics.