Skip to content

Conversation

@dvd101x
Copy link
Owner

@dvd101x dvd101x commented Jul 8, 2023

No description provided.

kunalagrwl and others added 18 commits June 7, 2023 15:30
* Update parsing.md

Fixing doc typo

* Update parser.js

Fixing typo in doc

* Update Parser.js

Fix typo in doc
* fix: #2880 not possible to map cube root `cbrt`

* fix: bind signature, add comments
* test: format bignumber to engineering bug

Add tests for correctly handling starting with more then 3 sig figs and targeting 1 or 2 sig figs

* lint:

* lint: reduce number literal sig figs

* fix: engineering notation for bignumber input

Corrects handling of cases where the input has 3 or more sig figs and the output is set to 1 or 2 sig figs.

* test: add negative format bignumber precision test

* fix: use BigNumber for all branches in toEngineering

Also, remove string type option from JSDoc for toEngineering since string does support the required interface for the function (the .e property, .mul member function, and the .constructor property would not be correct after this change)

* fix: precision 0 for fixed notation and bignumber

This fix differentiates precision === 0 and precision === undefined to.
After fix, format bignumber for precision 0 matches format number for precision 0.

Tests added as well

---------

Co-authored-by: Jos de Jong <[email protected]>
some additional unit tests, types and doc fix for distance function

Co-authored-by: Jos de Jong <[email protected]>
* Included math to syntax when missing

* Fixed examples in embedded docs
* adjust simplify rules

* fix formatting

* move rule back

* move rule
@dvd101x dvd101x merged commit 2884488 into dvd101x:index-with-booleans Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants