1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/bigdecimal/bigdecimal.c: Update overview formatting of headers

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-06-15 01:20:27 +00:00
parent 184eaedb3a
commit 54a22fb8c7
2 changed files with 22 additions and 13 deletions

View file

@ -1,3 +1,7 @@
Sat Jun 15 10:19:42 2013 Zachary Scott <zachary@zacharyscott.net>
* ext/bigdecimal/bigdecimal.c: Update overview formatting of headers
Sat Jun 15 10:19:06 2013 Zachary Scott <zachary@zacharyscott.net> Sat Jun 15 10:19:06 2013 Zachary Scott <zachary@zacharyscott.net>
* ext/bigdecimal/bigdecimal.gemspec: Update authors * ext/bigdecimal/bigdecimal.gemspec: Update authors

View file

@ -2948,15 +2948,7 @@ get_vp_value:
/* Document-class: BigDecimal /* Document-class: BigDecimal
* BigDecimal provides arbitrary-precision floating point decimal arithmetic. * BigDecimal provides arbitrary-precision floating point decimal arithmetic.
* *
* Copyright (C) 2002 by Shigeo Kobayashi <shigeo@tinyforest.gr.jp>. * == Introduction
*
* 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 <meta@pobox.com>.
*
* = Introduction
* *
* Ruby provides built-in support for arbitrary precision integer arithmetic. * Ruby provides built-in support for arbitrary precision integer arithmetic.
* *
@ -2996,12 +2988,12 @@ get_vp_value:
* *
* (1.2 - 1.0) == 0.2 #=> false * (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 * Because BigDecimal is more accurate than normal binary floating point
* arithmetic, it requires some special values. * arithmetic, it requires some special values.
* *
* == Infinity * === Infinity
* *
* BigDecimal sometimes needs to return infinity, for example if you divide * BigDecimal sometimes needs to return infinity, for example if you divide
* a value by zero. * a value by zero.
@ -3013,7 +3005,7 @@ get_vp_value:
* <code>'Infinity'</code>, <code>'+Infinity'</code> and * <code>'Infinity'</code>, <code>'+Infinity'</code> and
* <code>'-Infinity'</code> (case-sensitive) * <code>'-Infinity'</code> (case-sensitive)
* *
* == Not a Number * === Not a Number
* *
* When a computation results in an undefined value, the special value +NaN+ * When a computation results in an undefined value, the special value +NaN+
* (for 'not a number') is returned. * (for 'not a number') is returned.
@ -3030,7 +3022,7 @@ get_vp_value:
* n == 0.0 #=> nil * n == 0.0 #=> nil
* n == n #=> 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 * 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 * 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 * Note also that in mathematics, there is no particular concept of negative
* or positive zero; true mathematical zero has no sign. * or positive zero; true mathematical zero has no sign.
*
* == License
*
* Copyright (C) 2002 by Shigeo Kobayashi <shigeo@tinyforest.gr.jp>.
*
* 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 <mrkn@mrkn.jp> and ruby-core members.
*
* Documented by zzak <zachary@zacharyscott.net>, mathew <meta@pobox.com>, and
* many other contributors.
*/ */
void void
Init_bigdecimal(void) Init_bigdecimal(void)