diff options
author | Kai Backman <kaib@golang.org> | 2010-04-15 12:43:49 +0300 |
---|---|---|
committer | Kai Backman <kaib@golang.org> | 2010-04-15 12:43:49 +0300 |
commit | 9e5434735bd6aad2e2a0b4b4e64e335a1f0515c1 (patch) | |
tree | 021cae345a3818a377486e5b6eed0262a61fd023 /test | |
parent | fb6dab658038153850eab2d84e46d66379acaf5e (diff) | |
download | golang-9e5434735bd6aad2e2a0b4b4e64e335a1f0515c1.tar.gz |
support for printing floats:
fmt.Printf("float32 %f\n", float32(1234.56789))
fmt.Printf("float64 %f\n", float64(1234.56789))
->
float32 1234.567871
float64 1234.567890
this is a snapshot. extended instruction support, corner cases
and fixes coming in subseuent cls.
R=rsc
CC=dpx, golang-dev
http://codereview.appspot.com/876045
Diffstat (limited to 'test')
-rw-r--r-- | test/arm-pass.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/arm-pass.txt b/test/arm-pass.txt index 57d795d30..ce24e01ac 100644 --- a/test/arm-pass.txt +++ b/test/arm-pass.txt @@ -36,7 +36,7 @@ ./empty.go # ./env.go # android runner doesn't pass env through ./escape.go -./float_lit.go +# ./float_lit.go # need floating point # ./floatcmp.go # need floating point ./for.go # ./func.go @@ -66,18 +66,18 @@ ./int_lit.go ./intcvt.go ./iota.go -./literal.go +# ./literal.go # need floating point # ./malloc1.go # ./mallocfin.go # ./mallocrand.go # ./mallocrep.go # ./mallocrep1.go -./map.go +# ./map.go # need floating point ./method.go ./method1.go ./method2.go ./method3.go -./named.go +#./named.go # need floating point ./named1.go ./nil.go # ./nul1.go # android runner gets confused @@ -137,15 +137,15 @@ ken/robfor.go # ken/robfunc.go # fail ken/robif.go ken/shift.go -ken/simparray.go +#ken/simparray.go # need floating point ken/simpbool.go -ken/simpconv.go +#ken/simpconv.go # need floating point ken/simpfun.go ken/simpprint.go ken/simpswitch.go ken/simpvar.go -ken/slicearray.go -ken/sliceslice.go +#ken/slicearray.go # need floating point +#ken/sliceslice.go # need floating point ken/string.go ken/strvar.go # chan/doubleselect.go # slow @@ -209,7 +209,7 @@ fixedbugs/bug007.go fixedbugs/bug008.go fixedbugs/bug009.go fixedbugs/bug010.go -fixedbugs/bug011.go +#fixedbugs/bug011.go # need floating point fixedbugs/bug012.go fixedbugs/bug013.go fixedbugs/bug014.go |