Project

General

Profile

Bug #10576

[DOC] Several fixes for the BigDecimal documentation

Added by stomar (Marcus Stollsteimer) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 2.1.5p273 (2014-11-13 revision 48405) [i686-linux]
[ruby-core:66730]

Description

Patch 1:

Clarify the return value types of abs, fix, and frac.

(They return the results as a BigDecimal; targeted against misunderstandings like issue #10569).

Patch 2:

Several fixes for the BigDecimal documentation:

  • fix broken labeled lists,
  • fix formatting of code examples,
  • fix/improve some call-seq's,
  • small improvements.

Files

doc_bigdecimal_p1.patch (760 Bytes) doc_bigdecimal_p1.patch patch 1 stomar (Marcus Stollsteimer), 12/06/2014 01:52 PM
doc_bigdecimal_p2.patch (6.22 KB) doc_bigdecimal_p2.patch patch 2 (apply after patch 1) stomar (Marcus Stollsteimer), 12/06/2014 01:52 PM
doc_bigdecimal_p3.patch (1.02 KB) doc_bigdecimal_p3.patch patch 3 stomar (Marcus Stollsteimer), 12/06/2014 07:14 PM

Associated revisions

Revision 60c580fd
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists, code examples etc. [ruby-core:66730][Bug #10576][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49219
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists, code examples etc. [ruby-core:66730][Bug #10576][ci skip]

Revision 49219
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists, code examples etc. [ruby-core:66730][Bug #10576][ci skip]

Revision 49219
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists, code examples etc. [ruby-core:66730][Bug #10576][ci skip]

Revision 49219
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists, code examples etc. [ruby-core:66730][Bug #10576][ci skip]

Revision 49219
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists, code examples etc. [ruby-core:66730][Bug #10576][ci skip]

History

Updated by stomar (Marcus Stollsteimer) over 4 years ago

Patch 3:

Improve documentation for #round and #truncate.

Updated by hsbt (Hiroshi SHIBATA) over 4 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r49219.


  • ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists, code examples etc. [ruby-core:66730][Bug #10576][ci skip]

Also available in: Atom PDF