profile
viewpoint

Ask questionsCasting can no longer produce undefined behavior (UB)

It looks like the 2 issues linked here and in some other places have been resolved and the reference has been updated too.

Should i update the docs?

yoanlcq/vek

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.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List