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

This really shouldn't be an error -- the internal representation of the number shouldn't leak out like this.

The good news is that you rarely want to add a double and a bigint -- it usually doesn't make mathematical sense. But the compiler / runtime should try harder to do what you asked.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: