Files
ladybird/AK
Daniel Bertalan 0cd85ab0fc AK+LibJS: Make Number.MIN_VALUE a denormal
ECMA-262 implies that `MIN_VALUE` should be a denormalized value if
denormal arithmetic is supported. This is the case on x86-64 and AArch64
using standard GCC/Clang compilation settings.

test262 checks whether `Number.MIN_VALUE / 2.0` is equal to 0, which
only holds if `MIN_VALUE` is the smallest denormalized value.

This commit renames the existing `NumericLimits<FloatingPoint>::min()`
to `min_normal()` and adds a `min_denormal()` method to force users to
explicitly think about which one is appropriate for their use case. We
shouldn't follow the STL's confusingly designed interface in this
regard.
2023-07-02 21:19:09 +01:00
..
2023-05-18 22:49:02 +02:00
2023-05-18 22:49:02 +02:00
2022-12-03 23:52:23 +00:00
2022-12-03 23:52:23 +00:00
2023-03-09 21:43:54 +01:00
2023-03-09 21:43:54 +01:00
2023-05-17 09:08:53 +02:00
2023-03-09 21:43:54 +01:00
2022-12-19 09:29:12 -05:00
2023-02-04 18:47:02 -07:00
2023-04-12 07:33:15 -04:00
2022-12-03 23:52:23 +00:00
2023-05-09 11:18:46 +02:00
2023-04-12 19:37:35 +02:00
2023-05-18 18:20:54 +02:00
2023-05-24 23:18:07 +02:00
2022-12-11 16:05:23 +00:00
2023-06-15 15:38:50 +01:00
2022-12-03 23:52:23 +00:00
2023-03-14 16:52:44 +01:00
2023-04-29 08:24:18 +02:00
2022-12-03 23:52:23 +00:00
2023-03-09 21:43:54 +01:00
2023-05-24 23:18:07 +02:00
2023-03-09 21:43:54 +01:00
2022-12-03 23:52:23 +00:00
2022-12-03 23:52:23 +00:00
2023-03-09 21:43:54 +01:00
2023-03-09 21:43:54 +01:00
2023-06-13 13:08:14 +02:00
2022-12-03 23:52:23 +00:00