mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibJS: Change nanoseconds_to_days() result from a JS to Crypto BigInt
Similar to the preceding commit(s).
This commit is contained in:
parent
360c65e92b
commit
039cb9f189
Notes:
sideshowbarker
2024-07-17 17:06:13 +09:00
Author: https://github.com/linusg
Commit: 039cb9f189
Pull-request: https://github.com/SerenityOS/serenity/pull/13124
Reviewed-by: https://github.com/IdanHo ✅
3 changed files with 7 additions and 8 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibJS/Heap/Handle.h>
|
||||
#include <LibJS/Runtime/BigInt.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
|
||||
|
@ -36,7 +35,7 @@ private:
|
|||
|
||||
struct NanosecondsToDaysResult {
|
||||
double days;
|
||||
Handle<BigInt> nanoseconds;
|
||||
Crypto::SignedBigInteger nanoseconds;
|
||||
double day_length;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue