-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative number incorrect #9
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The first error what there is displayed in console.log()
is: Uncaught ReferenceError: str2bigInt is not defined
So I used this old bigInt: http://icosahedral.net/script/BigInt.js
I did try to write function to convert bigInt to JS number
(because bigInt seems as array in console.log).
Function, like this:
As you can see, negative numbers equals to positive nubmers.
There is no any function to get absolute value.
funtion negative(x) not working correctly.
Can you add all this to your bigInt.js?
Also, you can make compatible this with HTML in your free time.
Best regards.
The text was updated successfully, but these errors were encountered: