Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mprime1
on Nov 19, 2022
|
parent
|
context
|
favorite
| on:
Go 1.21 may have a clear(x) builtin
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:
But the ‘naive’ histogram is an example of a map using float keys.