You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## When to use decimals while writing examples, benchmarks and documentation and when should I avoid it?
166
+
167
+
Decimals are our way of showing that the number that we're trying to denote is a floating point value in C. Note that all numbers in JavaScript are treated as a floating point value. for example:
var x =newFloat64Array( [ 1.0, -2.0, NaN, 2.0 ] );
182
+
183
+
var v =dnanvariancetk( 4, 1.0, x, 1 );
184
+
// returns ~4.33333
185
+
```
186
+
187
+
notice how we used `1.0` in the second arguement because it is a double precision floating point number, while we didn't use it in the first and fourth arguements as they are integers
188
+
163
189
<aname="compilation-error"></a>
164
190
165
191
## I have the required packages in the expected paths, but I am still encountering an error like this while compiling the native add-on.
Copy file name to clipboardExpand all lines: docs/devcontainer_setup.md
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,27 +20,27 @@ limitations under the License.
20
20
21
21
# Devcontainer Setup
22
22
23
-
> step by step tutorial on how to setup the repo in a devcontainer.
23
+
> Step-by-Step Tutorial on How to Set Up the Repository in a Dev Container
24
24
25
25
## Introduction
26
26
27
-
We appreciate your interest in contributing to stdlib! Below, we've provided a step-by-step tutorial on how to set up the project locally on your device using a devcontainer.
27
+
We appreciate your interest in contributing to stdlib! Below, we've provided a step-by-step tutorial on how to set up the project locally on your device using a dev container.
28
28
29
-
The stdlib repository includes a preconfigured devcontainer, making it the easiest way to set up your development environment. It ensures proper linting, EditorConfig, and tooling are configured right from the start.
29
+
The stdlib repository includes a preconfigured dev container, making it the easiest way to set up your development environment. It ensures proper linting, EditorConfig, and tooling are configured right from the start.
30
30
31
-
### Prerequisites
32
-
33
-
setting up the stdlib devcontainer **requires** the following prerequisites:
31
+
**Note:** The dev container does not yet support ARM64 architectures. For more information, or if you're interested in adding ARM64 support, you can visit this [issue][devcontainer-issue].
34
32
33
+
### Prerequisites
35
34
36
-
-[Git][git]: version control
37
-
-[Docker][docker]: containerization
38
-
-[VS Code][vscode]: preferred IDE
35
+
Setting up the stdlib dev container **requires** the following prerequisites:
39
36
37
+
-[Git][git]: Version control
38
+
-[Docker][docker]: Containerization
39
+
-[VS Code][vscode]: Preferred IDE
40
40
41
41
### Download
42
42
43
-
To acquire the source code, first navigate to the parent directory into which you want to place the project [Git][git] repository
43
+
To acquire the source code, first navigate to the parent directory where you want to place the project’s[Git][git] repository.
44
44
45
45
<!-- run-disable -->
46
46
@@ -64,17 +64,17 @@ If you are wanting to contribute to stdlib, first [fork][github-fork] the reposi
0 commit comments