Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To auto-promote to BigInt in case of an overflow, use a quote after the star(multiplier) operator. Since HN is not allowing me to use star in this comment here is the link to the gist with a simple factorial example: https://gist.github.com/devasiajoseph/8485836


Again, the point is precisely in having just one star.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: