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

You can certainly map floats to int ‘bin number’ which is the index into an array. No need for a map.

But the ‘naive’ histogram is an example of a map using float keys.



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

Search: