/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | errorcode-utils.md | 744 …decimal.md#pow)、[exp](js-apis-arkts-decimal.md#exp)、[log](js-apis-arkts-decimal.md#log)、[ln](js-ap… 748 使用[Decimal.set](js-apis-arkts-decimal.md#set)函数来设置有效精度。 764 在Decimal中设置[crypto](js-apis-arkts-decimal.md#decimalconfig)或使用[Decimal.random](js-apis-arkts-decima… 768 使用[Decimal.set](js-apis-arkts-decimal.md#set)函数来取消加密算法。
|
H A D | js-apis-arkts-decimal.md | 34 | [Decimal](#decimal) | 表示值类型为Decimal类型。 | 179 | [Decimal](#decimal) | 返回绝对值运算后的Decimal对象实例。 | 202 | [Decimal](#decimal) | 返回舍入之后的Decimal对象实例。 | 225 | [Decimal](#decimal) | 返回舍入之后的Decimal对象实例。 | 248 | [Decimal](#decimal) | 返回截断之后的Decimal对象实例。 | 278 | [Decimal](#decimal) | 返回符合范围内的Decimal对象实例。 | 320 | [Decimal](#decimal) | 返回加法运算后的Decimal对象实例。 | 359 | [Decimal](#decimal) | 返回减法运算后的Decimal对象实例。 | 398 | [Decimal](#decimal) | 返回乘法运算后的Decimal对象实例。 | 437 | [Decimal](#decimal) | 返回除法运算后的Decimal对象实例。 | [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkts/ |
H A D | js-apis-arkts-decimal.md | 32 | [Decimal](#decimal) | The value is a decimal. | 1257 | boolean | **true**: The decimal is finite.<br>**false**: The decimal is not finite.| 1305 | boolean | **true**: The decimal is NaN.<br>**false**: The decimal is not NaN.| 1329 | boolean | **true**: The decimal is negative.<br>**false**: The decimal is not negative.| 1811 Truncates this decimal to a given number of decimal places. 2006 | [Decimal](#decimal) | String expressed in decimal fixed-point mode.| 2020 Converts this decimal to a string expressed in decimal fixed-point mode, with the number of decimal… 2038 | [Decimal](#decimal) | String expressed in decimal fixed-point mode.| 2062 Converts this decimal to a string expressed in decimal fixed-point mode, with the number of decimal… 2079 | [Decimal](#decimal) | String expressed in decimal fixed-point mode.| [all …]
|
H A D | errorcode-utils.md | 743 …decimal.md#pow), [exp](js-apis-arkts-decimal.md#exp), [log](js-apis-arkts-decimal.md#log), [ln](js… 747 Use [Decimal.set](js-apis-arkts-decimal.md#set) to set a valid precision. 763 When [crypto](js-apis-arkts-decimal.md#decimalconfig) of **Decimal** is set or the [Decimal.random]… 767 Use [Decimal.set](js-apis-arkts-decimal.md#set) to cancel the encryption algorithm.
|
/ohos5.0/drivers/peripheral/location/gnss/hdi_service/ |
H A D | string_utils.cpp | 30 const uint8_t decimal = 10; in HexCharToInt() local 35 return (c - 'A' + decimal); in HexCharToInt() 38 return (c - 'a' + decimal); in HexCharToInt()
|
/ohos5.0/base/update/updater/test/unittest/updater_test/ |
H A D | test_update_binary_abnormal.cpp | 35 constexpr int decimal = 10; in main() local 42 int pipeFd = static_cast<int>(std::strtol(argv[1], nullptr, decimal)); in main()
|
H A D | test_update_binary.cpp | 35 constexpr int decimal = 10; in main() local 42 int pipeFd = static_cast<int>(std::strtol(argv[1], nullptr, decimal)); in main()
|
/ohos5.0/base/telephony/sms_mms/utils/ |
H A D | string_utils.cpp | 41 const uint8_t decimal = 10; in HexCharToInt() local 46 return (c - 'A' + decimal); in HexCharToInt() 49 return (c - 'a' + decimal); in HexCharToInt()
|
/ohos5.0/base/hiviewdfx/hiview/base/running_status_logger/ |
H A D | running_status_logger.cpp | 116 int decimal = 10; in GetLogWroteDestFile() local 118 index *= decimal; in GetLogWroteDestFile() 127 …return GenerateNewestFileName(std::string(((index < decimal) ? "_0" : "_")).append(std::to_string(… in GetLogWroteDestFile()
|
/ohos5.0/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | test_service.cpp | 36 int decimal = 10; // decimal value. in Reverse() local 39 result = result * decimal + x % decimal; in Reverse() 40 x = x / decimal; in Reverse()
|
/ohos5.0/base/location/services/location_gnss/gnss/source/ |
H A D | string_utils.cpp | 43 const uint8_t decimal = 10; in HexCharToInt() local 48 return (c - 'A' + decimal); in HexCharToInt() 51 return (c - 'a' + decimal); in HexCharToInt()
|
/ohos5.0/base/hiviewdfx/hiview/base/ |
H A D | event.cpp | 54 const int decimal = 10; in GetIntValue() local 55 int32_t ret = static_cast<int32_t>(std::strtol(it->second.c_str(), nullptr, decimal)); in GetIntValue()
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | xcollie_utils.cpp | 237 const int decimal = 10; in ParsePeerBinderPid() local 275 int serverNum = std::strtol(server.c_str(), nullptr, decimal); in ParsePeerBinderPid() 276 int clientNum = std::strtol(client.c_str(), nullptr, decimal); in ParsePeerBinderPid() 277 int waitNum = std::strtol(wait.c_str(), nullptr, decimal); in ParsePeerBinderPid()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | exif_metadata_formatter.cpp | 705 std::string ExifMetadatFormatter::GetFractionFromStr(const std::string &decimal, bool &outRange) in GetFractionFromStr() argument 708 std::string inPareStr = decimal.substr(0, decimal.find(".")); in GetFractionFromStr() 717 double decPart = stod(decimal.substr(decimal.find("."))); in GetFractionFromStr() 719 int numerator = decPart * pow(DECIMAL_BASE, decimal.length() - decimal.find(".") - 1); in GetFractionFromStr() 720 int denominator = pow(DECIMAL_BASE, decimal.length() - decimal.find(".") - 1); in GetFractionFromStr()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/ |
H A D | aot_executor.cpp | 74 std::string AOTExecutor::DecToHex(uint32_t decimal) const in DecToHex() 76 APP_LOGD("DecToHex begin, decimal : %{public}u", decimal); in DecToHex() 78 ss << std::hex << decimal; in DecToHex()
|
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/ |
H A D | arkts-utils-overview.md | 5 …is-arkts/js-apis-url.md)和[高精度浮点计算](../reference/apis-arkts/js-apis-arkts-decimal.md)等能力,协助开发者简化开发工…
|
H A D | arkts-overview.md | 9 ArkTS基础类库和容器类库增强了语言的基础功能,提供包括[高精度浮点运算](../reference/apis-arkts/js-apis-arkts-decimal.md)、[二进制Buffer…
|
/ohos5.0/docs/en/application-dev/internationalization/ |
H A D | i18n-numbers-weights-measures.md | 5 …decimal separators, how many digits are displayed after separators, and what currencies and units … 38 … notation, and compact display. Supported number display formats include decimal, percent, currenc… 49 **Table 2** Minimum number of decimal places (minimumFractionDigits)
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | arkts-utils-overview.md | 5 …recision floating-point computing](../reference/apis-arkts/js-apis-arkts-decimal.md) to help devel…
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | number_format_impl.cpp | 30 off = ReplaceAndCountOff(strContent, i + off, data->decimal, off); in ConvertSignAndNum() 280 void NumberFormatImpl::AddGroup(char *targetAndSource[], const int len[], const char *decimal, in AddGroup() argument 322 target[addIndex + j] = hasDec ? decimal[j] : '\0'; in AddGroup()
|
H A D | number_data.cpp | 90 decimal = I18nNewCharString(td, strlen(td)); in InitSign() 265 I18nFree(static_cast<void *>(decimal)); in ~NumberData()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/aot/ |
H A D | aot_executor.h | 45 std::string DecToHex(uint32_t decimal) const;
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/ |
H A D | number_format_impl.h | 49 …void AddGroup(char *targetAndSource[], const int len[], const char *decimal, bool hasDec, int decL…
|
/ohos5.0/foundation/ability/idl_tool/test/sa_test/keyword_cacheable_test_003/foo/ |
H A D | IFoo.idl | 17 [cacheable 3.14]void test001(); // decimal
|
/ohos5.0/base/update/packaging_tools/ |
H A D | script_generator.py | 23 from decimal import getcontext 24 from decimal import Decimal
|