Home
last modified time | relevance | path

Searched +full:floating +full:- +full:point (Results 1 – 25 of 225) sorted by relevance

123456789

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DGlobal.ets2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
19 * Represents the NaN value according to IEEE-754 specification
25 * Represents the +Infinity value according to IEEE-754 specification
64 * Parses floating point number from `String`
180 * Checks if `Double` value is a floating point value (not a `NaN` or `Infinity`)
184 * @returns `true` if the argument is a floating point value, `false` otherwise.
191 * Checks if `double` value is a floating point value (not a `NaN` or `Infinity`)
195 * @returns `true` if the argument is a floating point value, `false` otherwise.
202 * Checks if `Float` value is a floating point value (not a `NaN` or `Infinity`)
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/generic_declarations/generic_classes/implementation_of_different_types/
Dimplement_generic_interface.params.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
14 --- # Testing the use of generic parameters to implement universal interfaces.
17 - type: number
20 expected: |-
23 - type: number
26 expected: |-
29 - type: number
31 values: -10
32 expected: |-
33 assertEQ(result, -10);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DFloat.ets2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
21 export final class Float extends Floating implements Comparable<Float>, JSONable<Float> {
66 // TODO(ivan-tyulyandin): caching is possible
73 public static readonly MIN_VALUE: float = 1.4e-45f;
97 * Represents the NaN value according to IEEE-754 specification
102 * Represents the +Infinity value according to IEEE-754 specification
107 * Represents the -Infinity value according to IEEE-754 specification
109 public static readonly NEGATIVE_INFINITY: float = Double.toFloat(-1.0 / 0.0);
112 * Number of significant precision bits in this floating type
[all …]
DDouble.ets2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
21 export final class Double extends Floating implements Comparable<Double>, JSONable<Double> {
104 // TODO(ivan-tyulyandin): caching is possible
124 public static readonly MIN_VALUE: double = 4.9e-300 / 1.e+24;
142 public static readonly MIN_SAFE_INTEGER: double = -9007199254740991;
157 * Represents the NaN value according to IEEE-754 specification
163 * Represents the +Infinity value according to IEEE-754 specification
169 * Represents the -Infinity value according to IEEE-754 specification
172 public static readonly NEGATIVE_INFINITY: double = -1.0 / 0.0;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D6_conversions.rst2 Copyright (c) 2021-2025 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
42 .. code-block:: typescript
51 Otherwise, the expression is *non-standalone*:
62 .. code-block-meta:
65 .. code-block:: typescript
75 A :index:`compile-time error` occurs if such an expression
78 There are two ways to facilitate the compatibility of a *non-standalone
81 #. The type of some non-standalone expressions can be inferred from the
84 #. In the :ref:`Assignment-like Contexts` inferred expression type
[all …]
D3_types.rst2 Copyright (c) 2021-2025 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
23 Type classification as accepted in |LANG| is discussed below---along
39 *user-defined types*.
40 All *user-defined types* must always have complete type definitions
50 user-defined type
58 Predefined Types User-Defined Types
80 user-defined type
97 +--------------+---------------+
101 +--------------+---------------+
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
13 ---
16 - title: Conversions between integer and floating point types
17 description: Conversion from floating-point types to integer one obeys the following
20 - title: Load accumulator from string constant pool
21 description: In dynamically-typed language context load string as 'any' value.
23 - title: Static call
24 description: In dynamically-typed language context accept 'any' values in source
27 - title: Create and initialize new constant array
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_fp_simd_regs.def7 * http://www.apache.org/licenses/LICENSE-2.0
17 * - %xmm0–%xmm1 used to pass and return floating point arguments
18 - %xmm2–%xmm7 used to pass floating point arguments
23 …* ID, prefixes: 8-bit, 16-bit, 32-bit, 64-bit, 128-bit, canBeAssigned, isCalleeSave, isParam, isSp…
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Di32tof32.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i32tof32"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: i32tof32
28 acc: inout:i32->f32
31 code-template: |
40 - values:
[all …]
Du32tof64.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u32tof64
28 acc: inout:u32->f64
31 code-template: |
40 - values:
[all …]
Du32tof32.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32tof32"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u32tof32
28 acc: inout:u32->f32
31 code-template: |
40 - values:
[all …]
Di64tof64.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i64tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: i64tof64
28 acc: inout:i64->f64
31 code-template: |
40 - values:
[all …]
Du64tof64.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u64tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u64tof64
28 acc: inout:u64->f64
31 code-template: |
40 - values:
[all …]
Du64tof32.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u64tof32"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u64tof32
28 acc: inout:u64->f32
31 code-template: |
40 - values:
[all …]
Df32tof64.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "f32tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: f32tof64
28 acc: inout:f32->f64
31 code-template: |
40 - values:
[all …]
Di64tof32.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i64tof32"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: i64tof32
28 acc: inout:i64->f32
31 code-template: |
40 - values:
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Di32tof32.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i32tof32"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: i32tof32
28 acc: inout:i32->f32
31 code-template: |
40 - values:
[all …]
Du32tof32.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32tof32"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u32tof32
28 acc: inout:u32->f32
31 code-template: |
40 - values:
[all …]
Du32tof64.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u32tof64
28 acc: inout:u32->f64
31 code-template: |
40 - values:
[all …]
Di64tof64.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i64tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: i64tof64
28 acc: inout:i64->f64
31 code-template: |
40 - values:
[all …]
Du64tof64.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u64tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u64tof64
28 acc: inout:u64->f64
31 code-template: |
40 - values:
[all …]
Du64tof32.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u64tof32"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u64tof32
28 acc: inout:u64->f32
31 code-template: |
40 - values:
[all …]
Df32tof64.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "f32tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: f32tof64
28 acc: inout:f32->f64
31 code-template: |
40 - values:
[all …]
Di64tof32.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i64tof32"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: i64tof32
28 acc: inout:i64->f32
31 code-template: |
40 - values:
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_ir_specification.md5 …scribes semantic of programs in a language-neutral and target-neutral way, targeting multi-languag…
9 …hey acted like a [finite state machine](https://en.wikipedia.org/wiki/Finite-state_machine) (FSM))…
11 …will load from or store to the global memory, so they should be executed non-simultaneously and in…
17 …he state transition action of the FSM. Selector gates are affiliated (many-to-one) to `MERGE` stat…
65 …>, b:<JS_STRING>) -> c:<JS_STRING>=JS_ADD(a:<JS_NUMBER>, b:<JS_STRING>)` and `c:<JS_ANY>=VALUE_SEL…
69-level instructions (HIR), middle-level instructions (MIR) and low-level instructions (LIR). They …
71 * HIR instructions represent language-related computational process, which usually correspond to th…
72 * MIR instructions are language-independent and target-independent, which are similar to LLVM IR, b…
73 * LIR instructions are target-related, which usually correspond to the machine instructions of targ…
82 * `ARCH` means architecture-related integer type (`INTx` on `x` bits architecture).
[all …]

123456789