5.0.0 • Published 2 years ago
@arithmetic-type/double v5.0.0
:1234: @arithmetic-type/double
64-bit float arithmetic for JavaScript. See docs. Parent is js-library.
import {add, mul, sub, div} from '@arithmetic-type/double';
add(0.1, 0.2); // 0.30000000000000004
mul(0.1, 0.2); // 0.020000000000000004
sub(0.1, 0.2); // -0.1
div(0.1, 0.2); // 0.5
5.0.0
2 years ago