Home
last modified time | relevance | path

Searched refs:DoubleToPrecision (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/tests/
Dnumber_helper_test.cpp390 HWTEST_F_L0(NumberHelperTest, DoubleToPrecision) in HWTEST_F_L0() argument
397 … JSHandle<EcmaString> handleEcmaStr1(thread, NumberHelper::DoubleToPrecision(thread, 0.0, radix)); in HWTEST_F_L0()
401 …JSHandle<EcmaString> handleEcmaStr2(thread, NumberHelper::DoubleToPrecision(thread, 0.0001, radix)… in HWTEST_F_L0()
405 …JSHandle<EcmaString> handleEcmaStr3(thread, NumberHelper::DoubleToPrecision(thread, 0.0000001, rad… in HWTEST_F_L0()
409 …JSHandle<EcmaString> handleEcmaStr5(thread, NumberHelper::DoubleToPrecision(thread, 1000.1234, rad… in HWTEST_F_L0()
414 …JSHandle<EcmaString> handleEcmaStr6(thread, NumberHelper::DoubleToPrecision(thread, 1000.1234, rad… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.h109 static JSTaggedValue DoubleToPrecision(JSThread *thread, double number, int digit);
Dnumber_helper.cpp158 JSTaggedValue NumberHelper::DoubleToPrecision(JSThread *thread, double number, int digit) in DoubleToPrecision() function in panda::ecmascript::base::NumberHelper
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_number.cpp401 return NumberHelper::DoubleToPrecision(thread, valueNumber, static_cast<int>(digit)); in ToPrecision()