From e8766354a4666044d23027de177e57f2fc992802 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 10 Nov 2008 14:54:10 -0800 Subject: handle Inf, NaN in float print R=r DELTA=48 (23 added, 14 deleted, 11 changed) OCL=18707 CL=18922 --- src/runtime/runtime.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/runtime/runtime.h') diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 30fa915b48..74afa3aef1 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -288,6 +288,8 @@ void sys·cmpstring(string, string, int32); void sys·slicestring(string, int32, int32, string); void sys·indexstring(string, int32, byte); void sys·intstring(int64, string); +bool isInf(float64, int32); +bool isNaN(float64); /* * User go-called -- cgit v1.3-5-g45d5