summaryrefslogtreecommitdiff
path: root/libgo/go/strconv/ftoa_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/strconv/ftoa_test.go')
-rw-r--r--libgo/go/strconv/ftoa_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/strconv/ftoa_test.go b/libgo/go/strconv/ftoa_test.go
index 1d25242ff3f..976bd2c9b8b 100644
--- a/libgo/go/strconv/ftoa_test.go
+++ b/libgo/go/strconv/ftoa_test.go
@@ -208,6 +208,9 @@ var ftoaBenches = []struct {
{"64Fixed2", 123.456, 'e', 3, 64},
{"64Fixed3", 1.23456e+78, 'e', 3, 64},
{"64Fixed4", 1.23456e-78, 'e', 3, 64},
+
+ // Trigger slow path (see issue #15672).
+ {"Slowpath64", 622666234635.3213e-320, 'e', -1, 64},
}
func BenchmarkFormatFloat(b *testing.B) {