To create arbitrary BigInts via the C++ API, use BigInt::NewFromWords.
An alternative, as you suggest, is to parse the string as source, because
"BigInt strings with 'n' suffixes" are BigInt literals. Instead of "eval",
the API functions to do that are Script::Compile and Script::Run. Look at
On Sat, Sep 15, 2018 at 8:41 PM J Decker wrote:
> I was implementing a parser that includes BigInt strings with 'n'
> suffixes...
> I tried to create a BigInt::New( isolate, ... and then found the only
> constructor takes an int64; which isn't a very big int.
>
> howto bigint from string?
>
I was implementing a parser that includes BigInt strings with 'n'
suffixes...
I tried to create a BigInt::New( isolate, ... and then found the only
constructor takes an int64; which isn't a very big int.
howto bigint from string?
--
--
v8-users mailing list
v8-users@googlegroups.com
So I solved it but environment is Ubuntu 18.04 with gcc-7.3.0.
However, always occurred warnings.
My CLI is here:
gn args test/ --args='target_cpu="x64" v8_target_cpu="arm64" is_debug=true
v8_code_coverage=true is_clang=false v8_optimized_debug=false
treat_warnings_as_errors=false'
And
That’s all.
On Fri, 14 Sep 2018 at 21:53, dan Med wrote:
> I don’t understand how that code could be helpful to me..
>
> On Fri, 14 Sep 2018 at 21:51, dan Med wrote:
>
>> Technica question, when Arraybufferbuilder:append will be called ?
>>
>> On Fri, 14 Sep 2018 at 01:14, Peter Schow wrote: