Skip to content
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

Very large numbers fail. #1

Open
jaredcacurak opened this issue Mar 19, 2014 · 0 comments
Open

Very large numbers fail. #1

jaredcacurak opened this issue Mar 19, 2014 · 0 comments
Labels

Comments

@jaredcacurak
Copy link
Owner

var isPalindrome = require('is-palindrome');
var largePalindromicPrime = 31415926535897932384626433833462648323979853562951413;

isPalindrome(largePalindromicPrime) === false; // should return true

In the example above largePalindromicPrime is being evaluted as 3.1415926535897935e+52.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant