1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2026-03-02 03:49:24 +00:00

Update decimal.mjs with decimal.js changes

This commit is contained in:
Michael Mclaughlin
2025-01-23 17:21:22 +00:00
parent b95c6eb3c7
commit 9817dd122c
4 changed files with 166 additions and 143 deletions

View File

@@ -0,0 +1,2 @@
See decimal PR #217
https://github.com/MikeMcl/decimal.js/pull/217

View File

@@ -119,5 +119,9 @@ T('sin', function () {
t('22011131111011111.111111611113111111111151111111', 143, 2, '0.82582504036277799386306063085803210583251158969990606609364360685569588545519071481543672724620118406694191888115120286393881609546697317692404');
t('996270725099515169352424536636186062915113219400094989.8763797268889422850038402633796294758036260533902551191769915343780424028900449342752548782035', 46, 2, '0.6613706114081017074779805460666900787572253475');
t('0.780360750628373', 37, 5, '0.7035358359376557390803090830882458906');
t('5900', 14, 4, '0.088879123681079');
// Mathematical: 0.088879123681079499990 (20 sig digs)
// Actual: 0.08887912368108
// Expected:
//t('5900', 14, 4, '0.088879123681079');
});