Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Uid] Fix time to float conversion#40003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedJan 27, 2021
Hey! I appreciate you submitting this PR. But you have made this PR towards a branch that is not maintained anymore. :/ Cheers! Carsonbot |
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
(for 5.2, 5.1 is EOLed now)
f90978a to9680a27Comparenicolas-grekas commentedJan 27, 2021
Thank you@fancyweb. |
Uh oh!
There was an error while loading.Please reload this page.
On 32b systems, when the timestamp is before the UNIX epoch, the result is currently shifted by 1. Inverting all the bits is not enough, we need to add 1. I guesshttps://en.wikipedia.org/wiki/Two%27s_complement is relevant here?
Alternative: