C
C#3y 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
mtreit3y ago
I doubt it - what's the use case for an int24?
ero
eroOP3y ago
just a funny custom type i wanted to try some stuff on
Akseli
Akseli3y ago
using Int24 = Int32;
using Int24 = Int32;
there you go
ero
eroOP3y ago
Hilarious!
333fred
333fred3y ago
@tannergooding, because you're not allowed to escape weird math things
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
tannergooding
tannergooding3y ago
Camping, little to no signal. Will respond wednesday
Accord
Accord16mo 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