summaryrefslogtreecommitdiff
path: root/AK/NumericLimits.h
AgeCommit message (Collapse)Author
2020-09-29AK: Add NumericLimits specialization for char.asynts
This is yet another bug because of the 'char'/'signed char'/'unsigned char' shit.
2020-07-18AK: Use "signed char" as the opposite of "unsigned char"Andreas Kling
I totally forgot about the C++ basics here. There are three distinct types: "char", "signed char" and "unsigned char". Whether "char" is signed or unsigned is implementation specific.
2020-05-23AK: Allow NumericLimits.h to compile in a kernel contextAndreas Kling
We explicitly disallow floating point numbers during kernel compilation so we have to #ifdef out those parts here.
2020-04-15AK: Add a simple NumericLimits<T> templateAndreas Kling
This provides min(), max() and is_signed() for the basic integer types.