Re: mstohz and hztoms

2019-09-28 Thread Christos Zoulas
> On Sep 28, 2019, at 6:53 PM, matthew green wrote: > >> Comments? > > i like the clean up. it's clearly a step forward. > > i only don't understand why 32 bit platforms can't handle > large values here but 64 bit ones can. is it only so that the > 32 bit platforms don't use 64 bit maths

re: mstohz and hztoms

2019-09-28 Thread matthew green
> Comments? i like the clean up. it's clearly a step forward. i only don't understand why 32 bit platforms can't handle large values here but 64 bit ones can. is it only so that the 32 bit platforms don't use 64 bit maths when it's not needed? it just seems wrong to me to limit 32 bit

mstohz and hztoms

2019-09-28 Thread Christos Zoulas
Hi, I was looking at the man page for hstohz and hztoms and their function signatures say "int hztoms(int);" and "int mztohz(int);" where the implementations use unsigned. We also have 64 bit specific implementations only for sparc64 and amd64 and only for mstohz() and not for hztoms(): The