korstmos

joined 1 year ago
[โ€“] [email protected] 3 points 1 year ago (4 children)

Because paying a few grand a year for a certificate somehow makes your software more trustworthy

[โ€“] [email protected] 1 points 1 year ago

Doubles have a much higher max value than ints, so if the method were to convert all doubles to ints they would not work for double values above 2^31-1.

(It would work, but any value over 2^31-1 passed to such a function would get clamped to 2^31-1)