You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't decided yet, but I think it would be nice if referring to U64 from U32, or U32 from U64, were possible in generic code too. A generic constraint could require multiple layers, if needed. I could also add conveniences like low-high accessors and initializers.
The text was updated successfully, but these errors were encountered:
Hm. I bet I could make it work with just one of these. I also believe that HalveableInteger is better because the type chain eventually terminates at U8 or I8. Like, making DoubleInt halveable does not make it infinitely recursive. Having said that, I suspect that DoubleableInteger is easier to reason about as a generic constraint.
I haven't decided yet, but I think it would be nice if referring to U64 from U32, or U32 from U64, were possible in generic code too. A generic constraint could require multiple layers, if needed. I could also add conveniences like low-high accessors and initializers.
The text was updated successfully, but these errors were encountered: