Skip to content

Commit

Permalink
doc: do not use tilde for "about" or "approximately"
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Jul 10, 2021
1 parent e2148d7 commit 2824adb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5031,9 +5031,9 @@ changes:

* {integer} The largest size allowed for a single `Buffer` instance.

On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (~1GB).
On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (about 1GB).

On 64-bit architectures, this value currently is 2<sup>32</sup> (~4GB).
On 64-bit architectures, this value currently is 2<sup>32</sup> (about 4GB).

It reflects [`v8::TypedArray::kMaxLength`][] under the hood.

Expand Down
4 changes: 2 additions & 2 deletions doc/guides/investigating_native_memory_leak.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ Leaks can be introduced in native addons and the following is a simple
example leak based on the "Hello world" addon from
[node-addon-examples](https://github.com/nodejs/node-addon-examples).

In this example, a loop which allocates ~1MB of memory and never frees it
has been added:
In this example, a loop which allocates approximately 1MB of memory and never
frees it has been added:

```cpp
void* malloc_holder = nullptr;
Expand Down

0 comments on commit 2824adb

Please sign in to comment.