Windows + MSVC build warnings about conversions from double to long
eyalroz opened this issue · comments
MSVC doesn't like implicit conversions from double
to long
(and its long
is 32-bit). Well, frankly, I don't like implicit floating-point-to-discrete conversions myself, regardless of their types. So, let's try to make them explicit, at least enough to suppress the warning.