Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
From:
Alexey Dobriyan
Date:
Sun May 12 2024 - 00:47:13 EST
Next message:
Alexey Dobriyan: "[PATCH] x86/vdso: add rcx clobber in syscall gettimeofday fallback"
Previous message:
Al Viro: "Re: [RFC] configfs_{un,}register_group() semantics"
In reply to:
Devarsh Thakkar: "Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2"
Next in thread:
Andy Shevchenko: "Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2"
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
I think
roundup(x, 1 << n)
is more readable.
Next message:
Alexey Dobriyan: "[PATCH] x86/vdso: add rcx clobber in syscall gettimeofday fallback"
Previous message:
Al Viro: "Re: [RFC] configfs_{un,}register_group() semantics"
In reply to:
Devarsh Thakkar: "Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2"
Next in thread:
Andy Shevchenko: "Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2"
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]