v
v copied to clipboard
i64 transfer to f64 should be explict?
V version: OS:
What did you do?
Because it might lose accuracy?
What did you expect to see?
What did you see instead?
Yes, because it might lose accuracy.
but in my tests, it can be cast implict..
From the doc it's currently stated as i64 can implicitly cast into f64.
The implicit cast needs to go away. Implicit casts should only be possible when you don't lose accuracy of the data.