not-so-float 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Not So Float
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
**Not So Float** is a pure TypeScript library that implements **Interval Union
|
|
4
6
|
Arithmetic** over IEEE 754 double precision floats (JS numbers).
|
|
5
7
|
|
|
@@ -34,6 +36,14 @@ Design goals:
|
|
|
34
36
|
> [!TIP]
|
|
35
37
|
> If you like this open-source project consider [sponsoring me](https://github.com/sponsors/victorpoughon) on GitHub, thank you ❤️
|
|
36
38
|
|
|
39
|
+
## Installation
|
|
40
|
+
|
|
41
|
+
`not-so-float` build version is available [on npm](https://www.npmjs.com/package/not-so-float):
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
npm install not-so-float
|
|
45
|
+
```
|
|
46
|
+
|
|
37
47
|
## Outward Rounding
|
|
38
48
|
|
|
39
49
|
The main interest of interval arithmetic is the inclusion property. Any interval
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "not-so-float",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
|
-
"url": "https://github.com/victorpoughon/not-so-float"
|
|
5
|
+
"url": "git+https://github.com/victorpoughon/not-so-float.git"
|
|
6
6
|
},
|
|
7
7
|
"private": false,
|
|
8
|
-
"version": "1.0.
|
|
8
|
+
"version": "1.0.1",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "tsup",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"dist",
|
|
22
|
+
"LICENSE",
|
|
22
23
|
"package.json"
|
|
23
24
|
],
|
|
24
25
|
"exports": {
|