Arbitrary-precision math with WebSharper
math.js uses arbitrary-precision BigNumbers — note how 0.1 + 0.2 is exact.
| Operation | Result |
|---|---|
| Addition | |
| Subtraction | |
| Multiplication | |
| Division |
Type a formula and a variable; math.js differentiates it symbolically.
Element-wise arithmetic on two four-element vectors.
| Operation | Result |
|---|---|
| Addition | |
| Subtraction | |
| Multiplication |
Arithmetic on two 2×2 matrices.
| Operation | Result |
|---|---|
| Addition | |
| Subtraction | |
| Multiplication |
Keep track of physical units and convert the results to a target unit.
| Operation | Result | Converted |
|---|---|---|
| Addition | ||
| Subtraction | ||
| Multiplication | ||
| Division |