Home
last modified time | relevance | path

Searched +full:ieee +full:- +full:754 (Results 1 – 25 of 45) sorted by relevance

12

/arkcompiler/runtime_core/static_core/tests/regression/
Dfcmp.pa1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
18 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
22 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
27 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
28 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
35 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
39 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
44 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
45 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
/arkcompiler/runtime_core/tests/regression/
Dfcmp.pa1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
18 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
22 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
27 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
28 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
35 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
39 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
44 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
45 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/math/consts/
Dconsts.ets2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
58 // export const floatEpsion: float = 1.19209e-07;
59 // export const floatMinimum: float = 1.17549e-38;
63 // export const floatNegInf: float = -1.0 / 0.0;
68 export const doubleEpsilon: double = 2.22045e-16;
73 export const doubleMinimum: double = 2.2250738585072014E-308;
81 * Represents the NaN value accoring to IEEE 754 specification
86 * Represents the +Infinity value accoring to IEEE 754 specification
91 * Represents the -Infinity value accoring to IEEE 754 specification
[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
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);
118 * For float (IEEE-754 binary32) it is 2^(-23) and its bit representation is 0x34000000.
266 return (this.value - other.unboxed()).toInt();
[all …]
DDouble.ets2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
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;
182 … * For double (IEEE-754 binary64) it is 2^(-52) and its bit representation is 0x3cb0000000000000.
[all …]
/arkcompiler/runtime_core/tests/cts-assembly/
Dmath-34.pa1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 ldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
19 movi v0, -1
24 movi v1, -1
Dmath-33.pa1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
17 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
24 movi v1, -1
/arkcompiler/runtime_core/static_core/tests/cts-assembly/
Dmath-34.pa1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 ldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
19 movi v0, -1
24 movi v1, -1
Dmath-33.pa1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
17 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
24 movi v1, -1
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/standalone_function/js_to_ets/
Darg_type.ets2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
49 let arg: byte = -128;
50 return functionArgTypeIdentical(arg) as byte == -128;
54 return functionArgTypeIdentical(-128) as byte == -128;
58 let arg: Short = -32768;
59 return functionArgTypeIdentical(arg) as Short == -32768;
63 return functionArgTypeIdentical(-32768) as Short == -32768;
67 let arg: int = -2147483648;
68 return functionArgTypeIdentical(arg) as int == -2147483648;
[all …]
Dret_type.js7 * http://www.apache.org/licenses/LICENSE-2.0
48 const NEGATIVE_INT_VALUE = -1;
54 // because JS uses IEEE 754 64-bit format for numbers
Dopt_arg_type.ets2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
33 let arg: byte = -128;
38 let arg: Short = -32768;
43 let arg: int = -2147483648;
48 let arg: long = 9007199254740991; // Max safe integer value in JS (IEEE 754 64-bit)
/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 …]
D7_expressions.rst2 Copyright (c) 2021-2025 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
33 .. code-block:: abnf
80 .. code-block:: abnf
90 - Class that is to handle static members;
91 - ``super`` that is to access constructors declared in the
93 - *primaryExpression* that is to refer to an instance variable of a class,
99 "``this?.``" is handled as a :index:`compile-time error`.
102 is handled as a :index:`compile-time error`.
122 .. code-block:: abnf
[all …]
/arkcompiler/runtime_core/static_core/docs/
Dassembly_format.md5 … assembly file format for Panda platform. Assembly files are human-readable and human-writeable pl…
11-to-byte-code language with a minimal feature set. All language-specific "traits" that should be s…
28-point decimal/hexadecimal literals that can be represented with IEEE 754. Hexadecimal floating-po…
32 …e of any characters enclosed in `"` characters. Non-printable characters and characters out of Lat…
36 - `\"` double quote, `\x22`
37 - `\a` alert, `\x07`
38 - `\b` backspace, `\x08`
39 - `\f` form feed, `\x0c`
40 - `\n` newline, `\x0a`
41 - `\r` carriage return, `\x0d`
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dtype_info.h7 * http://www.apache.org/licenses/LICENSE-2.0
20 Arch-feature definitions
59 // Mask say that float number is NaN by IEEE 754
69 // Mask say that double number is NaN by IEEE 754
85 // Arch-independent access types
88 * Template class for identify types compile-time (nortti - can't use typeid).
95 /// Template constructor - use template parameter for create object.
171 // VOID - is scalar type here in IsScalar()
308 // unsigned - checked from registers
313 // Special arch-dependecy NOTE (igorban) Fix them
/arkcompiler/runtime_core/docs/
Dassembly_format.md5 … assembly file format for Panda platform. Assembly files are human-readable and human-writeable pl…
11-to-byte-code language with a minimal feature set. All language-specific "traits" that should be s…
28-point decimal/hexadecimal literals that can be represented with IEEE 754. Hexadecimal floating-po…
32 …e of any characters enclosed in `"` characters. Non-printable characters and characters out of Lat…
36 - `\"` double quote, `\x22`
37 - `\a` alert, `\x07`
38 - `\b` backspace, `\x08`
39 - `\f` form feed, `\x0c`
40 - `\n` newline, `\x0a`
41 - `\r` carriage return, `\x0d`
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/
DTS_compatibility.rst2 Copyright (c) 2021-2025 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
15 |LANG|-|TS| compatibility
28 ----------------------------------
33 A compile-time or a runtime error occurs in |LANG| in many cases, in which
36 .. code-block-meta:
37 expect-cte
39 .. code-block:: typescript
45 // ArkTS: compile-time error if analysis may detect array out of bounds
59 -----------------
[all …]
/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
300 * @returns boolean - true if the argument is similar to an integer value
311 * @returns boolean - true if the argument is similar to an integer value
322 * @returns boolean - true if the argument is similar to an integer value
333 * @returns boolean - true if the argument is similar to an integer value
344 * @returns boolean - unconditionally returns `true` as integral types are integer.
353 * @returns boolean - unconditionally returns `true` as integral types are integer.
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dfp.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "fp_calc"
18 title: Two address floating-point binary operation on accumulator
20 …Perform specified floating-point binary operation on accumulator and register and store result int…
21 The results of instructions correspond IEEE-754 arithmetic rules.
23 - x_none
25 - file-name: "sin_cheb7"
28 - sig: fadd2.64 v:in:f64
31 - sig: fmul2.64 v:in:f64
[all …]
Dfmod2.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "fmod2"
18 title: Two address floating-point binary operation on accumulator
20 …Perform specified floating-point binary operation on accumulator and register and store result int…
21 The results of instructions correspond IEEE-754 arithmetic rules.
23 - x_none
25 - file-name: "op_vs_8_nan"
28 - sig: fmod2 v:in:f32
32 check-type: check-acc-nan-f32
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dfp.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "fp_calc"
18 title: Two address floating-point binary operation on accumulator
20 …Perform specified floating-point binary operation on accumulator and register and store result int…
21 The results of instructions correspond IEEE-754 arithmetic rules.
23 - x_none
25 - file-name: "sin_cheb7"
28 - sig: fadd2.64 v:in:f64
31 - sig: fmul2.64 v:in:f64
[all …]
Dfmod2.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "fmod2"
18 title: Two address floating-point binary operation on accumulator
20 …Perform specified floating-point binary operation on accumulator and register and store result int…
21 The results of instructions correspond IEEE-754 arithmetic rules.
23 - x_none
25 - file-name: "op_vs_8_nan"
28 - sig: fmod2 v:in:f32
32 check-type: check-acc-nan-f32
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/interop_js/
D4_conversions_runtime.rst6 http://www.apache.org/licenses/LICENSE-2.0
27 +-------------------------+-------------------+
31 +-------------------------+-------------------+
33 +-------------------------+-------------------+
35 +-------------------------+-------------------+
37 +-------------------------+-------------------+
39 +-------------------------+-------------------+
41 +-------------------------+-------------------+
43 +-------------------------+-------------------+
45 +-------------------------+-------------------+
[all …]

12