diff --git a/ChangeLog b/ChangeLog index a145661e48..20797d72db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -49,7 +49,7 @@ Wed Apr 13 15:56:35 2016 Nobuyoshi Nakada well as Float#round. [Feature #12245] * numeric.c (flo_floor): add an optional parameter, digits, as - well as Integer#floor. [Feature #12245] + well as Float#round. [Feature #12245] * numeric.c (int_ceil): add an optional parameter, digits, as well as Integer#round. [Feature #12245] diff --git a/NEWS b/NEWS index 6db0b7d078..80dda64527 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,7 @@ with all sufficient information, see the ChangeLog file or Redmine === Core classes updates (outstanding ones only) * Array + * Array#max and Array#min. [Feature #12172] This may cause a tiny incompatibility: if you redefine Enumerable#max and call max to an Array, your redefinition will be @@ -35,6 +36,16 @@ with all sufficient information, see the ChangeLog file or Redmine * File.empty?. [Feature #9969] +* Float + + * Float#ceil and Float#floor now take an optional digits, as well as + Float#round. [Feature #12245] + +* Integer + + * Integer#ceil and Integer#floor now take an optional digits, as well + as Integer#round. [Feature #12245] + * String * String.new(capacity: size) [Feature #12024] @@ -50,9 +61,11 @@ with all sufficient information, see the ChangeLog file or Redmine === Stdlib updates (outstanding ones only) * CSV + * Add a liberal_parsing option. [Feature #11839] * optparse + * Add an into option. [Feature #11191] === Stdlib compatibility issues (excluding feature bug fixes)