doc: do not use tilde for "about" or "approximately"

Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/special-characters

PR-URL: https://github.com/nodejs/node/pull/39344
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
pull/39344/head
Rich Trott 2021-07-10 11:50:40 -07:00
parent 5cccdccf88
commit 91ec27fb19
2 changed files with 5 additions and 4 deletions

View File

@ -5031,9 +5031,10 @@ changes:
* {integer} The largest size allowed for a single `Buffer` instance.
On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (~1 GB).
On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (about 1
GB).
On 64-bit architectures, this value currently is 2<sup>32</sup> (~4 GB).
On 64-bit architectures, this value currently is 2<sup>32</sup> (about 4 GB).
It reflects [`v8::TypedArray::kMaxLength`][] under the hood.

View File

@ -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 ~1 MB of memory and never frees it
has been added:
In this example, a loop which allocates approximately 1 MB of memory and never
frees it has been added:
```cpp
void* malloc_holder = nullptr;