File tree Expand file tree Collapse file tree 4 files changed +119
-1
lines changed
lib/node_modules/@stdlib/constants/float16/exponent-bias
include/stdlib/constants/float16 Expand file tree Collapse file tree 4 files changed +119
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ limitations under the License.
1818
1919-->
2020
21- # Bias
21+ # FLOAT16_EXPONENT_BIAS
2222
2323> The bias of a [ half-precision floating-point number's] [ half-precision-floating-point-format ] exponent.
2424
@@ -62,6 +62,60 @@ console.log( FLOAT16_EXPONENT_BIAS );
6262
6363<!-- /.examples -->
6464
65+ <!-- C interface documentation. -->
66+
67+ * * *
68+
69+ <section class =" c " >
70+
71+ ## C APIs
72+
73+ <!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
74+
75+ <section class =" intro " >
76+
77+ </section >
78+
79+ <!-- /.intro -->
80+
81+ <!-- C usage documentation. -->
82+
83+ <section class =" usage " >
84+
85+ ### Usage
86+
87+ ``` c
88+ #include " stdlib/constants/float16/exponent_bias.h"
89+ ```
90+
91+ #### STDLIB_CONSTANT_FLOAT16_EXPONENT_BIAS
92+
93+ Macro for the bias of a [ half-precision floating-point number's] [ half-precision-floating-point-format ] exponent.
94+
95+ </section >
96+
97+ <!-- /.usage -->
98+
99+ <!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
100+
101+ <section class =" notes " >
102+
103+ </section >
104+
105+ <!-- /.notes -->
106+
107+ <!-- C API usage examples. -->
108+
109+ <section class =" examples " >
110+
111+ </section >
112+
113+ <!-- /.examples -->
114+
115+ </section >
116+
117+ <!-- /.c -->
118+
65119<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
66120
67121<section class =" related " >
Original file line number Diff line number Diff line change 1+ /**
2+ * @license Apache-2.0
3+ *
4+ * Copyright (c) 2025 The Stdlib Authors.
5+ *
6+ * Licensed under the Apache License, Version 2.0 (the "License");
7+ * you may not use this file except in compliance with the License.
8+ * You may obtain a copy of the License at
9+ *
10+ * http://www.apache.org/licenses/LICENSE-2.0
11+ *
12+ * Unless required by applicable law or agreed to in writing, software
13+ * distributed under the License is distributed on an "AS IS" BASIS,
14+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ * See the License for the specific language governing permissions and
16+ * limitations under the License.
17+ */
18+
19+ #ifndef STDLIB_CONSTANTS_FLOAT16_EXPONENT_BIAS_H
20+ #define STDLIB_CONSTANTS_FLOAT16_EXPONENT_BIAS_H
21+
22+ /**
23+ * Macro for the bias of a half-precision floating-point number's exponent.
24+ */
25+ #define STDLIB_CONSTANT_FLOAT16_EXPONENT_BIAS 15
26+
27+ #endif // !STDLIB_CONSTANTS_FLOAT16_EXPONENT_BIAS_H
Original file line number Diff line number Diff line change 1+ {
2+ "options" : {},
3+ "fields" : [
4+ {
5+ "field" : " src" ,
6+ "resolve" : true ,
7+ "relative" : true
8+ },
9+ {
10+ "field" : " include" ,
11+ "resolve" : true ,
12+ "relative" : true
13+ },
14+ {
15+ "field" : " libraries" ,
16+ "resolve" : false ,
17+ "relative" : false
18+ },
19+ {
20+ "field" : " libpath" ,
21+ "resolve" : true ,
22+ "relative" : false
23+ }
24+ ],
25+ "confs" : [
26+ {
27+ "src" : [],
28+ "include" : [
29+ " ./include"
30+ ],
31+ "libraries" : [],
32+ "libpath" : [],
33+ "dependencies" : []
34+ }
35+ ]
36+ }
Original file line number Diff line number Diff line change 1717 "directories" : {
1818 "doc" : " ./docs" ,
1919 "example" : " ./examples" ,
20+ "include" : " ./include" ,
2021 "lib" : " ./lib" ,
2122 "test" : " ./test"
2223 },
You can’t perform that action at this time.
0 commit comments