diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-16 01:24:44 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-16 01:24:44 +0900 |
| commit | da39936ce165ea9462b9e192eb6b608485c94842 (patch) | |
| tree | 8e7c2b3dc6b030bd3cd8d2cb8164cd9280340276 /kernel.rb | |
| parent | be98bfc4ee3a635315daaac4dae5093ccb107d11 (diff) | |
Prefer integer as base of intermediate logarithms
As long as "floating point numbers" cannot accurately represent an
irrational number, the result of the natural logarithm cannot be
accurate. Logarithms with an integer base may have the possibility to
represent more accurately.
Notes
Notes:
commits
Merged: https://github.com/ruby/ruby/pull/8082
Diffstat (limited to 'kernel.rb')
0 files changed, 0 insertions, 0 deletions
