diff --git a/src/pkg/runtime/alg.c b/src/pkg/runtime/alg.c index 56ec2d69e69..eec523aad4d 100644 --- a/src/pkg/runtime/alg.c +++ b/src/pkg/runtime/alg.c @@ -263,7 +263,7 @@ runtimeĀ·f64hash(uintptr *h, uintptr s, void *a) uint64 u; USED(s); - f = *(float32*)a; + f = *(float64*)a; if(f == 0) hash = 0; // +0, -0 else if(f != f)