Adjust behaviour of gcd
authorDaniel Fischer <daniel.is.fischer@googlemail.com>
Tue, 17 May 2011 20:53:40 +0000 (22:53 +0200)
committerAdam Megacz <megacz@cs.berkeley.edu>
Mon, 20 Jun 2011 02:04:27 +0000 (19:04 -0700)
commit7a97ec4b12e1fbec5505f82032cf4dc435b5a60c
tree4b8925ad3f75b13896912ed8be367b6b1fee6a93
parent00e51b0132c947f6b6eb548d968bf377384151ca
Adjust behaviour of gcd

Change behaviour of 'gcd 0 0' from raising an exception to
returning 0 to make it total and conform to mathematical practice.
GHC/Real.lhs