Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp478 bool leadingZero = false; in StringToDouble() local
513 leadingZero = true; in StringToDouble()
524 leadingZero = true; in StringToDouble()
559 …if ((digits == 0 && !leadingZero) || (p != end && !ignoreTrailing && NumberHelper::GotoNonspace(&p… in StringToDouble()
568 RETURN_IF_CONVERSION_END(++p, end, (digits > 0 || (digits == 0 && leadingZero)) ? in StringToDouble()
578 if (digits == 0 && !leadingZero) { in StringToDouble()