Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

mkmik/go-jaeger-uint64-wtf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WTF

WTF

The number 4326785824919571000 is not the decimal representation of 0x3c0bd4c89186ca89.

Proof:

$ printf "%x\n" 4326785824919571000
3c0bd4c89186ca38

(Yes I tried other tools, from python repl to go playground to check the conversion)

It doesn't seem to be just a simple uint64 -> float64 -> uint64 conversion issue, since that would be 4326785824919570944, but it's close.

See https://play.golang.org/p/YdsUf5DjGy2

TODO: file a proper bug report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages