Feature #10255 » NEWS_ Update for Math.log.PATCH
| NEWS | ||
|---|---|---|
| * Math | ||
|   * incompatible changes: | ||
|     * Math.log now raises Math::DomainError instead of returning NaN if the | ||
|       base is less than 0, and returns NaN instead of -infinity if both of | ||
|       two arguments are 0. | ||
|     * Math.log now raises Math::DomainError unless the base is positive number except 1. | ||
|     * Math.atan2 now returns values like as expected by C99 if both two | ||
|       arguments are infinity. | ||