avoid unnecessary bitcasts from double to i64, if the double was loaded and only used as an i64