Searched refs:DoubleToPrecision (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | number_helper_test.cpp | 390 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/ |
D | number_helper.h | 109 static JSTaggedValue DoubleToPrecision(JSThread *thread, double number, int digit);
|
D | number_helper.cpp | 158 JSTaggedValue NumberHelper::DoubleToPrecision(JSThread *thread, double number, int digit) in DoubleToPrecision() function in panda::ecmascript::base::NumberHelper
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_number.cpp | 401 return NumberHelper::DoubleToPrecision(thread, valueNumber, static_cast<int>(digit)); in ToPrecision()
|