diff --git a/ChangeLog b/ChangeLog index 572d1f8071..b245074cb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Jun 15 10:19:42 2013 Zachary Scott + + * ext/bigdecimal/bigdecimal.c: Update overview formatting of headers + Sat Jun 15 10:19:06 2013 Zachary Scott * ext/bigdecimal/bigdecimal.gemspec: Update authors diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 95d74b98c2..360a3e79d9 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -2948,15 +2948,7 @@ get_vp_value: /* Document-class: BigDecimal * BigDecimal provides arbitrary-precision floating point decimal arithmetic. * - * Copyright (C) 2002 by Shigeo Kobayashi . - * - * You may distribute under the terms of either the GNU General Public - * License or the Artistic License, as specified in the README file - * of the BigDecimal distribution. - * - * Documented by mathew . - * - * = Introduction + * == Introduction * * Ruby provides built-in support for arbitrary precision integer arithmetic. * @@ -2996,12 +2988,12 @@ get_vp_value: * * (1.2 - 1.0) == 0.2 #=> false * - * = Special features of accurate decimal arithmetic + * == Special features of accurate decimal arithmetic * * Because BigDecimal is more accurate than normal binary floating point * arithmetic, it requires some special values. * - * == Infinity + * === Infinity * * BigDecimal sometimes needs to return infinity, for example if you divide * a value by zero. @@ -3013,7 +3005,7 @@ get_vp_value: * 'Infinity', '+Infinity' and * '-Infinity' (case-sensitive) * - * == Not a Number + * === Not a Number * * When a computation results in an undefined value, the special value +NaN+ * (for 'not a number') is returned. @@ -3030,7 +3022,7 @@ get_vp_value: * n == 0.0 #=> nil * n == n #=> nil * - * == Positive and negative zero + * === Positive and negative zero * * If a computation results in a value which is too small to be represented as * a BigDecimal within the currently specified limits of precision, zero must @@ -3052,6 +3044,19 @@ get_vp_value: * * Note also that in mathematics, there is no particular concept of negative * or positive zero; true mathematical zero has no sign. + * + * == License + * + * Copyright (C) 2002 by Shigeo Kobayashi . + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file + * of the BigDecimal distribution. + * + * Maintained by mrkn and ruby-core members. + * + * Documented by zzak , mathew , and + * many other contributors. */ void Init_bigdecimal(void)