Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(207)

Issue 5634047: code review 5634047: runtime: fix float64 hash on 32-bit machine (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by rsc
Modified:
13 years, 2 months ago
Reviewers:
ken3
CC:
ken2, golang-dev
Visibility:
Public.

Description

runtime: fix float64 hash on 32-bit machine Multiplying by the low 32 bits was a bad idea no matter what, but it was a particularly unfortunate choice because those bits are 0 for small integer values. Fixes issue 2883.

Patch Set 1 #

Patch Set 2 : diff -r 33b81249a41c https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r bb5ea3688ba2 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/runtime/alg.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
rsc
Hello ken2 (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 2 months ago (2012-02-06 16:24:33 UTC) #1
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=434e9fff8a43 *** runtime: fix float64 hash on 32-bit machine Multiplying by the ...
13 years, 2 months ago (2012-02-06 16:24:36 UTC) #2
ken3
13 years, 2 months ago (2012-02-06 17:14:51 UTC) #3
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b