Searched refs:Sign (Results 1 - 8 of 8) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | number_helper.cpp | 35 enum class Sign { NONE, NEG, POS }; class 111 static inline double SignedZero(Sign sign) in SignedZero() 113 return sign == Sign::NEG ? -0.0 : 0.0; in SignedZero() 874 return {true, JSTaggedNumber(SignedZero(Sign::NEG))}; 897 Sign sign = Sign::NONE; 900 sign = Sign::POS; 903 sign = Sign::NEG; 920 return sign == Sign::NEG ? -POSITIVE_INFINITY : POSITIVE_INFINITY; 933 if (sign != Sign [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | ets_intrinsics_helpers.cpp | 104 Sign sign = Sign::NONE; in StringToDouble() 107 sign = Sign::POS; in StringToDouble() 110 sign = Sign::NEG; in StringToDouble() 127 return sign == Sign::NEG ? -POSITIVE_INFINITY : POSITIVE_INFINITY; in StringToDouble() 140 if (sign != Sign::NONE) { in StringToDouble() 150 if (sign != Sign::NONE) { in StringToDouble() 160 if (sign != Sign::NONE) { in StringToDouble() 202 if (sign == Sign::NEG) { in StringToDouble() 251 if (sign == Sign in StringToDouble() [all...] |
H A D | ets_intrinsics_helpers.h | 65 enum class Sign { NONE, NEG, POS }; class 87 inline double SignedZero(Sign sign) in SignedZero() 89 return sign == Sign::NEG ? -0.0 : 0.0; in SignedZero() 193 Sign sign = Sign::NONE; in Strtod() 198 sign = Sign::NEG; in Strtod() 224 return sign == Sign::NEG ? -result : result; in Strtod()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_math.h | 65 V("sign", Sign, 1, MathSign) /* Math.sign ( x ) */ \ 149 static JSTaggedValue Sign(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_math.cpp | 683 JSTaggedValue BuiltinsMath::Sign(EcmaRuntimeCallInfo *argv) in Sign() function in panda::ecmascript::builtins::BuiltinsMath 686 BUILTINS_API_TRACE(argv->GetThread(), Math, Sign); in Sign()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_bigint.h | 171 FIRST_BIT_FIELD(BitField, Sign, bool, SIGN_BITS)
|
H A D | runtime_call_id.h | 585 V(Math, Sign) \
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 565 reinterpret_cast<uintptr_t>(Math::Sign),
|
Completed in 9 milliseconds