Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/tests/
Dnumber_helper_test.cpp314 HWTEST_F_L0(NumberHelperTest, DoubleToExponential) in HWTEST_F_L0() argument
321 …JSHandle<EcmaString> handleEcmaStr1(thread, NumberHelper::DoubleToExponential(thread, 123.9876, ra… in HWTEST_F_L0()
326 …JSHandle<EcmaString> handleEcmaStr2(thread, NumberHelper::DoubleToExponential(thread, 123.9876, ra… in HWTEST_F_L0()
331 …JSHandle<EcmaString> handleEcmaStr3(thread, NumberHelper::DoubleToExponential(thread, 123.567, rad… in HWTEST_F_L0()
336 …JSHandle<EcmaString> handleEcmaStr4(thread, NumberHelper::DoubleToExponential(thread, 123.4567, ra… in HWTEST_F_L0()
341 …JSHandle<EcmaString> handleEcmaStr5(thread, NumberHelper::DoubleToExponential(thread, 123.45670, r… in HWTEST_F_L0()
346 …JSHandle<EcmaString> handleEcmaStr6(thread, NumberHelper::DoubleToExponential(thread, 123.0123, ra… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.h107 static JSTaggedValue DoubleToExponential(JSThread *thread, double number, int digit);
Dnumber_helper.cpp121 JSTaggedValue NumberHelper::DoubleToExponential(JSThread *thread, double number, int digit) in DoubleToExponential() function in panda::ecmascript::base::NumberHelper
171 return DoubleToExponential(thread, number, digit - 1); in DoubleToPrecision()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_number.cpp252 return NumberHelper::DoubleToExponential(thread, values, static_cast<int>(fraction)); in ToExponential()