Searched refs:DoubleToFixed (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | number_helper_test.cpp | 350 HWTEST_F_L0(NumberHelperTest, DoubleToFixed) in HWTEST_F_L0() argument 357 … JSHandle<EcmaString> handleEcmaStr1(thread, NumberHelper::DoubleToFixed(thread, 123.456, radix)); in HWTEST_F_L0() 362 … JSHandle<EcmaString> handleEcmaStr2(thread, NumberHelper::DoubleToFixed(thread, 123.456, radix)); in HWTEST_F_L0() 367 … JSHandle<EcmaString> handleEcmaStr3(thread, NumberHelper::DoubleToFixed(thread, 123.456, radix)); in HWTEST_F_L0() 372 … JSHandle<EcmaString> handleEcmaStr4(thread, NumberHelper::DoubleToFixed(thread, 123.456, radix)); in HWTEST_F_L0() 377 … JSHandle<EcmaString> handleEcmaStr5(thread, NumberHelper::DoubleToFixed(thread, 123.456, radix)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | number_helper.h | 108 static JSTaggedValue DoubleToFixed(JSThread *thread, double number, int digit);
|
D | number_helper.cpp | 151 JSTaggedValue NumberHelper::DoubleToFixed(JSThread *thread, double number, int digit) in DoubleToFixed() function in panda::ecmascript::base::NumberHelper 161 return DoubleToFixed(thread, number, digit - 1); in DoubleToPrecision() 169 return DoubleToFixed(thread, number, std::abs(radixDigit)); in DoubleToPrecision()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_number.cpp | 293 return NumberHelper::DoubleToFixed(thread, valueNumber, static_cast<int>(digit)); in ToFixed()
|