Both return int so far (single-precision float doesn't have enough bits to represent int32 precisely).