OndrejSladky / kmercamel

KmerCamel🐫 provides implementations of several algorithms for efficiently representing a set of k-mers as a masked superstring.
MIT License
12 stars 2 forks source link

Better to use (u)intX_t for integer data types #2

Closed karel-brinda closed 1 year ago

karel-brinda commented 1 year ago

One disadvantage of C/C++ is that the predefined integer types can compile to different bit lengths on different architectures (even can be both signed / unsigned – eg char). Therefore, a good practice in scientific computation is to use data types that have clearly specified width to avoid any confusion for readers and irreproducibilities due to having different data types on different computers.

See https://en.cppreference.com/w/cpp/types/integer.