vectorclass / version2

Vector class library, latest version
Apache License 2.0
1.3k stars 148 forks source link

64bit*64bit will be overflow #61

Closed sunzwy closed 2 years ago

sunzwy commented 2 years ago

64bit*64bit will be overflow,How to solve it

sunzwy commented 2 years ago

i wanna chage m256i_i64 value to long long max,but i dont know how to do

AgnerF commented 2 years ago

Please post your questions to stackoverflow.com with the tag vector-class-library

sunzwy commented 2 years ago

Please post your questions to stackoverflow.com with the tag vector-class-library

https://stackoverflow.com/questions/72513000/64bit-multiply-element-by-element-m256i-i64-while-bigger-than-long-long-maxvalue

i'm not good at english. and it's my question,thanks

sunzwy commented 2 years ago

Please post your questions to stackoverflow.com with the tag vector-class-library

I solved my problem with a stupid solution,see https://stackoverflow.com/questions/72513000/64bit-multiply-element-by-element-m256i-i64-while-bigger-than-long-long-maxvalue.It's very inelegant