1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:28:11 +00:00
serenity/Userland
Linus Groh cc64efac44 LibJS: Split out NumberToBigInt from the BigInt constructor
This is supposed to be its own AO, but since it was only used in one
place, we inlined it. Now that it's also being used in the Temporal
proposal (Date.prototype.toTemporalInstant() specifically), it makes
sense to have it as a standalone function.
A small difference is that we now construct the SignedBigInteger without
casting to i32 but instead take the (known to be integral) double and
cast it to i64. Not perfect, but slightly better.
Also clean up the BigInt constructor a bit while we're here and sprinkle
some spec comments.
2021-07-08 01:25:49 +01:00
..
Applets Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Applications Userland: Keep ImageViewer window size the same while zooming in 2021-07-08 00:21:31 +02:00
Demos Fire: Make the main widget a GUI::Frame 2021-07-05 02:38:31 +02:00
DevTools LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
DynamicLoader DynamicLoader: Don't use LibELF to do the initial relocations 2021-07-07 11:53:17 +02:00
Games GameOfLife: Properly switch between play and pause icon 2021-07-07 15:29:37 +01:00
Libraries LibJS: Split out NumberToBigInt from the BigInt constructor 2021-07-08 01:25:49 +01:00
Services WindowServer: When "flash flush" enabled, flash transparent rects green 2021-07-08 01:22:21 +02:00
Shell Everywhere: Prefer using "..."sv over StringView { "..." } 2021-07-04 14:24:03 +02:00
Utilities WindowServer+wsctl: Add a simple utility for toggling "flash flush" 2021-07-07 22:56:46 +02:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00