mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +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
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