Philippe Vaillancourt

A collection of 19 posts

Using Math on BigInt

Using Math on BigInt

BigInt is a relatively new addition to JavaScript and many aren't familiar with it. This was my case until recently. While working on the Closest Number puzzle on condingame.com, I found myself having to deal with numbers of sizes as big as 10^1000.

Close You've successfully subscribed to Snowfrog's blog.
Close Great! You've successfully signed up.
Close Welcome back! You've successfully signed in.
Close Success! Your account is fully activated, you now have access to all content.