diff options
author | Russ Cox <rsc@golang.org> | 2008-11-10 14:54:10 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2008-11-10 14:54:10 -0800 |
commit | d1cbcbf45df31e0bd42b3d2a75c08b85841da6cb (patch) | |
tree | dcd846a941c08b30f82d0c82beb136e2d34ed563 /src/runtime/runtime.h | |
parent | 76daaeffb0cfc90208455d6ad6f16b721ed733af (diff) | |
download | go-d1cbcbf45df31e0bd42b3d2a75c08b85841da6cb.tar.gz |
handle Inf, NaN in float print
R=r
DELTA=48 (23 added, 14 deleted, 11 changed)
OCL=18707
CL=18922
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r-- | src/runtime/runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 30fa915b4..74afa3aef 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 |