C
C#2y ago
ero

❔ Any known .NET 7 implementations of an Int24?

Just wondering if there's an implementation of an Int24 type using the new signatures for the numeric types. Something akin to this;
readonly struct Int24
: IBinaryInteger<Int24>,
IComparable,
IComparable<Int24>,
IConvertible,
IEquatable<Int24>,
IMinMaxValue<Int24>,
ISignedNumber<Int24>,
ISpanFormattable
{

}
readonly struct Int24
: IBinaryInteger<Int24>,
IComparable,
IComparable<Int24>,
IConvertible,
IEquatable<Int24>,
IMinMaxValue<Int24>,
ISignedNumber<Int24>,
ISpanFormattable
{

}
8 Replies
mtreit
mtreit2y ago
I doubt it - what's the use case for an int24?
ero
ero2y ago
just a funny custom type i wanted to try some stuff on
Akseli
Akseli2y ago
using Int24 = Int32;
using Int24 = Int32;
there you go
ero
ero2y ago
Hilarious!
333fred
333fred2y ago
@tannergooding, because you're not allowed to escape weird math things
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
tannergooding
tannergooding2y ago
Camping, little to no signal. Will respond wednesday
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts