Displaying 1 result from an estimated 1 matches for "l769".
Did you mean:
769
2020 Aug 07
4
Saturating float-to-int casts
I have encountered a need for float-to-int casts that saturate to
min/max when the value is out of the range of the target type. It
seems that there is no intrinsic to do this, currently, but on IRC it
was pointed out that a patch [1] has been proposed to implement this
functionality in exactly the way that I was looking for.
It looks like the discussion has died out but I was hoping maybe to