From c81d248ecaef272aae56adabf84588c254b8ec39 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 11 Nov 2014 22:30:02 -0500 Subject: [dev.cc] runtime: convert softfloat_arm.c to Go + build fixes Also include onM_signalok fix from issue 8995. Fixes linux/arm build. Fixes #8995. LGTM=r R=r, dave CC=golang-codereviews https://golang.org/cl/168580043 --- src/runtime/softfloat64_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/softfloat64_test.go') diff --git a/src/runtime/softfloat64_test.go b/src/runtime/softfloat64_test.go index df63010fbd..e108872835 100644 --- a/src/runtime/softfloat64_test.go +++ b/src/runtime/softfloat64_test.go @@ -182,7 +182,7 @@ func hwcmp(f, g float64) (cmp int, isnan bool) { func testcmp(t *testing.T, f, g float64) { hcmp, hisnan := hwcmp(f, g) scmp, sisnan := Fcmp64(math.Float64bits(f), math.Float64bits(g)) - if hcmp != scmp || hisnan != sisnan { + if int32(hcmp) != scmp || hisnan != sisnan { err(t, "cmp(%g, %g) = sw %v, %v, hw %v, %v\n", f, g, scmp, sisnan, hcmp, hisnan) } } -- cgit v1.3-5-g9baa