Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp31 enum class Sign { NONE, NEG, POS }; enum
80 static inline double SignedZero(Sign sign) in SignedZero()
82 return sign == Sign::NEG ? -0.0 : 0.0; in SignedZero()
451 Sign sign = Sign::NONE; in StringToDouble()
454 sign = Sign::POS; in StringToDouble()
457 sign = Sign::NEG; in StringToDouble()
474 return sign == Sign::NEG ? -POSITIVE_INFINITY : POSITIVE_INFINITY; in StringToDouble()
487 if (sign != Sign::NONE) { in StringToDouble()
497 if (sign != Sign::NONE) { in StringToDouble()
507 if (sign != Sign::NONE) { in StringToDouble()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_math.h97 static JSTaggedValue Sign(EcmaRuntimeCallInfo *argv);
Dbuiltins_math.cpp660 JSTaggedValue BuiltinsMath::Sign(EcmaRuntimeCallInfo *argv) in Sign() function in panda::ecmascript::builtins::BuiltinsMath
663 BUILTINS_API_TRACE(argv->GetThread(), Math, Sign); in Sign()
Dbuiltins.cpp1687 SetFunction(env, mathObject, "sign", Math::Sign, FunctionLength::ONE); in InitializeMath()
/arkcompiler/ets_runtime/ecmascript/
Djs_bigint.h164 FIRST_BIT_FIELD(BitField, Sign, bool, SIGN_BITS)
Druntime_call_id.h488 V(Math, Sign) \
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp588 reinterpret_cast<uintptr_t>(Math::Sign),