You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/04/07 03:56:41 UTC
[GitHub] ccollins476ad commented on issue #999: os_time: Prevent 0 ticks returned when OS_TICKS_PER_SEC < 1000
ccollins476ad commented on issue #999: os_time: Prevent 0 ticks returned when OS_TICKS_PER_SEC < 1000
URL: https://github.com/apache/mynewt-core/pull/999#issuecomment-379430056
Thanks, Niklas. Do you get different results after adding the parentheses? Multiplication and division should always be evaluated left-to-right with respect to each other, per the C standard.
That said, I agree the parentheses clarify the expression. I was just curious if they made a difference.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services