Fix-Point commented on code in PR #22351: URL: https://github.com/apache/nuttx/pull/22351#discussion_r4705106362
########## include/nuttx/lib/math32.h: ########## @@ -480,11 +480,11 @@ void invdiv_init_param64(uint64_t d, int l, FAR invdiv_param64_t *ip) #ifdef __INT128_DEFINED _uint128_t one128 = 1u; - ip->mult = (one128 << 64) * t / d + 1u; + ip->mult = (one128 << 64) * t / d + 1u; #else int s = 64 - l - (((d - 1u) & d) == 0u); /* = clz(d) */ - ip->mult = invdiv_udiv128_soft(t, 0, d, s) + 1u; + ip->mult = invdiv_udiv128_soft(t, 0, d, s) + 1u; Review Comment: Done. ########## include/nuttx/lib/math32.h: ########## @@ -480,11 +480,11 @@ void invdiv_init_param64(uint64_t d, int l, FAR invdiv_param64_t *ip) #ifdef __INT128_DEFINED _uint128_t one128 = 1u; - ip->mult = (one128 << 64) * t / d + 1u; + ip->mult = (one128 << 64) * t / d + 1u; Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
