Skip to content

NaN when hashed should have a random hash value #4510

Closed
@dgryski

Description

@dgryski
20:55:17 <dgryski> I saw the discussion about NaN's in the weekly meeting minutes.  Did anybody bring up Go's behaviour?  NaN's get a random hash value: http://research.swtch.com/randhash
20:56:07  <bstrie> dgryski: interesting
20:59:55  <bstrie> dgryski: would you mind filing an issue to add this to the table(s) in the stdlib? I don't know if if solves the general issue that was being  discussed, but it sounds neat regardless

http://research.swtch.com/randhash for more discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions