The c-style casting (int)(x)
is producing different results for different platforms when x is float.
I want to change all the instances of (int)(x)
with a custom function, lets say CustomCast(x)
and I want to do that only if x
is float.
Is there any easier way than to go through all the files one by one and changing it?