mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
changes value from 2147483647 to 2147483648 /* The largest number rand will return (same as INT_MAX). */ #define RAND_MAX 2147483647 (static_cast<float>(quint32) / int * 8) why cast an int to a float to then divide by an int? just divide the int by an int.
5.7 KiB
5.7 KiB