Correct a misplaced closing paren. Does not affect the result, but does

clarify (at least for me) that the multiplication happens before the shift.
This commit is contained in:
Ian Lepore 2018-03-03 22:28:20 +00:00
parent 1fe76c85dd
commit b43a040144
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330361

View File

@ -173,7 +173,7 @@ static __inline sbintime_t
nstosbt(int64_t _ns)
{
return ((_ns * (((uint64_t)1 << 63) / 500000000) >> 32));
return ((_ns * (((uint64_t)1 << 63) / 500000000)) >> 32);
}
static __inline int64_t
@ -187,7 +187,7 @@ static __inline sbintime_t
ustosbt(int64_t _us)
{
return ((_us * (((uint64_t)1 << 63) / 500000) >> 32));
return ((_us * (((uint64_t)1 << 63) / 500000)) >> 32);
}
static __inline int64_t
@ -201,7 +201,7 @@ static __inline sbintime_t
mstosbt(int64_t _ms)
{
return ((_ms * (((uint64_t)1 << 63) / 500) >> 32));
return ((_ms * (((uint64_t)1 << 63) / 500)) >> 32);
}
/*-