Align function?
Hi there,
I want code an fast Align function, but my isnt fast
here is the code snipped :
inline C2D_uInt32 C2D_Align(C2D_uInt32 uiValue, C2D_uInt32 uiAlignment)
{
return (uiValue + (uiAlignment - (uiValue % uiAlignment)) );
}
can anyone halp me to speed up this function ??
Thx
Mfg Imp
I use Vc++ !
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement