1
Fork 0
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:
Linus Groh 2022-03-18 23:11:33 +00:00
parent 360c65e92b
commit 039cb9f189
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;
};