diff options
author | Rob Pike <r@golang.org> | 2009-03-09 18:00:41 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-03-09 18:00:41 -0700 |
commit | 12ac1ac687d24f76a9faa199ab0f3d0bc36a32c0 (patch) | |
tree | 08a5636b669405220abea97a86152f2120779a9e /src/lib/reflect/tostring.go | |
parent | ae8420b87f4a4c0d98646c90fac781f88f89c03a (diff) | |
download | golang-12ac1ac687d24f76a9faa199ab0f3d0bc36a32c0.tar.gz |
delete float80 from libraries
R=rsc
DELTA=40 (0 added, 38 deleted, 2 changed)
OCL=25969
CL=25969
Diffstat (limited to 'src/lib/reflect/tostring.go')
-rw-r--r-- | src/lib/reflect/tostring.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/reflect/tostring.go b/src/lib/reflect/tostring.go index 202d0ecbc..bb673fc22 100644 --- a/src/lib/reflect/tostring.go +++ b/src/lib/reflect/tostring.go @@ -78,7 +78,7 @@ func typeToString(typ Type, expand bool) string { return "$missing$"; case IntKind, Int8Kind, Int16Kind, Int32Kind, Int64Kind, UintKind, Uint8Kind, Uint16Kind, Uint32Kind, Uint64Kind, - FloatKind, Float32Kind, Float64Kind, Float80Kind, + FloatKind, Float32Kind, Float64Kind, StringKind, DotDotDotKind: return typ.Name(); @@ -170,8 +170,6 @@ func valueToString(val Value) string { return strconv.Ftoa32(val.(Float32Value).Get(), 'g', -1); case Float64Kind: return strconv.Ftoa64(val.(Float64Value).Get(), 'g', -1); - case Float80Kind: - return "float80"; case StringKind: return val.(StringValue).Get(); case BoolKind: |