Unified Diff: src/pkg/math/floor.go
Issue 4715041 :
code review 4715041: go/printer: changed max. number of newlines from 3 to 2 (Closed)
Patch Set: diff -r 43f78423340b https://go.googlecode.com/hg/
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
misc/cgo/gmp/gmp.go
src/cmd/ebnflint/ebnflint.go
src/cmd/godoc/codewalk.go
src/cmd/godoc/dirtrees.go
src/cmd/godoc/filesystem.go
src/cmd/godoc/format.go
src/cmd/godoc/godoc.go
src/cmd/godoc/index.go
src/cmd/godoc/main.go
src/cmd/godoc/mapping.go
src/cmd/godoc/parser.go
src/cmd/godoc/snippet.go
src/cmd/godoc/spec.go
src/cmd/godoc/utils.go
src/cmd/godoc/zip.go
src/cmd/gofix/oserrorstring.go
src/cmd/gofix/signal_test.go
src/cmd/gofix/sorthelpers.go
src/cmd/gofix/sortslice.go
src/cmd/gofix/testdata/reflect.asn1.go.in
src/cmd/gofix/testdata/reflect.asn1.go.out
src/cmd/gofix/testdata/reflect.datafmt.go.in
src/cmd/gofix/testdata/reflect.datafmt.go.out
src/cmd/gofix/testdata/reflect.decode.go.in
src/cmd/gofix/testdata/reflect.decode.go.out
src/cmd/gofix/testdata/reflect.dnsmsg.go.in
src/cmd/gofix/testdata/reflect.dnsmsg.go.out
src/cmd/gofix/testdata/reflect.print.go.in
src/cmd/gofix/testdata/reflect.print.go.out
src/cmd/gofix/testdata/reflect.scan.go.in
src/cmd/gofix/testdata/reflect.scan.go.out
src/cmd/gofmt/gofmt.go
src/cmd/gofmt/gofmt_test.go
src/cmd/gofmt/rewrite.go
src/cmd/gofmt/simplify.go
src/cmd/goinstall/main.go
src/cmd/gotype/gotype.go
src/cmd/gotype/gotype_test.go
src/cmd/govet/govet.go
src/cmd/hgpatch/main.go
src/pkg/archive/tar/reader_test.go
src/pkg/asn1/asn1.go
src/pkg/big/arith.go
src/pkg/big/arith_test.go
src/pkg/big/calibrate_test.go
src/pkg/big/hilbert_test.go
src/pkg/big/int.go
src/pkg/big/int_test.go
src/pkg/big/nat.go
src/pkg/big/nat_test.go
src/pkg/big/rat.go
src/pkg/big/rat_test.go
src/pkg/bufio/bufio.go
src/pkg/bufio/bufio_test.go
src/pkg/bytes/buffer_test.go
src/pkg/bytes/bytes.go
src/pkg/bytes/bytes_test.go
src/pkg/compress/flate/deflate_test.go
src/pkg/container/heap/heap.go
src/pkg/container/heap/heap_test.go
src/pkg/container/ring/ring.go
src/pkg/container/ring/ring_test.go
src/pkg/container/vector/defs.go
src/pkg/container/vector/intvector.go
src/pkg/container/vector/intvector_test.go
src/pkg/container/vector/nogen_test.go
src/pkg/container/vector/numbers_test.go
src/pkg/container/vector/stringvector.go
src/pkg/container/vector/stringvector_test.go
src/pkg/container/vector/vector.go
src/pkg/container/vector/vector_test.go
src/pkg/crypto/ocsp/ocsp.go
src/pkg/crypto/openpgp/canonical_text_test.go
src/pkg/crypto/openpgp/packet/encrypted_key_test.go
src/pkg/crypto/openpgp/s2k/s2k_test.go
src/pkg/crypto/tls/handshake_server_test.go
src/pkg/crypto/tls/key_agreement.go
src/pkg/crypto/x509/verify.go
src/pkg/csv/reader.go
src/pkg/debug/dwarf/type_test.go
src/pkg/debug/elf/elf.go
src/pkg/debug/pe/file.go
src/pkg/ebnf/ebnf.go
src/pkg/ebnf/ebnf_test.go
src/pkg/ebnf/parser.go
src/pkg/encoding/base32/base32_test.go
src/pkg/encoding/hex/hex.go
src/pkg/exec/exec_test.go
src/pkg/exp/datafmt/datafmt.go
src/pkg/exp/datafmt/datafmt_test.go
src/pkg/exp/datafmt/parser.go
src/pkg/exp/regexp/syntax/parse.go
src/pkg/exp/regexp/syntax/prog.go
src/pkg/exp/template/funcs.go
src/pkg/exp/template/parse.go
src/pkg/exp/template/set_test.go
src/pkg/expvar/expvar.go
src/pkg/fmt/fmt_test.go
src/pkg/fmt/print.go
src/pkg/fmt/scan.go
src/pkg/go/ast/ast.go
src/pkg/go/ast/filter.go
src/pkg/go/ast/print.go
src/pkg/go/ast/print_test.go
src/pkg/go/ast/resolve.go
src/pkg/go/ast/scope.go
src/pkg/go/ast/walk.go
src/pkg/go/doc/comment.go
src/pkg/go/doc/doc.go
src/pkg/go/parser/interface.go
src/pkg/go/parser/parser.go
src/pkg/go/parser/parser_test.go
src/pkg/go/printer/nodes.go
src/pkg/go/printer/performance_test.go
src/pkg/go/printer/printer.go
src/pkg/go/printer/printer_test.go
src/pkg/go/printer/testdata/comments.golden
src/pkg/go/printer/testdata/comments.x
src/pkg/go/printer/testdata/declarations.golden
src/pkg/go/printer/testdata/expressions.golden
src/pkg/go/printer/testdata/expressions.raw
src/pkg/go/printer/testdata/parser.go
src/pkg/go/printer/testdata/statements.golden
src/pkg/go/scanner/errors.go
src/pkg/go/scanner/scanner.go
src/pkg/go/scanner/scanner_test.go
src/pkg/go/token/position.go
src/pkg/go/token/position_test.go
src/pkg/go/token/token.go
src/pkg/go/typechecker/scope.go
src/pkg/go/typechecker/type.go
src/pkg/go/typechecker/typechecker.go
src/pkg/go/typechecker/typechecker_test.go
src/pkg/go/typechecker/universe.go
src/pkg/go/types/check.go
src/pkg/go/types/check_test.go
src/pkg/go/types/const.go
src/pkg/go/types/exportdata.go
src/pkg/go/types/gcimporter.go
src/pkg/go/types/gcimporter_test.go
src/pkg/go/types/testdata/exports.go
src/pkg/go/types/types.go
src/pkg/go/types/universe.go
src/pkg/gob/codec_test.go
src/pkg/gob/debug.go
src/pkg/http/cgi/host_test.go
src/pkg/http/client.go
src/pkg/http/triv.go
src/pkg/http/url.go
src/pkg/index/suffixarray/qsufsort.go
src/pkg/index/suffixarray/suffixarray.go
src/pkg/index/suffixarray/suffixarray_test.go
src/pkg/io/ioutil/ioutil_test.go
src/pkg/json/decode.go
src/pkg/math/acosh.go
src/pkg/math/asin.go
src/pkg/math/asinh.go
src/pkg/math/atanh.go
src/pkg/math/erf.go
src/pkg/math/exp_port.go
src/pkg/math/expm1.go
src/pkg/math/floor.go
src/pkg/math/fmod.go
src/pkg/math/log1p.go
src/pkg/math/sin.go
src/pkg/math/sinh.go
src/pkg/math/tan.go
src/pkg/math/tanh.go
src/pkg/mime/multipart/multipart.go
src/pkg/net/dnsclient_unix.go
src/pkg/net/dnsmsg.go
src/pkg/net/fd_windows.go
src/pkg/net/interface_windows.go
src/pkg/net/ipraw_test.go
src/pkg/os/env_unix.go
src/pkg/os/file_plan9.go
src/pkg/os/inotify/inotify_linux.go
src/pkg/os/inotify/inotify_linux_test.go
src/pkg/os/os_test.go
src/pkg/os/path.go
src/pkg/os/proc.go
src/pkg/os/stat_plan9.go
src/pkg/os/sys_linux.go
src/pkg/os/sys_plan9.go
src/pkg/os/time.go
src/pkg/reflect/all_test.go
src/pkg/reflect/type.go
src/pkg/rpc/client.go
src/pkg/rpc/server.go
src/pkg/scanner/scanner.go
src/pkg/scanner/scanner_test.go
src/pkg/sort/search.go
src/pkg/sort/search_test.go
src/pkg/sort/sort.go
src/pkg/sort/sort_test.go
src/pkg/strconv/atoi.go
src/pkg/strings/reader.go
src/pkg/strings/strings.go
src/pkg/strings/strings_test.go
src/pkg/sync/mutex_test.go
src/pkg/syscall/exec_unix.go
src/pkg/syscall/syscall_darwin.go
src/pkg/syscall/syscall_freebsd.go
src/pkg/syscall/syscall_plan9.go
src/pkg/syscall/syscall_unix.go
src/pkg/syscall/zerrors_darwin_386.go
src/pkg/syscall/zerrors_darwin_amd64.go
src/pkg/syscall/zerrors_freebsd_386.go
src/pkg/syscall/zerrors_freebsd_amd64.go
src/pkg/syscall/zerrors_linux_386.go
src/pkg/syscall/zerrors_linux_amd64.go
src/pkg/syscall/zerrors_linux_arm.go
src/pkg/syscall/zerrors_plan9_386.go
src/pkg/tabwriter/tabwriter.go
src/pkg/tabwriter/tabwriter_test.go
src/pkg/template/template_test.go
src/pkg/testing/iotest/reader.go
src/pkg/testing/testing.go
src/pkg/time/zoneinfo_unix.go
src/pkg/unicode/casetables.go
src/pkg/unicode/maketables.go
src/pkg/unicode/tables.go
src/pkg/websocket/server.go
src/pkg/xml/xml.go
src/pkg/xml/xml_test.go
Index: src/pkg/math/floor.go
===================================================================
--- a/src/pkg/math/floor.go
+++ b/src/pkg/math/floor.go
@@ -4,7 +4,6 @@
package math
-
// Floor returns the greatest integer value less than or equal to x.
//
// Special cases are: