Closed NobodyXu closed 2 years ago
@dtolnay No offense, but can you please explain why it is correct for i64
as I have no clue why its max size is the same as u64
?
Evaluating len(str(-(2 ** 64 - 1)))
gives me 21
in python3
.
i64::MIN and u64::MAX are both 20 characters. i64::MAX is 19 characters.
i64::MIN and u64::MAX are both 20 characters. i64::MAX is 19 characters.
Thanks, I must have made some mistake calculating the max len.
Signed-off-by: Jiahao XU Jiahao_XU@outlook.com