[#75225] [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7) — k@...
Issue #12324 has been reported by Kazuki Yamaguchi.
6 messages
2016/04/27
[#78693] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
k@rhe.jp wrote:
[#78701] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Kazuki Yamaguchi <k@...>
2016/12/17
On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
[#78702] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
Kazuki Yamaguchi <k@rhe.jp> wrote:
[ruby-core:74804] [Ruby trunk Feature#12245] optional parameter ndigits to Integer#floor, Integer#ceil, Float#floor, Float#ceil
From:
shevegen@...
Date:
2016-04-04 13:53:03 UTC
List:
ruby-core #74804
Issue #12245 has been updated by Robert A. Heiler. I think that would make sense. I usually add an extra method call afterwards to round it manually (or, if not .round then to use it as a string and sprintf, % or .ljust / .rjust output it). I should also note that newcomers often ask on IRC how to round / display something properly, so anything that may be of help here, is good I think. (It will be typical question such as how to display a float like 3.0 as 3.000, if only for properly padded output with other float values that will have 3 slots past the . like 2.983 and so on) ---------------------------------------- Feature #12245: optional parameter ndigits to Integer#floor, Integer#ceil, Float#floor, Float#ceil https://bugs.ruby-lang.org/issues/12245#change-57929 * Author: Nobuyoshi Nakada * Status: Open * Priority: Normal * Assignee: ---------------------------------------- Related to [Feature #12244]. I think that `Integer#floor`, `Integer#ceil`, `Float#floor`, and `Float#ceil` should have optional parameter `ndigits`, as well as `round` methods. https://github.com/ruby/ruby/compare/trunk...nobu:feature/Integer%23floor-ndigits https://github.com/ruby/ruby/compare/trunk...nobu:feature/Integer%23ceil-ndigits https://github.com/ruby/ruby/compare/trunk...nobu:feature/Float%23floor-ndigits https://github.com/ruby/ruby/compare/trunk...nobu:feature/Float%23ceil-ndigits -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>