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 | e8766354a4666044d23027de177e57f2fc992802 (patch) | |
| tree | dcd846a941c08b30f82d0c82beb136e2d34ed563 /src/runtime/runtime.h | |
| parent | 842e1a9aa70648a013d5a48073683f08332e461d (diff) | |
| download | go-e8766354a4666044d23027de177e57f2fc992802.tar.xz | |
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 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 |
