I am trying to convert for example:
6.09677e-321 -> 1234
in c you can do something like: printf("%lld", 6.09677e-321)
Any ideas of how to get that casting into python?
I've tried with ctypes, d=c_float(6.09677e-321);cast(f, c_longlong) but didn't get much out of it.