Ask questionsCasting can no longer produce undefined behavior (UB)
Should i update the docs?
Answer questions martin-t
I noticed the text here originally comes from the num-traits crate and opened a PR there. In the process, i noticed the second case (float to float conversion) probably never was UB and the second example might be removed. Might wanna keep an eye on that PR to keep the docs in sync.
Related questionsNo questions were found.