fredericopissarra Posted April 5, 2019 Share Posted April 5, 2019 https://bitismyth.wordpress.com/2019/04/04/overflows-em-multiplicacoes/ https://bitismyth.wordpress.com/2019/04/04/overflows-com-divisoes-inteiras/ 2 Quote Link to comment Share on other sites More sharing options...
Nibble Supporter Fabiano Furtado Posted April 27 Nibble Supporter Share Posted April 27 Em 04/04/2019 em 22:58, fredericopissarra disse: https://bitismyth.wordpress.com/2019/04/04/overflows-em-multiplicacoes/ https://bitismyth.wordpress.com/2019/04/04/overflows-com-divisoes-inteiras/ EXCELENTE!!!! Uma dúvida... Qual seria mais rápido? Usar a sua função int mul_ints(int *r, int a, int b);, descrita em seu artigo sobre "overflows em multiplicações", ou o builtin do compilador bool __builtin_smul_overflow (int a, int b, int *res)? Como se faz para medir este tempo gasto nestas duas funções? Desde já, agradeço. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.