#include <iostream>
#include <netinet/in.h>
#include <cstdint>
using namespace std;
int main() {
uint64_t val = 4837162400658920070;
double *ord = (double*)(&val);
uint64_t id = static_cast<uint64_t>(*ord);
printf("%lu\n", id);
val = 4837162400658970206;
ord = (double*)(&val);
id = static_cast<uint64_t>(*ord);
printf("%lu\n", id);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bmV0aW5ldC9pbi5oPgojaW5jbHVkZSA8Y3N0ZGludD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJdWludDY0X3QgdmFsID0gNDgzNzE2MjQwMDY1ODkyMDA3MDsKCWRvdWJsZSAqb3JkID0gKGRvdWJsZSopKCZ2YWwpOwoJdWludDY0X3QgaWQgPSBzdGF0aWNfY2FzdDx1aW50NjRfdD4oKm9yZCk7CiAgICBwcmludGYoIiVsdVxuIiwgaWQpOwoJdmFsID0gNDgzNzE2MjQwMDY1ODk3MDIwNjsKCW9yZCA9IChkb3VibGUqKSgmdmFsKTsKCWlkID0gc3RhdGljX2Nhc3Q8dWludDY0X3Q+KCpvcmQpOwogICAgcHJpbnRmKCIlbHVcbiIsIGlkKTsKICAgIAoJcmV0dXJuIDA7Cn0=