1
0
mirror of https://github.com/golang/go synced 2024-11-25 16:07:56 -07:00
go/doc
Robert Griesemer ddddd39fc8 go spec: constant divisors must not be zero
Both gc and gccgo always checked this for constant
expressions but the spec only mentions run-time
exceptions.

This CL also requires that constant divisors
must not be zero in non-constant integer expressions:
This is consistent with the spirit of the most
recent changes and it is consistent with constant
expressions. We don't want to specify the effect for
non-integer expressions (f/0.0 where f is a float or
complex number) because there the result f/g is not
further specified if a non-constant g is 0.

R=r, rsc, iant, ken, andybalholm, iant
CC=golang-dev
https://golang.org/cl/6710045
2012-10-19 10:12:09 -07:00
..
articles doc/articles/wiki: numerous fixes 2012-10-11 13:07:34 +11:00
codewalk doc/codewalk/markov: fix the highlight range of the step "The NewChain constructor function". 2012-10-18 08:12:44 +11:00
devel doc: Remove obsolete references to weekly releases. 2012-09-23 16:18:19 -05:00
gopher doc: update reference gopher 2012-03-13 13:43:41 +11:00
play godoc: restore toy selection to playground widget 2012-10-11 09:53:37 +11:00
progs effective_go: use html/template instead of text/template 2012-09-13 13:41:13 -07:00
cmd.html doc: move /ref/cmd to /doc/cmd 2012-03-27 13:46:16 +11:00
code.html doc: fix some HTML syntax errors 2012-08-07 11:12:54 +08:00
contrib.html doc: Remove obsolete references to weekly releases. 2012-09-23 16:18:19 -05:00
contribute.html doc/contribute.html: assorted fixes 2012-10-11 23:33:57 +08:00
debugging_with_gdb.html doc: NetBSD is fully supported now 2012-10-16 16:02:56 +08:00
docs.html doc/talks: remove talks, refer to talks.golang.org instead 2012-09-21 14:38:22 -05:00
effective_go.html effective_go: s/usr/home/ in example 2012-09-23 10:44:56 +10:00
gccgo_contribute.html doc: clean up docs page, refer to wiki, change install doc paths 2012-03-05 14:31:27 +11:00
gccgo_install.html doc: general update of gccgo_install 2012-03-20 14:16:34 -07:00
go1.1.html doc/go1.1: fix metadata json format 2012-09-26 08:49:36 -07:00
go1.html old/regexp, old/template: delete. 2012-04-27 15:12:24 +10:00
go1compat.html doc: add note about import . to Go 1 compatibility notes 2012-03-06 17:50:11 -08:00
go_faq.html doc/faq: discuss virtual memory use by go processes 2012-10-11 14:21:19 +11:00
go_mem.html doc: Don't imply incorrect guarantees about data races. 2012-09-11 08:47:30 +10:00
go_spec.html go spec: constant divisors must not be zero 2012-10-19 10:12:09 -07:00
go-logo-black.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-blue.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-white.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
godocs.js doc/godoc.js: put focus on div#page when necessary 2012-10-16 14:28:18 +08:00
help.html doc: add more gophers 2012-03-06 12:50:52 +11:00
ie.css golang.org redesign 2010-09-16 14:01:02 +10:00
install-source.html doc: add important info for would-be go contributors. 2012-09-26 14:39:31 -04:00
install.html doc: NetBSD is fully supported now 2012-10-16 16:02:56 +08:00
jquery.js godoc: add jQuery to Go repository, rewrite godocs.js to use jQuery 2012-10-04 15:31:25 +10:00
logo-153x55.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
Makefile doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
reference.html website: various html fixes 2012-07-11 09:41:08 -07:00
root.html godoc: restore toy selection to playground widget 2012-10-11 09:53:37 +11:00
share.png godoc: change link styles, add 'pop out' button 2012-03-13 11:00:11 +11:00
sieve.gif repair corrupted sieve.gif 2009-10-30 10:34:01 -07:00
style.css godoc: fix site for large displays 2012-10-11 09:18:23 +11:00
tos.html doc: add Terms of Service 2012-03-27 09:27:43 +11:00