News for hackers. Stuff that matters.
Re:Show HN: Floating point arithmetic types in C++ for any s... by badmintonbaseba on Monday October 21, 2024 @04:08PM (#41908010)
Possibly could be combined with C23's _BitInt(N) for the template arguments? I think it's available in clang as a C++ extension.

edit: or I guess you could have your own Tmantissa and Texponent types as custom classes that correctly model _BitInt(N), they don't seem to be required to be builtin integral types.

There are no comments on this comment yet.