c++ Standard error shown in signed/unsigned division table
Division table of signed(2)/unsigned(2) =
u8 u16 u32 u64
i8 + + + +
i16 + + + +
i32 + + + +
i64 + + + +
Division table of signed(-2)/unsigned(2) = �
u8 u16 u32 u64
i8 + + + +
i16 + + + +
i32 + + 7fffffff +
i64 + + + 7fffffffffffffff
Division table of signed(-3)/unsigned(3) = �
u8 u16 u32 u64
i8 + + + +
i16 + + + +
i32 T 5554 55555554 +
i64 T 5554 55555554 5555555555555554
Division table of signed(-5)/unsigned(5) = �
u8 u16 u32 u64
i8 + + + +
i16 + + + +
i32 2 3332 33333332 +
i64 2 3332 33333332 3333333333333332
|
|