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.sts2 * Copyright (c) 2021-2024 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.sts2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
76 // TODO(ivan-tyulyandin): caching is possible
83 public static readonly MIN_VALUE: float = 1.4e-45;
107 * Represents the NaN value according to IEEE-754 specification
112 * Represents the +Infinity value according to IEEE-754 specification
117 * Represents the -Infinity value according to IEEE-754 specification
119 public static readonly NEGATIVE_INFINITY: float = -1.0 / 0.0;
128 * For float (IEEE-754 binary32) it is 2^(-23) and its bit representation is 0x34000000.
202 return (this.value - other.unboxed()) as int;
[all …]
DDouble.sts2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
111 // TODO(ivan-tyulyandin): caching is possible
131 public static readonly MIN_VALUE: double = 4.9e-300 / 1.e+24;
149 public static readonly MIN_SAFE_INTEGER: double = -9007199254740991;
164 * Represents the NaN value according to IEEE-754 specification
170 * Represents the +Infinity value according to IEEE-754 specification
176 * Represents the -Infinity value according to IEEE-754 specification
179 public static readonly NEGATIVE_INFINITY: double = -1.0 / 0.0;
189 … * 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.sts7 * 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;
72 return functionArgTypeIdentical(-2147483648) 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.sts7 * 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/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/spec/
D6_conversions.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
30 .. code-block:: typescript
39 Otherwise, the expression is *non-standalone*:
41 .. code-block-meta:
45 .. code-block:: typescript
55 (see :ref:`Object Literal` as an example). A :index:`compile-time error` occurs
58 There are two ways to facilitate the compatibility of a *non-standalone
61 #. The type of some non-standalone expressions can be inferred from the
82 non-standalone expression
[all …]
D7_expressions.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
34 .. code-block:: abnf
82 .. code-block:: abnf
92 - A class that is to handle static members;
93 - ``Super`` that is to access shadowed fields or constructors declared in the
95 - *primaryExpression* that is to refer to an instance variable of a class,
101 "``this?.``" is handled as a :index:`compile-time error`.
104 is handled as a :index:`compile-time error`.
122 .. code-block:: abnf
[all …]
D3_types.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
23 Type classification as accepted in |LANG| is discussed below---along
45 *user-defined types*.
46 All *user-defined types* must always have complete type definitions
58 user-defined type
74 - Basic numeric value type: ``number``
76 - High-performance value types:
78 - Numeric types: ``byte``, ``short``, ``int``, ``long``, ``float``, and
81 - Character type: ``char``;
[all …]
D21_TS_compatibility.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
15 |LANG|-|TS| compatibility
32 user-defined type names, but are not otherwise restricted.
37 user-defined type name
41 +---------------------------+-----------------------+-----------------------+
45 +---------------------------+-----------------------+-----------------------+
47 +---------------------------+-----------------------+-----------------------+
49 +---------------------------+-----------------------+-----------------------+
51 +---------------------------+-----------------------+-----------------------+
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DGlobal.sts2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
19 * Represents the NaN value according to IEEE-754 specification
24 * Represents the +Infinity value according to IEEE-754 specification
309 * @returns boolean - true if the argument is similar to an integer value
320 * @returns boolean - true if the argument is similar to an integer value
331 * @returns boolean - true if the argument is similar to an integer value
342 * @returns boolean - true if the argument is similar to an integer value
353 * @returns boolean - unconditionally returns `true` as integral types are integer.
362 * @returns boolean - unconditionally returns `true` as integral types are integer.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/interop_js/
D3_primitive_conversions.rst6 http://www.apache.org/licenses/LICENSE-2.0
22 +-------------------------+-------------------+
26 +-------------------------+-------------------+
28 +-------------------------+-------------------+
30 +-------------------------+-------------------+
32 +-------------------------+-------------------+
34 +-------------------------+-------------------+
36 +-------------------------+-------------------+
38 +-------------------------+-------------------+
40 +-------------------------+-------------------+
[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 …]

12