|Re: [eigen] Matrix2i mean|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
Am 05.11.19 um 16:25 schrieb Janos Meny:
You are dividing by 2, which is an int, so by integral promotion your result will also be an int which can comfortably hold the value you are computing. See
yes, I overlooked that one. But even if you replace it by a int16_t Two, it doesn't overflow.
Sadly, I'm not familiar with the intel assembler.