From: kjmhng.jmhnbgf.13@...
Date: 2021-04-01T07:48:02+00:00
Subject: [ruby-core:103146] [Ruby master Bug#4394] Bug in floating point multiplication
Issue #4394 has been updated by Sela (Sela Sela).
������������ ������������!
�������������� ���������������� ���������������� �������� �� �������������� ��������������?
������������������������ ������ �������� ���������� .
�������������������� �������������������� �������������������� �������������� ������������ �������������������� ���������� ���� ���������� ���� ������������, �������������� ������ ����������������������!
���������������������� ���������� ���������������������� ���������� 6000 ������������������ ������������.
������������ ����������������������, �� ���� �������������� ������ �� ��������!
----------------------------------------
Bug #4394: Bug in floating point multiplication
https://bugs.ruby-lang.org/issues/4394#change-91220
* Author: philomath (Stefan Lembach)
* Status: Rejected
* Priority: Normal
* ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
I stumbled upon the following odd rounding error in Float multiplication while using irb to calculate the tip for the pizza service ;-):
12.4 * 1.05 yields 13.020000000000001, but should be 13.02
--
https://bugs.ruby-lang.org/
Unsubscribe: