Skip to content

Commit d3d5c45

Browse files
committed
README changes
1 parent 60f6836 commit d3d5c45

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# hyper-number
22
**Version 1.2.0 update: improved the performance by changing how powers of ten are obtained**
3+
34
**Version 1.1.0 update: fixed numerous bugs and errors involved**
45

5-
HyperNumber is a high-precision large number system capable of handling numbers up to 10^^(1e50) and beyond with customization. It uses `BigInt` to handle such features.
6-
The base four-term array looks like this: `[sign (1 or -1), category (non-negative number below the maximum safe integer or BigInt otherwise), digitsOfData, data]`
6+
HyperNumber is a high-precision large number system capable of handling numbers up to 10^^(1e50) and beyond with customization. It uses `BigInt` to handle such features, which is a feature that is now supported by *all* major browsers (well, except Internet Explorer, but does that really count?).
7+
8+
Within each instance of `Hyper`, there is a property, `$`. This property contains the data of the number, in which there is an array that looks like this with four values: `[sign (1 or -1), category (non-negative number below the maximum safe integer or BigInt otherwise), digitsOfData, data]`
79

8-
Create a new instance using `Hyper(string | number | bigint | Hyper)`. Read the source code for documentation!
10+
Create a new instance using `Hyper(string | number | bigint | Hyper)` or `new Hyper(string | number | bigint | Hyper)`. Read the source code for documentation!
911

10-
**Try it out [HERE](https://plasma4.github.io/hyper-number/)!** (You can set the precision to any integer from 16 to 10,000,000.)
12+
**Try out formatting and see how the array works [HERE](https://plasma4.github.io/hyper-number/).** (You can set the precision to any integer from 16 to 10,000,000 when actually using.)

0 commit comments

Comments
 (0)