You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think you get the integer nanoseconds portion by doing (ms%int64(millisInSecond))*int64(nsInSecond). I used this and got some incorrect results.
I added a test, I think the calculation you're using is incorrect?
I don't think you get the integer nanoseconds portion by doing
(ms%int64(millisInSecond))*int64(nsInSecond)
. I used this and got some incorrect results.Test (failing) is here:
https://github.com/Tigraine/go-timemilli/pull/3/files
The text was updated successfully, but these errors were encountered: