Did utility.library on aos4 have UDivMod32() function as it was in older utility.libraryes ?
I didn't find it in aos4 autodocs, but i find a notes about this in:
SDK:include/include_h/pragmas/utility_pragmas.h
SDK:include/include_h/inline/utility.h
SDK:include/include_h/clib/utility_protos.h
So questions is:
1). Why it disappear from utility.library autodocs
2). Is it available only for clib2, but not for newlib ?
3). How to compile/link such example on os4:
#include <proto/intuition.h>
main()
{
ULONG aa;
aa=UDivMod32(var1,var2);
}
As it "simply" divide, then maybe something like this should be fine enough:
main()
{
ULONG aa;
aa= (ULONG) (var1 / var2);
}
?
4). What faster will be: ulong + / from gcc, or UDivMod32 itself when avail ? I assume UDivMod32 can be faster for os3, as it can be done on asm in utility.library, or speed is the same and i can safely replace it everythere ?