LibJS: Change nanoseconds_to_days() result from a JS to Crypto BigInt

Similar to the preceding commit(s).
This commit is contained in:
Linus Groh 2022-03-18 23:11:33 +00:00
commit 039cb9f189
Notes: sideshowbarker 2024-07-17 17:06:13 +09:00
3 changed files with 7 additions and 8 deletions

View file

@ -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;
};