fixed conversion double uint64_t from double
Merge branch 'master' into wide1309