MikeMcl / big.js

A small, fast JavaScript library for arbitrary-precision decimal arithmetic.

Home Page:http://mikemcl.github.io/big.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqrt() will fail if Big.strict is set to true

wangkimcheung opened this issue · comments

sqrt() will fail with error "valueOf disallowed" if Big.strict is set to true

Fixed in v6.2.2.

Thanks very much for the report.

Notes:
Another bug introduced by Big.strict mode in v6.0.0. It should have been fixed in v6.0.3, see #148, but was somehow overlooked.